Package com.nomagic.magicdraw.ui
Enum Class LocationInTool
- All Implemented Interfaces:
Serializable
,Comparable<LocationInTool>
,Constable
Location in MagicDraw tool. Used as invocation information for some actions (Element creation, diagram opening, representation text creation and etc.)
-
Enum Constant Summary
Enum ConstantDescriptionapplication wide context, i.e a notification or some ui element that is used in many placesbrowser (containment) windowinside the diagram panela context menu inside the diagram paneltop toolbar bar of the diagrama context menu for a diagram window tabmain MD menu and toolbarproject specific window location, i.e validation results or find usageselement specification dialogundefined context -
Method Summary
Modifier and TypeMethodDescriptionstatic LocationInTool
Returns the enum constant of this class with the specified name.static LocationInTool[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
unknown
undefined context -
application
application wide context, i.e a notification or some ui element that is used in many places -
project_window
project specific window location, i.e validation results or find usages -
specification_dialog
element specification dialog -
main_toolbar
main MD menu and toolbar -
browser
browser (containment) window -
diagram
inside the diagram panel -
diagram_toolbar
top toolbar bar of the diagram
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-