Package com.nomagic.magicdraw.icons
Class ElementIconsRegistry
- java.lang.Object
-
- com.nomagic.magicdraw.icons.ElementIconsRegistry
-
- Direct Known Subclasses:
ElementIcon
@OpenApiAll public class ElementIconsRegistry extends java.lang.Object
Utility class for registering icons for Elements by class type and defining some constants.
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ElementIconsRegistry()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static ResizableIcon
getIcon(java.lang.Class classType)
static java.util.Map<java.lang.Class,ResizableIcon>
internalGetIconByTypeMap()
protected static ResizableIcon
loadDoubleSizeIcon(java.lang.Class<?> resourceClass, java.lang.String name)
private static ResizableIcon
loadDoubleSizeIcon(java.lang.String name)
private static void
loadIconForElement(java.lang.Class<? extends Element> elementClass, java.lang.String iconName)
protected static void
putIcon(java.lang.Class classType, ResizableIcon icon)
-
-
-
Field Detail
-
iconsByType
private static final java.util.Map<java.lang.Class,ResizableIcon> iconsByType
-
NONE_ICON
public static final ResizableIcon NONE_ICON
-
ABSTRACT_CLASS
public static final ResizableIcon ABSTRACT_CLASS
-
METACLASS
public static final ResizableIcon METACLASS
-
LINK
public static final ResizableIcon LINK
-
USECASE_INSTANCE
public static final ResizableIcon USECASE_INSTANCE
-
SUBSYSTEM_INSTANCE
public static final ResizableIcon SUBSYSTEM_INSTANCE
-
COMPONENT_INSTANCE
public static final ResizableIcon COMPONENT_INSTANCE
-
NODE_INSTANCE
public static final ResizableIcon NODE_INSTANCE
-
ARTIFACT_INSTANCE
public static final ResizableIcon ARTIFACT_INSTANCE
-
DEVICE_INSTANCE
public static final ResizableIcon DEVICE_INSTANCE
-
EXECUTION_ENVIRONMENT_INSTANCE
public static final ResizableIcon EXECUTION_ENVIRONMENT_INSTANCE
-
ARTIFACT_DEPLOYMENT_INSTANCE
public static final ResizableIcon ARTIFACT_DEPLOYMENT_INSTANCE
-
CALL_MESSAGE
public static final ResizableIcon CALL_MESSAGE
-
CREATE_MESSAGE
public static final ResizableIcon CREATE_MESSAGE
-
DESTROY_MESSAGE
public static final ResizableIcon DESTROY_MESSAGE
-
SEND_MESSAGE
public static final ResizableIcon SEND_MESSAGE
-
REPLY_MESSAGE
public static final ResizableIcon REPLY_MESSAGE
-
ASSEMBLY_CONNECTOR
public static final ResizableIcon ASSEMBLY_CONNECTOR
-
DELEGATION_CONNECTOR
public static final ResizableIcon DELEGATION_CONNECTOR
-
PROFILE_MODEL_LIBRARY
public static final ResizableIcon PROFILE_MODEL_LIBRARY
-
MODEL_MODEL_LIBRARY
public static final ResizableIcon MODEL_MODEL_LIBRARY
-
PACKAGE_MODEL_LIBRARY
public static final ResizableIcon PACKAGE_MODEL_LIBRARY
-
DIRECTED_ASSOCIATION
public static final ResizableIcon DIRECTED_ASSOCIATION
-
DIRECTED_AGGREGATION
public static final ResizableIcon DIRECTED_AGGREGATION
-
AGGREGATION
public static final ResizableIcon AGGREGATION
-
COMPOSITION
public static final ResizableIcon COMPOSITION
-
DIRECTED_COMPOSITION
public static final ResizableIcon DIRECTED_COMPOSITION
-
NON_NAVIGABLE_ASSOCIATION
public static final ResizableIcon NON_NAVIGABLE_ASSOCIATION
-
ACCEPT_TIME_EVENT_ACTION
public static final ResizableIcon ACCEPT_TIME_EVENT_ACTION
-
SUBSYSTEM
public static final ResizableIcon SUBSYSTEM
-
COMPOSITE_STATE
public static final ResizableIcon COMPOSITE_STATE
-
SUBMACHINE_STATE
public static final ResizableIcon SUBMACHINE_STATE
-
CONCURRENT_STATE
public static final ResizableIcon CONCURRENT_STATE
-
INITIAL_PSEUDO_STATE
public static final ResizableIcon INITIAL_PSEUDO_STATE
-
DEEP_HISTORY_PSEUDO_STATE
public static final ResizableIcon DEEP_HISTORY_PSEUDO_STATE
-
SHALLOW_HISTORY_PSEUDO_STATE
public static final ResizableIcon SHALLOW_HISTORY_PSEUDO_STATE
-
JOIN_PSEUDO_STATE
public static final ResizableIcon JOIN_PSEUDO_STATE
-
FORK_PSEUDO_STATE
public static final ResizableIcon FORK_PSEUDO_STATE
-
JUNCTION_PSEUDO_STATE
public static final ResizableIcon JUNCTION_PSEUDO_STATE
-
CHOICE_PSEUDO_STATE
public static final ResizableIcon CHOICE_PSEUDO_STATE
-
ENTRY_POINT_PSEUDO_STATE
public static final ResizableIcon ENTRY_POINT_PSEUDO_STATE
-
EXIT_POINT_PSEUDO_STATE
public static final ResizableIcon EXIT_POINT_PSEUDO_STATE
-
TERMINATE_PSEUDO_STATE
public static final ResizableIcon TERMINATE_PSEUDO_STATE
-
DOCUMENTATION
public static final ResizableIcon DOCUMENTATION
-
NARY_ASSOCIATION
public static final ResizableIcon NARY_ASSOCIATION
-
-
Method Detail
-
internalGetIconByTypeMap
public static java.util.Map<java.lang.Class,ResizableIcon> internalGetIconByTypeMap()
-
loadDoubleSizeIcon
private static ResizableIcon loadDoubleSizeIcon(java.lang.String name)
-
loadDoubleSizeIcon
protected static ResizableIcon loadDoubleSizeIcon(java.lang.Class<?> resourceClass, java.lang.String name)
-
loadIconForElement
private static void loadIconForElement(java.lang.Class<? extends Element> elementClass, java.lang.String iconName)
-
getIcon
protected static ResizableIcon getIcon(java.lang.Class classType)
-
putIcon
protected static void putIcon(java.lang.Class classType, ResizableIcon icon)
-
-