Activity:
snippet act-ife
if (${1:Condition}) then (yes)
:${2:This};
else (no)
:${3:That};
endif
snippet act-repeat
repeat
:${1:Do};
repeat while (${2:Condition})
snippet act-while
while (${1:Condition}) is (Yes)
:${2:Do};
endwhile (No)
snippet act-fork
fork
:${1:Parallel1};
fork again
:${2:Parallel2};
end fork
snippet act-action
:${1:Action};
snippet act-start
start
snippet act-stop
stop
snippet act-end
end
snippet act-switch
switch (${1:Test abc})
case (${2:Case a})
:${3:Action a};
case (${4:Case b})
:${5:Action b};
case (${6:Case c})
:${7:Action c};
endswitch
Class:
snippet cla-class-large
class ${1:Name} {
+ ${2:Property} : ${3:Type}
+ ${4:Method}() : ${5:Type}
}
snippet cla-class-small
class ${1:Name}
snippet cla-class-alias
class "${1:Name}" as ${2:Alias}
snippet cla-class-extends
class ${1:Name1} extends ${2:Name2} {
}
snippet cla-class-empty
class ${1:Name1} {
}
snippet cla-interface
interface ${1:Name} <<interface>>
snippet cla-entity
entity ${1:Name}
snippet cla-enum
enum ${1:Name}
snippet cla-exception
exception ${1:Name}
snippet cla-annotation
annotation ${1:Name}
snippet cla-struct
struct ${1:Name}
snippet cla-stereotype
stereotype ${1:Name}
snippet cla-protocol
protocol ${1:Name}
snippet cla-metaclass
metaclass ${1:Name}
snippet cla-extension
${1:Name1} <|-- ${2:Name2} : ${3:Label}
snippet cla-composition
${1:Name1} *-- ${2:Name2} : ${3:Label}
snippet cla-aggregation
${1:Name1} o-- ${2:Name2} : ${3:Label}
snippet cla-association
${1:Name1} <-- ${2:Name2} : ${3:Label}
snippet cla-dependency
${1:Name1} <.. ${2:Name2} : ${3:Label}
snippet cla-onetomany
${1:Name1} "1" -- "many" ${2:Name2} : ${3:Label}
snippet cla-manytoone
${1:Name1} "many" -- "1" ${2:Name2} : ${3:Label}
snippet cla-method-public
+ ${1:Method}() : ${2:Type}
snippet cla-method-protected
# ${1:Method}() : ${2:Type}
snippet cla-method-packageprivate
~ ${1:Method}() : ${2:Type}
snippet cla-method-private
- ${1:Method}() : ${2:Type}
snippet cla-property-public
+ ${1:Property} : ${2:Type}
snippet cla-property-protected
# ${1:Property} : ${2:Type}
snippet cla-property-packageprivate
~ ${1:Property} : ${2:Type}
snippet cla-property-private
- ${1:Property} : ${2:Type}
Component:
snippet com-component
[${1:Name}]
snippet com-component-alias
[${1:Name}] as ${2:Alias}
snippet com-component-full
component [${1:Name}] as ${2:Alias}
snippet com-interface
() "${1:Name}"
snippet com-interface-alias
() "${1:Name}" as ${2:Alias}
snippet com-interface-full
interface "${1:Name}" as ${2:Alias}
snippet com-link-dot
${1:From} .. ${2:To} : ${3:Text}
snippet com-link-dash
${1:From} -- ${2:To} : ${3:Text}
snippet com-link-dot-arrow
${1:From} ..> ${2:To} : ${3:Text}
snippet com-link-dash-arrow
${1:From} --> ${2:To} : ${3:Text}
snippet com-note-top
note top of ${1:Component}
${2:Note}
end note
snippet com-note-bottom
note bottom of ${1:Component}
${2:Note}
end note
snippet com-note-left
note left of ${1:Component}
${2:Note}
end note
snippet com-note-right
note right of ${1:Component}
${2:Note}
end note