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 Selected Text Context Menu

In the Scenarios View, further facilities are available to work with the user-editable text of any part of a specification step. You access these facilities through the item selected-text context menu.

Access

On a diagram or in the Browser window, select an element and use one of these methods to access the Scenarios View. In the Scenarios View, highlight the text string and right-click on it.

Ribbon

Start > Application > Edit > Responsibilities > Structured Scenarios

Context Menu

Inspector window > Details | Right-click on 'Scenarios' | New Scenario

Inspector window > Details | Scenarios | right-click on existing scenario | Structured Scenario Editor

Keyboard Shortcuts

Alt+2 > Responsibilities > Structured Scenarios

Other

On the 'Scenarios' tab of the Responsibility window, click on the Edit button against a scenario (see the Scenarios Tab - Responsibility 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)

Text menu options

Option

Action

See also

Create

Click on this option to display two sub-options that you can select to use the highlighted text as the base for either:

  • A glossary definition or
  • A new element
The Notes Window Add Elements Directly To Packages

Link Step to Use Case

Click on this option to display sub-options to define the actions of the selected step by:

  • Including the actions of an existing Use Case element
  • Extending an existing Use Case element, or
  • Invoking a Use Case

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' field 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

Link to existing Element

('Uses' and 'Results' field text only.) Click on this option to create a Realization or Dependency relationship to a Requirement, Feature, Activity, BPMN Task, DMN Decision or other element elsewhere in the model.

You select the element and connector types from submenu options that then display the 'Select Element' dialog, which you use to browse for and select the required element.

Insert context reference

Click on this option to add a reference to an element stored elsewhere in the model, and create an entry for the element in the 'Context References' tab.

Selecting this option displays the 'Select Element' dialog, which you use to browse for and select the required reference element.

Scenarios View - Context References Select Dialog

Insert glossary definition

Click on this option to insert an existing glossary term at the cursor position. To select the term, double-click on it in the displayed list.

When you select the term it is inserted into the field as highlighted and underlined text, which displays the definition when you move the cursor over it. If you highlighted part of the original text, the term overwrites that text.

Manage Uses Context List

(On highlighted text or a specific cursor position in the 'Uses' column.)

Click on this option to display the 'Manage Uses Context List' dialog, which you can use to:

  • Browse to or type in a context reference item
  • Re-sort the list with up and down arrow keys
  • Remove an entry from the list
  • Enable or disable the 'Uses Context List' facility across the model

You can resize the dialog to show the full details of context reference items.

If you enable the 'Uses Context List' facility, you do not necessarily have to use the dialog to add context list items; you can type or insert an element name from the 'Context References' tab in the 'Uses' column, and that name is added to the 'Uses Context List'.

If you disable the 'Uses Context List' facility, the context list items in the 'Uses' column are hidden.

Context References Tab

Split Step

Click on this option to split the selected step into two consecutive steps.

The option is available only if you highlight a portion of the text in the selected field. The new step takes the highlighted text as its 'Action' text.

Search for <text>

Click on this option to display the Code Editor menu of options for locating the selected text in a number of locations.

Code editor context menu

Undo

Click on this option to undo any unsaved changes you have just made in the step.

Cut

Select this option to cut the selected text to the clipboard.

Copy

Select this option to copy the selected text to the clipboard.

Paste

Select this option to paste the current contents of the clipboard.

Delete

Select this option to delete the selected text string.

Select All

Select this option to select all text in the current field.

Learn more