This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 48765 - Remove action wrapper classes
Summary: Remove action wrapper classes
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 4.x
Hardware: All All
: P4 blocker (vote)
Assignee: Petr Hrebejk
URL:
Keywords: PERFORMANCE
Depends on: 45137
Blocks: 41535
  Show dependency tree
 
Reported: 2004-09-09 12:46 UTC by _ rkubacki
Modified: 2006-03-24 10:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ rkubacki 2004-09-09 12:46:04 UTC
There are couple of action classes that extends
CallableSystemAction like
org.netbeans.modules.project.ui.actions.Actions$SystemNewFile
needed because data loaders do not accept Swing
actions. Similar wrappers are in Java and Web
projects. 

As a result we have more classes in the IDE. Two
instances of
org.netbeans.modules.project.ui.actions.NewFile
both listening to OpenProjectList.
Comment 1 Jesse Glick 2004-09-09 16:52:44 UTC
But what do you suggest be done about it? AFAIK these are necessary.
Comment 2 Petr Hrebejk 2004-09-09 17:05:52 UTC
Just a reminder to do it after Loaders will accept swing Actions, I think.
Comment 3 Petr Hrebejk 2005-03-29 10:40:34 UTC
Checking in src/org/netbeans/modules/project/ui/actions/Actions.java;
/cvs/projects/projectui/src/org/netbeans/modules/project/ui/actions/Actions.java,v
 <--  Actions.java
new revision: 1.18; previous revision: 1.17
done
Checking in src/org/netbeans/modules/project/ui/resources/layer.xml;
/cvs/projects/projectui/src/org/netbeans/modules/project/ui/resources/layer.xml,v
 <--  layer.xml
new revision: 1.50; previous revision: 1.49
done
Comment 4 Marian Mirilovic 2005-12-20 15:58:05 UTC
This issue was solved long time ago. Because nobody has reopened it neither
added comments, we are verifying/closing it now. 
If you are still able to reproduce the problem, please reopen. Thanks in advance.