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 215377 - API to remove document group contextual menu
Summary: API to remove document group contextual menu
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 7.1.2
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks: 223979
  Show dependency tree
 
Reported: 2012-07-10 19:36 UTC by tdanard
Modified: 2012-12-18 13:36 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Screenshot showing the contextual menu to remove programmatically (7.57 KB, image/png)
2012-07-10 19:36 UTC, tdanard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tdanard 2012-07-10 19:36:01 UTC
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 ?