Changing commands in menus and toolbars
You can add and delete existing commands on the menus and toolbars using clipboard-style operations.
To add a new command to a menu or toolbar:
- Choose Tools | Global Options... from the main menu.
- In the Global Options window, expand the
Actions
node and then the appropriate category node.- Select the action you want to add and choose Copy from the Edit menu or contextual menu or by keyboard shortcut.
- Under the
Menu
(orToolbars
) node in the same window, select the subnode for the menu or toolbar under which you would like to place the command.- Choose Paste | Copy from either the Edit menu or contextual menu.
To move a command to a different menu or toolbar:
- In the Global Options window, expand the
Menu
orToolbars
node and navigate to the command you want to move.- Select the action you want to move and choose Cut from the Edit menu or contextual menu or by keyboard shortcut.
- Under the
Menu
(orToolbars
) node, select the subnode for the menu or toolbar under which you would like to place the command.- Choose Paste from either the Edit menu or contextual menu or by keyboard shortcut.
Note: If you delete a command supplied with Forte for Java from the default menus or toolbars, it is not completely deleted from the IDE. You can restore a command to a menu or toolbar by copying it from the
Actions
hierarchy in the Global Options window (where all available commands are stored) and pasting it to a menu (listed underMenu
) or toolbar (Toolbars
) in the same window.To group related menu commands with a separator:
- Choose Tools | Global Options... from the main menu.
- In the Global Options window, navigate to the node of the desired parent container under
Menu
.- Right-click on the node and choose New | Menu Separator from the contextual menu.
- Enter a name for the separator in the dialog box that appears and click OK.
The menu separator will appear as the last item in the menu.
To change the order of commands within their parent container:
- In the
Menu
(orToolbars
) hierarchy of the Global Options window, select the command you want to move, and move it using the Move Up or Move Down command in the contextual menu; or- In the
Menu
(orToolbars
) hierarchy of the same window, select the parent container and choose Change Order from its contextual menu. A dialog box will appear which will enable you to rearrange the commands by dragging and dropping with the mouse or by using the Move Up and Move Down buttons on them.
Contents | Prev | Next | Index |