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.
Summary: | Cannot remove Compile/Build from RootFolderNode | ||
---|---|---|---|
Product: | platform | Reporter: | Petr Hrebejk <phrebejk> |
Component: | -- Other -- | Assignee: | Jesse Glick <jglick> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | jglick, jtulach, tonybeau |
Priority: | P2 | ||
Version: | 3.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | 20895 | ||
Bug Blocks: | 17815 |
Description
Petr Hrebejk
2002-02-26 16:30:35 UTC
Target milestone was changed from '3.4' to TBD. Target milestone was changed from '3.4' to TBD. As Tony asked on dev@openide, by the same token it is hard to *add* to this context menu. Depends on Looks for configurability, I guess. Probably RootFolderNode should be made a FilterNode and override the bare minimum. For starters, the getActions method should call super.getActions and merge in/out things it cares about. This would mean at least that if you took the actions off regular FolderNode's using the DataLoader.setActions hack (see issue #20895), at least it would work on root folders too - currently it is quite impossible. Part of the new datasystem/actions activities --> target milestone 4.0. Issue #19443 should solve this at some point. Mine too. See issue #19443. Enough of issue #19443 implemented for this purpose. I will anyway make RootFolderNode get its actions from the regular folder list and just add/remove what it needs, rather than hardcoding the full list. |