Creating Element by using ShortCut Generation Syntax

StarUML

Creating Element by using ShortCut Generation Syntax

Top  Previous  Next

Elements can also be created without being mouse by using the shortcut Generation Syntax.

Procedure creating element by using the ShortCut Generation Syntax:

1.Select from the diagram area the view.
2.Run Quick Dialog as selecting [Enter].
3.Enter a syntax that is element in the quick dialog.

ShortCut Generation Syntax

Shortcut generation syntax can generate a target model and relationship with it by writing simple text. The basic rule of the shortcut generation syntax is as follows. Describe the target model names to make a relationship with notations to generate relationship. If there is no target model name, generate new appropriate model elements and the relationship. The relationship-notation of shortcut generation syntax to be used in each diagram is as follows:

Diagram Type

Notation

Current Element

Description

Class Diagram

Component Diagram

Deployment Diagram

Composite Structure Diagram

 

<=

Classifier

The target element linking with the current element makes a link of specialization.

=>

Classifier

The target element linking with the current element makes a link of generalization.

--

Classifier

The target element linking with the current element makes a link of association.

<-

Classifier

Makes navigable association relationship from target element to the current element.

->

Classifier

The target element linking with the current element makes a link of navigable association.

<>-

Classifier

The target element linking with the current element makes a link of aggregate.

-<>

Classifier

Makes aggregate relationship from target element to the current element.

<*>-

Classifier

The target element linking with the current element makes a link of compose.

-<*>

Classifier

Makes compose relationship from target element to the current element.

<--

Classifier

Makes dependency relationship from target element to the current element.

-->

Classifier

The target element linking with the current element makes a link of dependency.

)-

Classifier

Makes requirement relationship from target element to the current element.

-(

Classifier

The target element linking with the current element makes a link of requirement.

@-

Classifier

Makes realization relationship from target element to the current element.

-@

Classifier

The target element linking with the current element makes a link of realization.

Usecase Diagram

()-

UseCase

The target model(Actor) linking with the current element makes a link of communication.

-()

Actor

The target model(UseCase) linking with the current element makes a link of communication.

<i-

UseCase

Makes include relationship from target element to the current element.

-i>

UseCase

The target element linking with the current element makes a link of include.

<e-

UseCase

Makes include relationship from target element to the current extend.

-e>

UseCase

The target element linking with the current element makes a link of extend.

Sequence Diagram

Seqeunce Diagram(Role)

<-

Object, ClassifierRole

The target element linking with the current element makes a link of stimulus.

->

Object, ClassifierRole

Makes include relationship from target element to the current stimulus.

<->

Object, ClassifierRole

Makes stimulus that has a return relationship from target element to the current element.

<-

Stimulus, Message

Makes sub-stimulus(comes from target element) in current stimulus.

->

Stimulus, Message

Makes sub-stimulus(goes from target element) in current stimulus.

<->

Stimulus, Message

Makes sub-stimulus(with return goes from target element) in current stimulus.

<~

Stimulus, Message

Makes stimulus(comes from target element) in front of current stimulus.

~>

Stimulus, Message

Makes stimulus(goes from target element) in front of current stimulus.

<_

Stimulus, Message

Makes stimulus(comes from target element) in the rear of current stimulus.

_>

Stimulus, Message

Makes stimulus(goes from target element) in the rear of current stimulus.

Collaboration Diagram

Collaboration Diagram(Role)

<-

Object, ClassifierRole

The target element linking with the current element makes a link of stimulus.

->

Object, ClassifierRole

Makes stimulus relationship from target element to the current element.

<->

Object, ClassifierRole

Makes stimulus that has a return relationship from target element to the current element.

Statechart Diagram/

Activity Diagram

<-

State, ActionState

Makes transition relationship from target element to the current element.

->

State, ActionState

The target element linking with the current element makes a link of transition.

-*

State, ActionState

Makes transition relationship from target element(Initial State) to the current element.

-@

State, ActionState

The target element(Final State) linking with the current element makes a link of transition.

<-<>

State, ActionState

Makes transition relationship from target element(Decision) to the current element.

-><>

State, ActionState

The target element(Decision) linking with the current element makes a link of transition.

-(H) -(h)

State, ActionState

The target element(History) linking with the current element makes a link of transition.

-(H*) -(h*)

State, ActionState

The target element(Deep History) linking with the current element makes a link of transition.

<-|

State, ActionState

Makes transition relationship from target element to the current element(with Join).

|->

State, ActionState

The target element(with Fork) linking with the current element makes a link of transition.