Structured Specification Selected Text Context Menu

Further facilities are available in the Structured Specification tab to work with the user-editable text of any part of a specification step. You access these facilities through the item text context menu.

Access     On a diagram or in the Project Browser, right-click on element and select:
 
Properties > Scenarios > Structured Specification | Highlight text | Right-click or
Properties Page | Scenarios > Structured Specification | Highlight text | Right-click

Text menu options

Option

Action

Shortcut

See also

Create

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

·a glossary definition or
·a new element

 

 

 
Notes - Create Glossary definition

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, the following link is added to the end of the Action text:

( Invokes: <Use Case Name> )

 

 

 

 

 

 

 

 

 

 

 

 

 

Select <items> 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 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.

 

 

 

Context References Tab

Select <items> 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

 

 

 
Click on these options to perform simple editing operations on the highlighted text.

 

 

Copy

 

Paste

 

Delete

 

Select All

 

Learn more