[RSS]

This document will be used to specify the context menu actions for nodes and edges on a diagram. The actions that are italizied still need to be added to the new diagram editor, "---" marks the location of seperators.

Note: The Colors & Fonts menu item will be renamed to Fonts & Colors to be consistent with the NetBeans Options tab title.
Note: The Paste Action will only be avaliable on the Diagram menu. The reason for this change is that the user is not able to paste as a child of another node.

Node Actions

The following set of actions are a standard set of actions for all nodes. In the following sections only the model elements that have added additional actions will be specified. To make it easy to understand which actions are unique to the model element type, the additional actions will be in bold.
  • Select All
  • Invert Selection
  • Select All Similar Elements
  • ---
  • Show
    • The show menu will only be displayed with an alternate view was available.
    • Nodes with Node Labels will usually just have a Show Label action.
  • Resize Element to Contents
  • Synchronize Element with Data
  • ---
  • Fonts & Colors
    • Font
    • Foreground
    • Background
  • ---
  • Apply Design Pattern
  • ---
  • Cut
  • Copy
  • Delete
  • ---
  • Select in Model
  • Properties

Class and Interface Model Elements

Includes Class, Interface, Role, Interface Role, Boundary, Control and Entity.
  • Select All
  • Invert Selection
  • Select All Similar Elements
  • ---
  • Create Attributes
  • Create Operations
  • Redefine Operations
  • Show
    • The show menu will only be displayed with an alternate view was available.
  • Resize Element to Contents
  • Synchronize Element with Data
  • ---
  • Show/Hide List Compartments
  • Fonts & Colors
    • Font
    • Foreground
    • Background
  • ---
  • Apply Design Pattern
  • ---
  • Cut
  • Copy
  • Delete
  • ---
  • Generate Dependency Diagram
  • Navigate to Source
  • Generate Code
  • Select in Model
  • Properties

Operation

  • Create Operation
  • ---
  • Apply Design Pattern
  • Delete
  • ---
  • Select in Model
  • Properties

Attribute

  • Create Attribute
  • ---
  • Apply Design Pattern
  • Delete
  • ---
  • Select in Model
  • Properties

Enumeration

  • Select All
  • Invert Selection
  • Select All Similar Elements
  • ---
  • Create Literal
  • Create Attributes
  • Create Operations
  • Redefine Operations
  • Resize Element to Contents
  • Synchronize Element with Data
  • ---
  • Show/Hide List Compartments
  • Fonts & Colors
    • Font
    • Foreground
    • Background
  • ---
  • Apply Design Pattern
  • ---
  • Cut
  • Copy
  • Delete
  • ---
  • Generate Dependency Diagram
  • Navigate to Source
  • Generate Code
  • Select in Model
  • Properties

Datatype

  • Select All
  • Invert Selection
  • Select All Similar Elements
  • ---
  • Resize Element to Contents
  • Synchronize Element with Data
  • ---
  • Fonts & Colors
    • Font
    • Foreground
    • Background
  • ---
  • Apply Design Pattern
  • ---
  • Cut
  • Copy
  • Delete
  • ---
  • Generate Dependency Diagram
  • Select in Model
  • Properties

Derivation Classifier

  • Select All
  • Invert Selection
  • Select All Similar Elements
  • ---
  • Resize Element to Contents
  • Synchronize Element with Data
  • ---
  • Fonts & Colors
    • Font
    • Foreground
    • Background
  • ---
  • Apply Design Pattern
  • ---
  • Cut
  • Copy
  • Delete
  • ---
  • Generate Dependency Diagram
  • Select in Model
  • Properties

Design Pattern

  • Select All
  • Invert Selection
  • Select All Similar Elements
  • ---
  • Resize Element to Contents
  • Synchronize Element with Data
  • ---
  • Fonts & Colors
    • Font
    • Foreground
    • Background
  • ---
  • Promote Design Pattern
  • Apply Design Pattern Partition
  • ---
  • Cut
  • Copy
  • Delete
  • ---
  • Select in Model
  • Properties

Partition

  • Select All
  • Invert Selection
  • Select All Similar Elements
  • ---
  • Resize Element to Contents
  • Synchronize Element with Data
  • Partitions
    • Add Partition Column to the Right
    • Add Partition Row to the Bottom
  • ---
  • Fonts & Colors
    • Font
    • Foreground
    • Background
  • ---
  • Promote Design Pattern
  • Apply Design Pattern Partition
  • ---
  • Cut
  • Copy
  • Delete
  • ---
  • Select in Model
  • Properties

Composite State

  • Select All
  • Invert Selection
  • Select All Similar Elements
  • ---
  • Regions
    • Add Region Column to the Right
    • Add Region Row to the Bottom
  • Resize Element to Contents
  • Synchronize Element with Data
  • ---
  • Fonts & Colors
    • Font
    • Foreground
    • Background
  • ---
  • Apply Design Pattern
  • ---
  • Cut
  • Copy
  • Delete
  • ---
  • Select in Model
  • Properties

Submachine State

  • Select All
  • Invert Selection
  • Select All Similar Elements
  • ---
  • Show Events and Transitions
    • Set (Delete) Entry
    • Set (Delete) Do
    • Set (Delete) Exit
    • Insert Incoming Internal Transitions
    • Insert Outgoing Internal Transitions
    • Delete Internal Transitions
  • Resize Element to Contents
  • Synchronize Element with Data
  • ---
  • Fonts & Colors
    • Font
    • Foreground
    • Background
  • ---
  • Apply Design Pattern
  • ---
  • Cut
  • Copy
  • Delete
  • ---
  • Select in Model
  • Properties

Combined Fragment

  • Select All
  • Invert Selection
  • Select All Similar Elements
  • ---
  • Interaction Operand
    • Add Operand to Bottom
    • Edit Interaction Operand
    • Delete This Operand
  • Interaction Operator
    • Interaction Operator Values
  • Resize Element to Contents
  • Synchronize Element with Data
  • ---
  • Fonts & Colors
    • Font
    • Foreground
    • Background
  • ---
  • Apply Design Pattern
  • ---
  • Cut
  • Copy
  • Delete
  • ---
  • Select in Model
  • Properties

Edge Actions

The following set of actions are a standard set of actions are for all edges. In the following sections only the model elements that have added additional actions will be specified. To make it easy to understand which actions are unique to the model element type, the additional actions will be in bold.
  • Select All
  • Invert Selection
  • Select All Similar Elements
  • ---
  • Find
    • Source Element
    • Target Element
  • Remove All Bends - Should be grayed out if there are no bends.
  • Synchronize Element with Data
  • ---
  • Labels
    • Display the Labels that can be shown/hidden
  • Apply Design Pattern
  • ---
  • Apply Design Pattern
  • ---
  • Cut
  • Copy
  • Delete
  • ---
  • Select in Model
  • Properties
The nested link will show the context menu of the parent model element.

Associations

  • Select All
  • Invert Selection
  • Select All Similar Elements
  • ---
  • Find
    • Source Element
    • Target Element
  • Remove All Bends - Should be grayed out if there are no bends.
  • Synchronize Element with Data
  • ---
  • Labels
    • Display the Labels that can be shown/hidden
  • Set Multiplicity
    • 0..1
    • 0..*
    • *
    • 1
    • 1..*
  • Add Qualifier Adds a qualifier box, and a new attribute.
  • Apply Design Pattern
  • ---
  • Apply Design Pattern
  • ---
  • Cut
  • Copy
  • Delete
  • ---
  • Select in Model
  • Properties

Message

  • Operation
    • Add Operation
    • ---
    • List of all messages
  • Select All
  • Invert Selection
  • Select All Similar Elements
  • ---
  • Find
    • Source Element
    • Target Element
  • Remove All Bends - Should be grayed out if there are no bends.
  • Synchronize Element with Data
  • ---
  • Labels
    • Display the Labels that can be shown/hidden
  • Apply Design Pattern
  • ---
  • Apply Design Pattern
  • ---
  • Cut
  • Copy
  • Delete
  • ---
  • Select in Model
  • Properties

Actions Moved to UML.next

Lock Edit
The Lock Edit actions marks the model element as read only.
Set Dimensions
Used to change the size of a node on the diagram. A dialog will appear and allow the new size to be entered. This may need to be in for NetBeans 6.5 to support Accessibility.
Associate With
The association with action is used to associate a model element with another model element. Once a model element is associated the double click action will navigate to the associated model element.
Transform Actions
The transform actions will change the type of a model element. For example a Class could be transformed into an Interface. In order to transform a class in to an interface the methods will become abstract.
Show/Hide
The ability to show and hide the nodes that are connected via edges.
Edge Fonts & Colors
In 6.5 we are not allowing edges to change there font and colors. In the end it should be very similar to the font and colors on the node.

Attachments

activity.html Info on activity.html 22598 bytes
class.html Info on class.html 75574 bytes
diagram.html Info on diagram.html 3161 bytes
right_click.html Info on right_click.html 107014 bytes
sequence.html Info on sequence.html 10722 bytes
state.html Info on state.html 39888 bytes
use_case.html Info on use_case.html 7433 bytes