Drag and Drop handler
Dragging and dropping elements or element symbols enables an efficient modeling practice. Using the Drag and Drop handler functionality allows you to easily perform feature typing, subsetting, element creation, and other modeling commands.
Using the Drag and Drop handler
To use the Drag and Drop handler
- Do one of the following:
- Select the element(s) in the Containment tree.
- In a view, select an element symbol and in its smart manipulator, click and hold the Drag and Drop handler
.Dragging and dropping the symbol itself instead of the Drag and Drop handler changes the element's ownership. To take advantage of the functionalities provided by the Drag and Drop handler, make sure to drag the handler, not the symbol.
Drag and drop the element/symbol on:
The target element symbol in a view.
The appropriate field in the Specification panel.
- You can only drag an element symbol onto another element symbol in a view or the appropriate field in the Specification panel, never onto an element in the Containment tree. The latter modifies the element's ownership.
- You can also drag an element symbol from one view and drop it onto an element symbol on another open view. Drag the symbol while holding down the Drag and Drop handler over the target view tab to display the open view.
- For a list of all fields that can be specified via drag and drop in the Specification panel, see the Specification panel page.
- The Drag and Drop selection menu appears. Click the appropriate command in the menu.
Drag and Drop handler commands
Once you drag and drop an element/symbol onto another symbol, the drag and drop selection menu appears. It displays multiple commands whose availability depends on the source (the dragged element/symbol) and target (the symbol on which the dragged source is dropped). See the table below for available commands based on source and target element symbols.
| Command name | Source | Target |
|---|---|---|
Set Type If an element already has a set type, performing the Set Type command again replaces the set type. | Any definition element | Any usage element |
| Set Payload | Any definition element | Flow Connection |
| Set Performed Action | Action | Perform Action |
| Set Use Case Included | Use Case | Include Use Case |
| Create Perform Action | Action, Action def | Part, Action, State, Part def, Action def, State def |
| Create Exhibit State | State, State def | Part, State, Action, Part def, State def, Action def |
| Create Include Use Case | Use Case, Use Case def | Part, Use Case, Part def, Use Case def |
| Create Objective / Create Require Constraint of Objective | Constraint, Constraint def | Case, Case def |
| Create Actor | Part, Part def | Case, Requirement, Case def, Requirement def |
| Create Stakeholder | Part, Part def | Requirement, Requirement def |
| Create Frame Concern | Concern, Concern def | Requirement, Requirement def |
| Create Require Constraint | Constraint, Constraint def | Requirement, Requirement def |
| Create Assume Constraint | Constraint, Constraint def | Requirement, Requirement def |
| Create Assert Constraint | Constraint, Constraint def | Requirement, Requirement def |
| Create Satisfy Requirement | Requirement, Requirement def | Part |
| Create Subject | Any usage element, Any definition element | Case, Requirement, Case def, Requirement def |
| Apply Metadata | Metadata def | Any element |
| Create Usage | Any definition element | Any element |
| Create Subsetting Usage | Any usage element | Any element |
| Set Referenced Feature | Constraint | Assume, Require, Assert constraint |
| Concern | Frame concern | |
| Requirement | Satisfy requirement | |
| Set Subsetted Feature | Any usage element | Any usage element |
| Set Redefined Feature | Any usage element | Any usage element |
| Set Value | Any feature | Any feature |
| Set Superclassifier | Any definition element | Any definition element |
| Create Symbol | Any element | Any element |