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.
Subnodes variables, methods, constructors,... of class file node have enabled copy action although it does not have sense.
I suggest to solve it by diabling copy action by this patch: Index: openide/src/org/openide/src/nodes/DefaultFactory.java =================================================================== RCS file: /cvs/openide/src/org/openide/src/nodes/DefaultFactory.java,v retrieving revision 1.25 diff -r1.25 DefaultFactory.java 276a277,283 > > /** Factory node cannot be copied > * @return <code>false</code> > */ > public boolean canCopy () { > return false; > } 278d284 <
Actually, I've removed Copy action from the list of actions provided by the node. Thanks, Tomas.
[010201_1] Verified
Resolved for 3.3.x or earlier, no new info since then -> closing.