The action bar name in the property key defines in which action bar the action is inserted.
In the following example, we insert the file opening action, located in the menuBar
by default, into the toolBar
as well.
Program: Inserting the file opening action into the tool bar.
includeConfig=lucy/lspmap/TLcyLspMapAddOn_MapComponent.cfg
TLcyLspMapAddOn.openFileAction.toolBar.item = Open
The result of this modification is:

Figure 1. The open action is added to the tool bar at the far right.
See How to remove an item from an action bar? for the detailed steps to retrieve the correct ID of the action and action bar, and to retrieve the path of the configuration file. |