Reorganizing the elements in the Add New menu
You can reorganize the groups and their elements located in the Add New menu.
About this task
If there are groups or elements that you do not use by project, you can reorganize this section of the Add New menu to list only those groups/elements that you want to use.
To reorganize the Add New menu,
use the following properties in General::Model
:
SubmenuList
Submenu1List
Submenu1Name
Submenu2List
Submenu2Name
Submenu3List
Submenu3Name
Submenu4List
Submenu4Name
A definition for each property displays on the Properties tab of the Features window.
The following example shows how you could reorganize the groups and their elements located on the Add New menu. In this scenario, you want to show only the activity diagram, flowchart, and panel diagram in the Diagrams group of the Add New menu for your project. In addition, you want to remove the Tables and Charts group.
Procedure
- Open your project.
- Open the Features window. Choose .
- Locate
General::Model::Submenu1List
.
This property is associated with theSubmenu1Name
property, which has a value of Diagrams. - Type
ActivityDiagram
, Flowchart, andPanelDiagram
as the values forSubmenu1List
. - Click OK.
- Locate
General::Model::SubmenuList
.
This property controls what submenu groups are displayed on the Add New menu. - Delete
Submenu3
from the values entered for theSubmenuList
property.
Submenu3
specifies the Tables and Charts submenu that can display on the Add New menu. - To confirm your changes, right‑click a package
in your project and select Add New. Only those
diagram types you entered in
Submenu1List
display, as long as they are applicable to your project. Meaning, if a flowchart is not applicable to your project, that choice does not display on the Add New menu under the Diagrams category. In addition, the Tables and Charts submenu item no longer displays on the Add New menu.
Results
Note the following information:
- Whatever element that is removed from a group from the Add New menu will show in the middle section of the Add New menu if it is relevant for your project. When you remove a group, all the elements in that group is displayed in the middle section of the Add New menu. Elements must display somewhere if they are valid elements for your project.
- The
Submenu1List
andSubmenu1Name
properties are also used by . When you edit theSubmenu1List
, to have it take effect on , you must save your project, close it, and then open it again. In addition, if you delete theSubmenu1
value from theSubmenuList
property, all the Rhapsody® diagram choices display in the Tools menu, instead of under (after you save your project and open it again). - If the
AddNewMenuStructure
property is in use, that property overrides the properties mentioned in this topic.