Bruce Schubert
|
Posted: October 06, 2010 12:31 by Bruce Schubert
|
|
I added a new NetBeans Platform module to the Campbell Prediction System named Emxsys - CPS Branding. The purpose of this module is to centralize the hiding or renaming of menu and toolbar items in the suite's combined layer.xml files. This is an empty module save for its layer.xml file. To perform the layer.xml editing on behalf of the entire application, simply open this module in the NetBeans Project window and navigate to the Important Files > XML Layer > <this layer in context>. From here, you can edit or delete items in the suite's Actions, Menu Bar and Toolbars. Note that changed items appear in bold, making it easy to identify the customizations. In this application, I have deleted the Edit and Navigate items from the Menu Bar as these items are not used in the application (yet). As a result, in this module's layer.xml file, these menu items have been marked as hidden. Here's what the layer.xml looks like as a result of the editing:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.2//EN" "http://www.netbeans.org/dtds/filesystem-1_2.dtd">
<filesystem>
<folder name="Menu">
<file name="Edit_hidden"/>
<file name="GoTo_hidden"/>
</folder>
</filesystem>
-- Bruce Emxsys.com |
Added CPS Branding module
Replies: 0 - Last Post: October 06, 2010 12:31
by: Bruce Schubert
by: Bruce Schubert
showing 1 - 1 of 1
Replies: 0 - Last Post: October 06, 2010 12:31
by: Bruce Schubert
by: Bruce Schubert






