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 112140 - Outline: Cut Operation should be greyed out
Summary: Outline: Cut Operation should be greyed out
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P4 blocker (vote)
Assignee: _ sandipchitale
Depends on:
Reported: 2007-08-07 02:12 UTC by _ krystyna
Modified: 2007-08-27 19:18 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description _ krystyna 2007-08-07 02:12:31 UTC
XP, MacIntel

Cut Operation on a node in Outline is a NO-OP. The popup menu item for Ctrl -X (Command -X) option should be greyed out.
Comment 1 Peter Zavadsky 2007-08-10 00:36:27 UTC
This is NB explorer issue.
Comment 2 Petr Nejedly 2007-08-10 10:17:26 UTC
What's wrong with explorer?
The Cut action is enabled when the node.canCut()
If you have foreign nodes and can't control their canCut, still want to prevent cutting in your own explorer, you could
probably override the behavior of ExplorerActions. 
Comment 3 Peter Zavadsky 2007-08-10 17:32:16 UTC
I misinterpreted this. I thought it is about graying out of the cut node (not the menu item) to provide a feedback.
I'll have a look at it.
Comment 4 Peter Zavadsky 2007-08-27 19:18:23 UTC
This belongs to the node impl, if the cut is not allowed it should override the corresponding method disabling the
action. Passing to insync - DesignBeanNode.