Book a Demo

Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Prev Next

Scenarios View Item Context Menu

You can perform a wide range of operations in creating and managing your scenarios, using the Scenarios View item context menu.

Access

On a diagram or in the Browser window, select an element and use one of the following methods to display the Scenarios View. Then right-click on an item in the Step/Action list.

Ribbon

Start > Desktop > Design > Scenario Editor

Context Menu

Browser window > Element | Right-click on 'Scenarios' | New Scenario

Browser window > Element | Scenarios | right-click on existing scenario | Structured Scenario Editor

Keyboard Shortcuts

Alt+1 > Scenario Editor

Other

On the 'Scenarios' tab of the Responsibilities window, click on the Edit button against a scenario (see the Scenarios Tab - Responsibilities Window Help topic)

On the 'Scenarios' tab of the element 'Properties' dialog, click on the Structure Editor button (see the Scenarios Tab - Properties Dialog Help topic)

Item menu options

Option

Action

See also

Create Structure From Clipboard Text

Click on this option to display two sub-options to generate a set of steps from a text description or list captured on the clipboard; a new step is generated:

  • After each carriage return in the captured text ('New Line Delimited'), or
  • For each sentence in the text; that is, after each full stop/space/capital letter combination ('Sentence Delimited')

If a set of steps is already displayed, it is overwritten by the generated steps.

Import a Scenario File

Create Structure From Generated Activity Diagram

Click on this option to generate a set of steps from an Activity diagram generated from a scenario for a Use Case.

If a set of steps is already displayed, it is overwritten by the generated steps.

Generate Scenario from Activity Diagram

Add Alternate Path

Click on this option to create a branch from the selected step of the basic path to an alternative path.

Shortcut: Ctrl+Shift+N

Scenarios View Toolbar

Add Exception Path

Click on this option to create a branch from the selected step of the basic path to an exception path.

Shortcut: Ctrl+Shift+E

Scenarios View Toolbar

Insert Step

Click on this option to display three sub-options, to insert a new step... line:

  • Above the currently-selected step (press Esc to return this new line to the end of the scenario)
  • Below the currently-selected step (press Esc to return this new line to the end of the scenario)
  • At the end of the scenario

Shortcut: Shift+Insert, Insert or Ctrl+N, respectively

Set Step As 'User' Set Step As 'System'

Click on the appropriate option to switch the entity responsible for performing the action of the selected step between user and system.

Link Step to Use Case

Click on this option to display sub-options to:

  • Extend an existing Use Case element
  • Include the actions of an existing Use Case element, or
  • Invoke a Use Case as the action of the selected step

Selecting the appropriate sub-option displays the 'Select Use Case' dialog, which you use to browse for and select the required Use Case element.

The appropriate 'includes', 'extends' or 'invokes' stereotyped connector is created between the current element and the selected Use Case.

For the include and extend actions, any text in the 'Action' column is overwritten by the link to the Use Case; for the invoke action, this link is added to the end of the 'Action' text:

     (Invokes: <Use Case Name>)

Select Dialog

Merge With Step

Click on this option to merge the selected step with another.

A list of the other steps in the scenario displays; click on the step to merge with the selected step.

Move After Step

Click on this option to move the selected step to another position in the scenario.

A list of the other steps in the scenario displays; click on the step after which to position the selected step.

Delete

Click on this option to delete the selected step; any subsequent steps are moved up one place.

A prompt displays to confirm the deletion. Click on the Yes button.

Learn more