Model CenterClass Window

Introduction | Class Browser | Class Window | Graphical Views | Modelica Text View | Component Browser | Variable Views | Reliability View | Messages View | Kernel Command View | Documentation Center | Functional Mock-up Interface | Keyboard Shortcuts | Kernel Commands

Class windows use three views to represent different aspects of a class:

Specifying a Preferred View

The default view of the class window, when a class window is opened, is determined by the class specialization. For example, the default view of a package is the Icon View, while the default view of a model is the Diagram View. The default view for a specific class can be overridden. This is done from the Class Properties dialog, reachable by right-clicking any empty space in the Icon View or the Diagram View of the class and choosing Class Properties from the popup menu.

Switching between Windows

It is possible to have several class windows open at the same time. A list of open class windows is found in the Window menu. By clicking one of the window titles in the menu, the window will become the active class window.

A more convenient way of switching between open class windows is to use the Ctrl+Tab and Ctrl+Shift+Tab combination of keys. A list of all open class windows appears as soon as Tab is pressed with Ctrl down.

3.gif

Selecting an active class window using the class window switcher.

The list of windows is kept in an order with the most recently used window at the top. While Ctrl is down, Tab may be pressed and released repeatedly, combined with Shift if desired, to cycle through the list of windows. The window list remains open until Ctrl is released.

If Model Center is configured to use a tabbed document interface (TDI), the tabs below the toolbar can also be used to switch between open class windows. See this section for more information on document interfaces.

Arranging the Windows

If you have more than one class window open, you can view all windows at the same time. To display the windows side-by-side, choose Tile from the Window menu. To arrange the windows so that the title bar of every window is visible, choose Cascade from the Window menu.

Note that this is only possible if the model editor is set to use the multiple document interface (MDI). If the model editor is set to use the tabbed document interface (TDI), the order of the tabs below the toolbar can be rearranged by dragging the tabs with the mouse. See this section for more information on document interfaces.

Introduction | Class Browser | Class Window | Graphical Views | Modelica Text View | Component Browser | Variable Views | Reliability View | Messages View | Kernel Command View | Documentation Center | Functional Mock-up Interface | Keyboard Shortcuts | Kernel Commands