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 7405 - Improper copy item in popup menu
Summary: Improper copy item in popup menu
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC All
: P4 minor (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-08-16 15:54 UTC by Petr Slegr
Modified: 2003-06-30 16:44 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 Petr Slegr 2000-08-16 15:54:31 UTC
Subnodes variables, methods, constructors,... of class file node have enabled
copy action although it does not have sense.
Comment 1 Tomas Hurka 2001-01-12 13:18:59 UTC
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
<
Comment 2 Svata Dedic 2001-01-15 14:28:59 UTC
Actually, I've removed Copy action from the list of actions provided by the
node. Thanks, Tomas.
Comment 3 Jan Becicka 2001-02-02 13:27:59 UTC
[010201_1] Verified
Comment 4 Quality Engineering 2003-06-30 16:44:00 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.