Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 179431 - Non closeable toolbars
Non closeable toolbars
Status: NEW
Product: platform
Classification: Unclassified
Component: Window System
6.x
All All
: P3 with 3 votes (vote)
: TBD
Assigned To: issues@platform
issues@platform
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-01-12 10:32 UTC by aldobrucale
Modified: 2011-07-18 10:21 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
:


Attachments
Add the "closeable" attribute to Toolbars (9.23 KB, patch)
2010-01-13 07:59 UTC, aldobrucale
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description aldobrucale 2010-01-12 10:32:19 UTC
I got a request from a customer to include a small logo in the user interface of a nb platform based application. The logo should always be visible, and it should not be possible for the user to hide it. 

A small label in the toolbar would be perfect (I have aligned it on the right) but the toolbar popup menu allows the user to hide it. I would like to be able to specify in layer.xml that a toolbar should not be closeable by the user.
Comment 1 aldobrucale 2010-01-13 07:59:04 UTC
Created attachment 93254 [details]
Add the "closeable" attribute to Toolbars

This patch adds the "closeable" attribute to the toolbar configuration files (e.g. Standard.xml). The attribute is then used in ToolbarConfiguration.fillToolbarsMenu().
Comment 2 andreagualano 2011-07-18 10:21:36 UTC
I have been including this patch in my application for quite a long time.
Is there any chance of getting it integrated?
Is there any work (changes/enhancements) that can be done on this patch to improve its chances of being integrated?
Or is there any workaround to achieve the same result (a toolbar that the user cannot hide) without patching the platform?


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo