Modeling toolbar
The Modeling toolbar is only visible if a Model Editor window is open in the workspace. This toolbar is dynamic; the availability of toolbar buttons depends on the type of model open in the active Model Editor window or the type of model selected in the active Model Editor window.

-
- Select Tool
- Switches the cursor back to normal selection mode. This toolbar button is active if at least one Model Editor window is open.

-
- Zoom Tool
- Switches the cursor to zoom mode. You can zoom in on a section of the model with a left-click or by selecting a zoom level from the context menu while the cursor is in zoom mode. This toolbar button is always active if at least one Model Editor window is open.

-
- Pan Tool
- Switch to the pan mode. In pan mode, you can grab the model background to move the model in all directions. This toolbar button is always active if at least one Model Editor window is open.
The following toolbar buttons are only available in the Modeling toolbar if the model in the active Model Editor window is of type library, system, module or primitive. A different set of toolbar buttons is used for Model Editor windows that deal with FSM models. Most toolbar buttons are only active if you have write access to the model. Furthermore these toolbar buttons change the cursor mode, to switch the cursor back to normal mode, click the Select Tool button or right-click anywhere in the workspace.

-
- Add Instance
- Switches the cursor to instance creation mode. In instance creation mode, you can create new model instances at the current cursor position with a mouse click.

-
- Add Input Port
- Switches to input port creation mode. In input port creation mode, you can create new input ports at the current cursor position.

-
- Add Output Port
- Switches to output port creation mode. In output port creation mode, you can create new output ports at the current cursor position.

-
- Add Event
- Switches to event creation mode. In event creation mode, you can create new event objects at the current cursor position.

-
- Add Memory
- Switches to memory creation mode. In memory creation mode, you can create new memory objects at the current cursor position.

-
- Add Resource
- Switches to resource creation mode. In resource creation mode, you can create new resource objects at the current cursor position.

-
- Connect
- Switches to connection mode. In connection mode, you can connect model instances. To start a connection left-click on a port or relation (you can create edges in the connection with further left-clicks and revert them with right-clicks). To complete a connection left-click on the target port or relation.

-
- Add Non-initializable Delay
- Switches to delay property creation mode. In delay property creation mode, you can create delay properties at the current cursor position.

-
- Add Initializable Delay
- Switches to delay property creation mode. In delay property creation mode, you can create initializable delay properties at the current cursor position.

-
- Add Bus
- Switches to bus property creation mode. In bus property creation mode, you can create bus properties at the current cursor position.

-
- Add Text Label
- Switches to text label creation mode. In text label creation mode, you can create new text labels at the current cursor position.
The following toolbar buttons are available for FSM models. These toolbar buttons are specialized for dealing with FSM models and are only active if you have write access to the FSM model.

-
- Add State
- Switch to FSM state creation mode. In FSM state creation mode, you can create new FSM states. The properties of the new states can be changed using the Property Editor.

-
- Add Transition
- Switches to FSM transition creation mode. In FSM transition creation mode, every time you click on a state, a transition is created or completed. After the creation of an FSM transition, the transition properties must be set using the Property Editor.

-
- Add History
- Switches to FSM history creation mode. In FSM history creation mode, you can create new FSM histories. The properties of the new histories can be changed using the Property Editor.

-
- Add Default Entrance
- Switches to FSM default entrance creation mode. In FSM default entrance creation mode, you can create new FSM default entrances. The properties of the new default entrances can be changed using the Property Editor.
The availability of the following toolbar buttons depends on the type of model open in the active Model Editor window.

-
- Open Source
- Opens the primitive source file. MLDesigner opens the primitive source code within a primitive editor. This editor is a text editor that provides you with editing capabilities such as syntax highlighting and primitive specific functions. This toolbar button is only available if the model in the active Model Editor window is a primitive model.

-
- Compile Source
- Compile the primitive source file. This toolbar button is only available if the model in the active Model Editor window is a primitive model.

-
- Model Check
- Checks the model in the active Model Editor window for semantic errors.

-
- Switch to Simulation Mode
- Enters the Simulation Mode, that is, further toolbar buttons are available to control the simulation (see Simulation with MLDesigner), further panels appear in the Console View, and the Simulation Properties panel becomes available in the Property Editor. This toolbar button is only available if the model in the active Model Editor window is a system model.