You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

When you open the implementation of an operation that has been implemented as activity, the activity diagram opens in the activity editor.

The activity editor consists of different areas:

  1. Diagram Pane
  2. Elements Toolbar
  3. Model Toolbar
  4. Designer Panels

Customizing the Activity Diagram Editor

You have several options to adjust the activity diagram editor. When you open the editor for the first time, the default view is displayed:

  • The Diagram Pane is displayed in the top-right.
    (See Modeling Activities for more information.)
  • Four Designer Panels are shown in the sidebar on the left.
    • The Service Panel
    • The Controls Panel
    • The Attributes Panel
    • The Validation Panel

Refer to Customizing Editors and Panels for detailed information about panel management in general.

The diagram pane shows the torso of an activity diagram: only initial node and final node are present. This leads to the validation panel showing errors because a control flow is missing.
Refer to the other pages in this chapter for more information on how to draw a valid Activity diagram:

Toolbars

The activity diagram editor features a diagram toolbar in the center top of the diagram pane, and an elements toolbar on the right.

ToolbarDescription
Diagram Toolbar

Use the diagram toolbar to jump to the related operation, and to apply undo/redo features.

IconDescription
Jump to the related operation in the service panel.
Undo your last action.
Redo your last action (after undo).
Elements Toolbar

The elements toolbar contains all elements that you can create on your activity diagram.

IconDescription
Add a final node. An activity diagram can have multiple final nodes.
Add an object node. This can be used to store data locally.
Add a decision. Decisions are used to split the control flow based on conditions/guards.
Throw the exception defined by the parameters. If this error is not caught, it will be sent back to the client.
For more information, refer to User Defined Errors in the xUML Services Reference Guide.

Keyboard Shortcuts

Find below a list of all keyboard shortcuts that are available in the activity diagram editor.

Oops, it seems that you need to place a table or a macro generating a table within the Table Filter macro.

The table is being loaded. Please wait for a bit ...

ShortcutDescription
Arrow downMoves the editor pane downwards.
Arrow upMoves the editor pane upwards.
Ctrl + 1, 2, 3 ... 9

Switches to the Designer tab corresponding to the chosen number. This feature is available for the first nine open tabs.

Ctrl + D
Closes the active Designer tab.
Ctrl + Mouse WheelZooms in (scrolling up) or out (scrolling down) of the current model.
Ctrl + Shift + DCloses all tabs and switches to the service tab.
DelRemoves the selected element(s) from the diagram pane.
Esc

Aborts the following procedures:

  • adding a new element
  • resizing an element
  • closing a dialog
  • drawing a control or object flow
  • changing the path of a control or object flow
Mouse WheelMoves the diagram pane up or down.
Shift + Page downSwitches to the next Designer tab from left to right.
Shift + Page up
Switches to the next Designer tab from right to left.
  • No labels