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: | API to remove document group contextual menu | ||
---|---|---|---|
Product: | platform | Reporter: | tdanard |
Component: | Window System | Assignee: | Stanislav Aubrecht <saubrecht> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.1.2 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 223979 | ||
Attachments: | Screenshot showing the contextual menu to remove programmatically |
Created attachment 121910 [details] Screenshot showing the contextual menu to remove programmatically I couldn't find an API to remove the contextual menu that appears when clicking in the top component group header (see attached snapshot). This contextual menu is not relevant for several reasons: - it uses the term of "Documents". This term is domain-specific and doesn't apply to my application - it is redundant with the contextual menu options when right-clicking a top component's tab. I am aware that I can remove some of the options by customizing the "Window System" branding options, but I cannot remove them all. The "Clone Document", "New Document Tab Group" and "Collapse Document Tab Group" options still remain regardless of which "Window System" options have been removed. Ideally, what I need is an option to remove the contextual menu, but not necessarily disable the options that this contextual menu gives access to. I can already customize the contextual menu items for top components, why not top component groups ?