2015-08-31 18:06:36 +02:00
|
|
|
// ModelEditor - definitions of custom shapes
|
|
|
|
|
//
|
|
|
|
|
// Language syntax and commands:
|
|
|
|
|
//
|
2016-06-12 20:07:15 +02:00
|
|
|
//
|
|
|
|
|
// An Icon defines an icon of an element selected by stereotype.
|
|
|
|
|
//
|
2015-12-30 23:38:34 +01:00
|
|
|
// Icon {
|
|
|
|
|
// id: <id>
|
|
|
|
|
// title: <a UI title. Defaults to the id of the icon.>
|
|
|
|
|
// elements: <comma-separated list of element types the
|
2015-08-31 18:06:36 +02:00
|
|
|
// definiton applies to: class, component, package, diagram, item.
|
|
|
|
|
// Default applies definition to all element types.>
|
2015-12-30 23:38:34 +01:00
|
|
|
// stereotype: <stereotype as a string.>
|
|
|
|
|
// display: <default display of element.
|
2015-08-31 18:06:36 +02:00
|
|
|
// One of: none, label, decoration, icon, smart.
|
|
|
|
|
// Default is smart.>
|
2017-08-02 09:44:21 +02:00
|
|
|
// name: <Name of new element. Defaults to "New <Toolbar entry title>".>
|
2015-12-30 23:38:34 +01:00
|
|
|
// width: <width of icon in pixels. The width defines the width of the icon as decoration.>
|
|
|
|
|
// height: <height of icon in pixels. The height defines the height of the icon as decoration.>
|
|
|
|
|
// minwidth: <minimum width of custom icon in pixels.>
|
|
|
|
|
// minheight: <minimum height of custom icon in pixels.>
|
|
|
|
|
// lockSize: <lock resizing.
|
2015-08-31 18:06:36 +02:00
|
|
|
// One of: none, width, height, size, ratio.
|
|
|
|
|
// Default is none.>
|
2017-08-02 09:44:21 +02:00
|
|
|
// textAlignment: <alignment of text (stereotype label, name and context).
|
|
|
|
|
// One of: top, center, below, none.
|
|
|
|
|
// Defaults to below. None means no text will be displayed>
|
2015-12-30 23:38:34 +01:00
|
|
|
// baseColor: <color #rrggbb>
|
|
|
|
|
// Shape {
|
|
|
|
|
// Line { x1: <x1>; y1: <y1>; x2:<x2>; y2: <y2> }
|
|
|
|
|
// Rect { x: <x>; y: <y>; width: <width>; height: <height> }
|
|
|
|
|
// RoundedRect { x: <x>; y: <y>; width: <width>; height: <height>; radius: <radius> }
|
|
|
|
|
// Circle { x: <center_x>; y: <center_y>; radius: <radius> }
|
|
|
|
|
// Ellipse { x: <center_x>; y: <center_y>; radiusX: <radius_x>; radiusY: <radius_y> }
|
2016-06-12 20:07:15 +02:00
|
|
|
// Diamond { x: <center_x>; y: <center_y>; width: <width>; height: <height; filled: <yes or no or true or false> }
|
|
|
|
|
// Triangle { x: <center_x>; y: <center_y>; width: <width>; height: <height; filled: <yes or no or true or false> }
|
2015-12-30 23:38:34 +01:00
|
|
|
// Arc { x: <center_x>; y: <center_y>; radiusX: <radius_x>; radiusY: <radius_y>; start: <start_angle>; span: <span_angle> }
|
|
|
|
|
// MoveTo { x: <x>; y: <y> }
|
|
|
|
|
// LineTo { x: <x>; y: <y> }
|
|
|
|
|
// ArcMoveTo { x: <center_x>; y: <center_y>; radiusX: <radius_x>; radiusY: <radius_y>; angle: <angle> }
|
|
|
|
|
// ArcTo { x: <center_x>; y: <center_y>; radiusX: <radius_x>; radiusY: <radius_y>; start: <start_angle>; span: <span_angle> }
|
|
|
|
|
// Close
|
|
|
|
|
// }
|
|
|
|
|
// }
|
2015-08-31 18:06:36 +02:00
|
|
|
//
|
2016-06-12 20:07:15 +02:00
|
|
|
//
|
|
|
|
|
// A Relation defines a new relation between to items:
|
|
|
|
|
//
|
|
|
|
|
// Relation {
|
|
|
|
|
// id: <id>
|
|
|
|
|
// title: <a UI title. Defaults to the id of the icon.>
|
|
|
|
|
// elements: <A list of elements that may be the start or end element of the relation. Can be one of
|
|
|
|
|
// class, component, package, diagram, item or any id of an Icon definition. Must be given.>
|
|
|
|
|
// stereotype: <Stereotype as a string. Defaults to nothing.>
|
|
|
|
|
// name: <Name of the relation. Defaults to nothing.>
|
|
|
|
|
// direction: <One of AtoB, BtoA or Bi. Defaults to nothing.>
|
|
|
|
|
// pattern: <The pattern used for the relation shaft.
|
|
|
|
|
// One of solid, dash, dot, dashdot, dashdotdot. Defaults to solid>
|
|
|
|
|
// color: <The color of the relation. One of A or B (uses the color of the respective end element) or
|
|
|
|
|
// any valid color (#rrggbb or a color name). Defaults to A.>
|
|
|
|
|
// End {
|
|
|
|
|
// end: <One of A or B. Defines the settings of the relations end.>
|
|
|
|
|
// elements: <Overrides the elements property of parent.>
|
|
|
|
|
// role: <The role of the end. A string that defaults to nothing.>
|
|
|
|
|
// cardinality: <An integer or a string defining the cardinality of the end. Defaults to nothing.>
|
|
|
|
|
// navigable: <If the end is navigable. One of Yes, No, True, False. Defaults to nothing.>
|
2016-08-23 21:47:12 +02:00
|
|
|
// head: <Predefined shapes. One of none, arrow, triangle, filledtriangle, diamond, filleddiamond.
|
|
|
|
|
// Defaults to none.>
|
2016-06-12 20:07:15 +02:00
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
//
|
|
|
|
|
//
|
2016-08-23 21:47:12 +02:00
|
|
|
// A Dependency defines settings of a dependency specialization:
|
2016-06-12 20:07:15 +02:00
|
|
|
//
|
|
|
|
|
// Dependency {
|
|
|
|
|
// id: <id>
|
|
|
|
|
// title: <a UI title. Defaults to the id of the icon.>
|
|
|
|
|
// elements: <A list of elements that provides this specialization in its menu. Can be one of
|
|
|
|
|
// class, component, package, diagram, item or any id of an Icon definition. Must be given.>
|
|
|
|
|
// stereotype: <Stereotype as a string. Defaults to nothing.>
|
|
|
|
|
// name: <Name of the relation. Defaults to nothing.>
|
|
|
|
|
// direction: <One of AtoB, BtoA or Bi. Defaults to nothing.>
|
|
|
|
|
// }
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
// An Inheritance defines settings of an inheritance specialization:
|
|
|
|
|
//
|
|
|
|
|
// Inheritance {
|
|
|
|
|
// id: <id>
|
|
|
|
|
// title: <a UI title. Defaults to the id of the icon.>
|
|
|
|
|
// elements: <A list of elements that provides this specialization in its menu. Can be one of
|
|
|
|
|
// class or any id of an Icon definition for classes. Defaults to class.>
|
|
|
|
|
// stereotype: <Stereotype as a string. Defaults to nothing.>
|
|
|
|
|
// name: <Name of the relation. Defaults to nothing.>
|
|
|
|
|
// }
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
// An Association defines settings of an association specialization:
|
|
|
|
|
//
|
|
|
|
|
// Association {
|
|
|
|
|
// id: <id>
|
|
|
|
|
// title: <a UI title. Defaults to the id of the icon.>
|
|
|
|
|
// elements: <A list of elements that provides this specialization in its menu. Can be one of
|
|
|
|
|
// class or any id of an Icon definition for classes. Defaults to class.>
|
|
|
|
|
// stereotype: <Stereotype as a string. Defaults to nothing.>
|
|
|
|
|
// name: <Name of the relation. Defaults to nothing.>
|
|
|
|
|
// End {
|
|
|
|
|
// end: <One of A or B. Defines the settings of the relations end.>
|
|
|
|
|
// role: <The role of the end. A string that defaults to nothing.>
|
|
|
|
|
// cardinality: <An integer or a string defining the cardinality of the end. Defaults to nothing.>
|
|
|
|
|
// navigable: <If the end is navigable. One of Yes, No, True, False. Defaults to nothing.>
|
|
|
|
|
// relationship: <One of Association, Aggregation, Composition. Defaults to Association.>
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
// A toolbar of icons. If no toolbar is defined the standard toolbar is shown.
|
|
|
|
|
//
|
2015-12-30 23:38:34 +01:00
|
|
|
// Toolbar {
|
|
|
|
|
// id: <id>
|
|
|
|
|
// title: <a Ui title. Defaults to the id of the toolbar>
|
2017-07-15 15:37:19 +02:00
|
|
|
// element: <List of elements the toolbar is assigned to. Each element can be one of package, component,
|
|
|
|
|
// class, item or any Icon definition. Default to nothing which defines an object toolbar for
|
|
|
|
|
// diagrams.>
|
2015-12-30 23:38:34 +01:00
|
|
|
// priority: <priority number which decides about the position of toolbar in toolbox. Defaults to 0>
|
|
|
|
|
// Tools {
|
2017-07-15 15:37:19 +02:00
|
|
|
// Tool {
|
|
|
|
|
// title: <Ui title>;
|
|
|
|
|
// element: <element type; one of package, class, component, item, annotation, boundary or swimlane
|
|
|
|
|
// for object toolbars. One of dependency, inheritance or association for element toolbars.
|
|
|
|
|
// Must be given>;
|
|
|
|
|
// stereotype: <stereotype, defaults to nothing>
|
|
|
|
|
// }
|
2015-12-30 23:38:34 +01:00
|
|
|
// Separator
|
|
|
|
|
// }
|
|
|
|
|
// }
|
2015-08-31 18:06:36 +02:00
|
|
|
//
|
|
|
|
|
|
|
|
|
|
// *************
|
|
|
|
|
// ** Classes **
|
|
|
|
|
// *************
|
|
|
|
|
|
2015-12-30 23:38:34 +01:00
|
|
|
Icon {
|
|
|
|
|
id: Interface
|
|
|
|
|
elements: class
|
|
|
|
|
stereotype: 'interface'
|
|
|
|
|
display: icon
|
|
|
|
|
width: 20.0
|
|
|
|
|
height: 20.0
|
|
|
|
|
lockSize: ratio
|
|
|
|
|
Shape {
|
|
|
|
|
Circle { x: 10.0; y: 10.0; radius: 10.0 }
|
|
|
|
|
}
|
|
|
|
|
}
|
2015-08-31 18:06:36 +02:00
|
|
|
|
2015-12-30 23:38:34 +01:00
|
|
|
Icon {
|
|
|
|
|
id: Boundary
|
|
|
|
|
stereotype: 'boundary'
|
|
|
|
|
width: 24.0
|
|
|
|
|
height: 20.0
|
|
|
|
|
lockSize: ratio
|
|
|
|
|
Shape {
|
|
|
|
|
Circle { x: 14.0; y: 10.0; radius: 10.0 }
|
|
|
|
|
Line { x0: 0.0; y0: 0.0; x1: 0.0; y1: 20.0 }
|
|
|
|
|
Line { x0: 0.0; y0: 10.0; x1: 4.0; y1: 10.0 }
|
|
|
|
|
}
|
|
|
|
|
}
|
2015-08-31 18:06:36 +02:00
|
|
|
|
2015-12-30 23:38:34 +01:00
|
|
|
Icon {
|
|
|
|
|
id: Control
|
|
|
|
|
stereotype: 'control'
|
|
|
|
|
width: 20.0
|
|
|
|
|
height: 20.0
|
|
|
|
|
lockSize: ratio
|
|
|
|
|
Shape {
|
|
|
|
|
Circle { x: 10.0; y: 10.0; radius: 10.0 }
|
|
|
|
|
Line { x0: 10.0; y0: 0.0; x1: 14.0; y1: -2.0 }
|
|
|
|
|
Line { x0: 10.0; y0: 0.0; x1: 14.0; y1: 4.0 }
|
|
|
|
|
}
|
|
|
|
|
}
|
2015-08-31 18:06:36 +02:00
|
|
|
|
2015-12-30 23:38:34 +01:00
|
|
|
Icon {
|
|
|
|
|
id: Entity
|
|
|
|
|
stereotype: 'entity'
|
|
|
|
|
width: 20.0
|
|
|
|
|
height: 20.0
|
|
|
|
|
lockSize: ratio
|
|
|
|
|
Shape {
|
|
|
|
|
Circle { x: 10.0; y: 10.0; radius: 10.0 }
|
|
|
|
|
Line { x0: 0.0; y0: 20.0; x1: 20.0; y1: 20.0 }
|
|
|
|
|
}
|
|
|
|
|
}
|
2015-08-31 18:06:36 +02:00
|
|
|
|
2016-06-12 20:07:15 +02:00
|
|
|
Association {
|
2016-08-23 21:47:12 +02:00
|
|
|
id: Aggregation
|
|
|
|
|
title: "Aggregation"
|
2016-06-12 20:07:15 +02:00
|
|
|
End {
|
|
|
|
|
end: A
|
2016-08-23 21:47:12 +02:00
|
|
|
cardinality: "*"
|
2016-06-12 20:07:15 +02:00
|
|
|
navigable: yes
|
|
|
|
|
relationship: aggregation
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Association {
|
2016-08-23 21:47:12 +02:00
|
|
|
id: Composition
|
|
|
|
|
title: "Composition"
|
2016-06-12 20:07:15 +02:00
|
|
|
End {
|
|
|
|
|
end: A
|
2016-08-23 21:47:12 +02:00
|
|
|
cardinality: "1"
|
2016-06-12 20:07:15 +02:00
|
|
|
navigable: yes
|
2016-08-23 21:47:12 +02:00
|
|
|
relationship: composition
|
2016-06-12 20:07:15 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// ********************
|
|
|
|
|
// ** Class Toolbars **
|
|
|
|
|
// ********************
|
|
|
|
|
|
|
|
|
|
Toolbar {
|
|
|
|
|
id: ClassToolbar
|
|
|
|
|
element: class
|
|
|
|
|
Tools {
|
|
|
|
|
Tool { element: dependency }
|
|
|
|
|
Tool { element: inheritance }
|
|
|
|
|
Tool { element: association }
|
2016-08-23 21:47:12 +02:00
|
|
|
Tool { element: Aggregation }
|
|
|
|
|
Tool { element: Composition }
|
2016-06-12 20:07:15 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Toolbar {
|
|
|
|
|
id: InterfaceToolbar
|
|
|
|
|
element: Interface
|
|
|
|
|
Tools {
|
|
|
|
|
Tool { element: dependency }
|
|
|
|
|
Tool { element: inheritance }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2015-08-31 18:06:36 +02:00
|
|
|
// ****************
|
|
|
|
|
// ** Components **
|
|
|
|
|
// ****************
|
|
|
|
|
|
2015-12-30 23:38:34 +01:00
|
|
|
Icon {
|
|
|
|
|
id: Database
|
|
|
|
|
stereotype: 'database'
|
|
|
|
|
display: icon
|
|
|
|
|
width: 20.0
|
|
|
|
|
height: 20.0
|
|
|
|
|
Shape {
|
|
|
|
|
MoveTo { x: 0.0; y: 3.0 }
|
|
|
|
|
LineTo { x: 0.0; y: 17.0 }
|
|
|
|
|
ArcTo { x: 10.0; y: 17.0; radiusX: 10.0; radiusY: 3.0; start: 180.0; span: 180.0 }
|
|
|
|
|
LineTo { x: 20.0; y: 3.0 }
|
|
|
|
|
ArcTo { x: 10.0; y: 3.0; radiusX: 10.0; radiusY: 3.0; start: 0.0; span: -180.0 }
|
|
|
|
|
Close
|
|
|
|
|
Arc { x: 10.0; y: 3.0; radiusX: 10.0; radiusY: 3.0; start: 0.0; span: 180.0 }
|
|
|
|
|
}
|
|
|
|
|
}
|
2015-08-31 18:06:36 +02:00
|
|
|
|
|
|
|
|
// experimental replacement of default shape with custom shape
|
2015-12-30 23:38:34 +01:00
|
|
|
Icon {
|
|
|
|
|
id: Component
|
|
|
|
|
elements: component, package, diagram
|
|
|
|
|
stereotype: 'component'
|
|
|
|
|
display: decoration
|
|
|
|
|
width: 20.0
|
|
|
|
|
height: 16.0
|
|
|
|
|
textAlignment: center
|
|
|
|
|
Shape {
|
|
|
|
|
Rect { x: 0; y: 0; width: 20.0; height: 16.0 }
|
|
|
|
|
Rect { x: -4.0; y: 2.5; width: 8; height: 4 }
|
|
|
|
|
Rect { x: -4.0; y: 9.5; width: 8; height: 4 }
|
|
|
|
|
}
|
|
|
|
|
}
|
2015-08-31 18:06:36 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
// ***************
|
|
|
|
|
// ** Use Cases **
|
|
|
|
|
// ***************
|
|
|
|
|
|
2015-12-30 23:38:34 +01:00
|
|
|
Icon {
|
|
|
|
|
id: UseCase
|
2015-08-31 18:06:36 +02:00
|
|
|
Title: "Use-Case"
|
2015-12-30 23:38:34 +01:00
|
|
|
elements: item
|
|
|
|
|
stereotype: 'usecase'
|
|
|
|
|
display: icon
|
|
|
|
|
width: 40
|
|
|
|
|
height: 20
|
|
|
|
|
baseColor: #5fb4f0
|
|
|
|
|
Shape {
|
|
|
|
|
Ellipse { x: 20; y: 10; radiusX: 20; radiusY: 10 }
|
|
|
|
|
}
|
|
|
|
|
}
|
2015-08-31 18:06:36 +02:00
|
|
|
|
2015-12-30 23:38:34 +01:00
|
|
|
Icon {
|
|
|
|
|
id: Actor
|
|
|
|
|
elements: item
|
|
|
|
|
stereotype: 'actor'
|
|
|
|
|
display: icon
|
|
|
|
|
width: 20
|
|
|
|
|
height: 40
|
|
|
|
|
lockSize: ratio
|
|
|
|
|
baseColor: #5fb4f0
|
|
|
|
|
Shape {
|
|
|
|
|
Circle { x: 10; y: 5; radius: 5 }
|
|
|
|
|
Line { x0: 0; y0: 15; x1: 20; y1: 15 }
|
|
|
|
|
Line { x0: 10; y0: 10; x1: 10; y1: 25 }
|
|
|
|
|
Line { x0: 10; y0: 25; x1: 3; y1: 40 }
|
|
|
|
|
Line { x0: 10; y0: 25; x1: 17; y1: 40 }
|
|
|
|
|
}
|
|
|
|
|
}
|
2015-08-31 18:06:36 +02:00
|
|
|
|
2016-08-23 21:47:12 +02:00
|
|
|
Relation {
|
|
|
|
|
id: Communication
|
|
|
|
|
elements: UseCase, Actor
|
|
|
|
|
pattern: solid
|
|
|
|
|
color: A
|
|
|
|
|
End {
|
|
|
|
|
end: A
|
|
|
|
|
}
|
|
|
|
|
End {
|
|
|
|
|
end: B
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Toolbar {
|
|
|
|
|
id: UseCaseToolbar
|
|
|
|
|
element: UseCase, Actor
|
|
|
|
|
Tools {
|
|
|
|
|
Tool { element: Communication }
|
|
|
|
|
Tool { element: dependency }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2015-08-31 18:06:36 +02:00
|
|
|
// ****************
|
|
|
|
|
// ** Activities **
|
|
|
|
|
// ****************
|
|
|
|
|
|
2015-12-30 23:38:34 +01:00
|
|
|
Icon {
|
|
|
|
|
id: Start
|
|
|
|
|
elements: item
|
|
|
|
|
stereotype: 'start'
|
|
|
|
|
display: icon
|
2017-08-02 09:44:21 +02:00
|
|
|
name: ""
|
|
|
|
|
textAlignment: none
|
2015-12-30 23:38:34 +01:00
|
|
|
width: 20
|
|
|
|
|
height: 20
|
|
|
|
|
lockSize: ratio
|
|
|
|
|
baseColor: #81d657
|
|
|
|
|
Shape {
|
|
|
|
|
Circle { x: 10; y: 10; radius: 7 }
|
|
|
|
|
}
|
|
|
|
|
}
|
2015-08-31 18:06:36 +02:00
|
|
|
|
2015-12-30 23:38:34 +01:00
|
|
|
Icon {
|
|
|
|
|
id: Activity
|
|
|
|
|
elements: item
|
|
|
|
|
stereotype: 'activity'
|
|
|
|
|
display: icon
|
|
|
|
|
width: 40
|
|
|
|
|
height: 20
|
|
|
|
|
baseColor: #81d657
|
|
|
|
|
Shape {
|
|
|
|
|
RoundedRect { x: 0; y: 0; width: 40; height: 20; radius: 10 }
|
|
|
|
|
}
|
|
|
|
|
}
|
2015-08-31 18:06:36 +02:00
|
|
|
|
2015-12-30 23:38:34 +01:00
|
|
|
Icon {
|
|
|
|
|
id: Condition
|
|
|
|
|
elements: item
|
|
|
|
|
stereotype: 'condition'
|
|
|
|
|
display: icon
|
|
|
|
|
width: 20
|
|
|
|
|
height: 20
|
|
|
|
|
lockSize: ratio
|
|
|
|
|
baseColor: #81d657
|
|
|
|
|
Shape {
|
|
|
|
|
MoveTo { x: 10; y: 0 }
|
|
|
|
|
LineTo { x: 20; y: 10 }
|
|
|
|
|
LineTo { x: 10; y: 20 }
|
|
|
|
|
LineTo { x: 0; y: 10 }
|
|
|
|
|
Close
|
|
|
|
|
}
|
|
|
|
|
}
|
2015-08-31 18:06:36 +02:00
|
|
|
|
2015-12-30 23:38:34 +01:00
|
|
|
Icon {
|
|
|
|
|
id: HorizontalBar
|
2015-08-31 18:06:36 +02:00
|
|
|
Title: "Horizontal Bar"
|
2015-12-30 23:38:34 +01:00
|
|
|
elements: item
|
|
|
|
|
stereotype: 'horizontalbar'
|
|
|
|
|
display: icon
|
2017-08-02 09:44:21 +02:00
|
|
|
name: ""
|
|
|
|
|
textAlignment: none
|
2015-12-30 23:38:34 +01:00
|
|
|
width: 20
|
|
|
|
|
height: 5
|
|
|
|
|
minWidth: 20
|
|
|
|
|
minHeight: 5
|
|
|
|
|
lockSize: height
|
|
|
|
|
baseColor: #000000
|
|
|
|
|
Shape {
|
|
|
|
|
RoundedRect { x: 0; y: 0; width: 20; height: 5; radius: 1 }
|
|
|
|
|
}
|
|
|
|
|
}
|
2015-08-31 18:06:36 +02:00
|
|
|
|
2015-12-30 23:38:34 +01:00
|
|
|
Icon {
|
|
|
|
|
id: VerticalBar
|
2015-08-31 18:06:36 +02:00
|
|
|
Title: "Vertical Bar"
|
2015-12-30 23:38:34 +01:00
|
|
|
elements: item
|
|
|
|
|
stereotype: 'verticalbar'
|
|
|
|
|
display: icon
|
2017-08-02 09:44:21 +02:00
|
|
|
name: ""
|
|
|
|
|
textAlignment: none
|
2015-12-30 23:38:34 +01:00
|
|
|
width: 5
|
|
|
|
|
height: 20
|
|
|
|
|
minWidth: 5
|
|
|
|
|
minHeight: 20
|
|
|
|
|
lockSize: width
|
|
|
|
|
baseColor: #000000
|
|
|
|
|
Shape {
|
|
|
|
|
RoundedRect { x: 0; y: 0; width: 5; height: 20; radius: 1 }
|
|
|
|
|
}
|
|
|
|
|
}
|
2015-08-31 18:06:36 +02:00
|
|
|
|
2015-12-30 23:38:34 +01:00
|
|
|
Icon {
|
|
|
|
|
id: Termination
|
|
|
|
|
elements: item
|
|
|
|
|
stereotype: 'termination'
|
|
|
|
|
display: icon
|
2017-08-02 09:44:21 +02:00
|
|
|
name: ""
|
|
|
|
|
textAlignment: none
|
2015-12-30 23:38:34 +01:00
|
|
|
width: 20
|
|
|
|
|
height: 20
|
|
|
|
|
lockSize: ratio
|
|
|
|
|
baseColor: #81d657
|
|
|
|
|
Shape {
|
|
|
|
|
Circle { x: 10; y: 10; radius: 10 }
|
|
|
|
|
Circle { x: 10; y: 10; radius: 7 }
|
|
|
|
|
}
|
|
|
|
|
}
|
2015-08-31 18:06:36 +02:00
|
|
|
|
2016-06-12 20:07:15 +02:00
|
|
|
Relation {
|
|
|
|
|
id: Controlflow
|
|
|
|
|
pattern: solid
|
|
|
|
|
color: A
|
|
|
|
|
End {
|
|
|
|
|
end: A
|
|
|
|
|
elements: Start, Activity, Condition, HorizontalBar, VerticalBar
|
|
|
|
|
}
|
|
|
|
|
End {
|
|
|
|
|
end: B
|
|
|
|
|
elements: Activity, Condition, HorizontalBar, VerticalBar, Termination
|
2016-08-23 21:47:12 +02:00
|
|
|
head: arrow
|
2016-06-12 20:07:15 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Toolbar {
|
|
|
|
|
id: ActivityToolbar
|
|
|
|
|
element: Start, Activity, Condition, HorizontalBar, VerticalBar
|
|
|
|
|
Tools {
|
|
|
|
|
Tool { element: Controlflow }
|
|
|
|
|
Tool { element: dependency }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2015-08-31 18:06:36 +02:00
|
|
|
// **************
|
|
|
|
|
// ** Toolbars **
|
|
|
|
|
// **************
|
|
|
|
|
|
2015-12-30 23:38:34 +01:00
|
|
|
Toolbar {
|
|
|
|
|
id: Classes
|
|
|
|
|
Tools {
|
|
|
|
|
Tool { title: "Package"; element: package }
|
|
|
|
|
Tool { title: "Class"; element: class }
|
|
|
|
|
Tool { title: "Interface"; element: class; stereotype: "interface" }
|
|
|
|
|
Tool { title: "Control"; element: class; stereotype: "control" }
|
|
|
|
|
Tool { title: "Entity"; element: class; stereotype: "entity" }
|
|
|
|
|
Tool { title: "Boundary"; element: class; stereotype: "boundary" }
|
|
|
|
|
Separator
|
|
|
|
|
Tool { title: "Annotation"; element: annotation }
|
|
|
|
|
Tool { title: "Boundary"; element: boundary }
|
2017-07-15 15:37:19 +02:00
|
|
|
Tool { title: "Swimlane"; element: swimlane }
|
2015-12-30 23:38:34 +01:00
|
|
|
}
|
|
|
|
|
}
|
2015-08-31 18:06:36 +02:00
|
|
|
|
2015-12-30 23:38:34 +01:00
|
|
|
Toolbar {
|
|
|
|
|
id: Components
|
|
|
|
|
Tools {
|
|
|
|
|
Tool { title: "Package"; element: package }
|
|
|
|
|
Tool { title: "Component"; element: component }
|
|
|
|
|
Tool { title: "Database"; element: component; stereotype: "database" }
|
|
|
|
|
Separator
|
|
|
|
|
Tool { title: "Annotation"; element: annotation }
|
|
|
|
|
Tool { title: "Boundary"; element: boundary }
|
2017-07-15 15:37:19 +02:00
|
|
|
Tool { title: "Swimlane"; element: swimlane }
|
2015-12-30 23:38:34 +01:00
|
|
|
}
|
|
|
|
|
}
|
2015-08-31 18:06:36 +02:00
|
|
|
|
2015-12-30 23:38:34 +01:00
|
|
|
Toolbar {
|
|
|
|
|
id: UseCases
|
|
|
|
|
Tools {
|
|
|
|
|
Tool { title: "Package"; element: package }
|
|
|
|
|
Tool { title: "UseCase"; element: item; stereotype: "usecase" }
|
|
|
|
|
Tool { title: "Actor"; element: item; stereotype: "actor" }
|
|
|
|
|
Separator
|
|
|
|
|
Tool { title: "Annotation"; element: annotation }
|
|
|
|
|
Tool { title: "Boundary"; element: boundary }
|
2017-07-15 15:37:19 +02:00
|
|
|
Tool { title: "Swimlane"; element: swimlane }
|
2015-12-30 23:38:34 +01:00
|
|
|
}
|
|
|
|
|
}
|
2015-08-31 18:06:36 +02:00
|
|
|
|
2015-12-30 23:38:34 +01:00
|
|
|
Toolbar {
|
|
|
|
|
id: Activities
|
|
|
|
|
Tools {
|
|
|
|
|
Tool { title: "Start"; element: item; stereotype: "start" }
|
|
|
|
|
Tool { title: "Activity"; element: item; stereotype: "activity" }
|
|
|
|
|
Tool { title: "Condition"; element: item; stereotype: "condition" }
|
|
|
|
|
Tool { title: "Horiz. Bar"; element: item; stereotype: "horizontalbar" }
|
|
|
|
|
Tool { title: "Vert. Bar"; element: item; stereotype: "verticalbar" }
|
|
|
|
|
Tool { title: "Termination"; element: item; stereotype: "termination" }
|
|
|
|
|
Separator
|
|
|
|
|
Tool { title: "Annotation"; element: annotation }
|
|
|
|
|
Tool { title: "Boundary"; element: boundary }
|
2017-07-15 15:37:19 +02:00
|
|
|
Tool { title: "Swimlane"; element: swimlane }
|
2015-12-30 23:38:34 +01:00
|
|
|
}
|
|
|
|
|
}
|