See: Description
Interface | Description |
---|---|
EditRequestParameters |
Defines the names of parameters that are supported in requests to modify
models.
|
IActivityEdgeElementType |
Implemented by element types that represent a kind of UML activity edge.
|
IActivityEdgeSpecializationType | |
IActivityNodeElementType |
Implemented by element types that represent a kind of UML activity node.
|
IActivityNodeSpecializationType | |
IAnnotationElementType |
Implemented by element types that specialize the ecore annotation.
|
ICombinedFragmentElementType |
Implemented by element types that specialize the UML combined fragment type.
|
IConnectorElementType |
Implemented by element types that specialize the UML connector type.
|
IControlNodeElementType |
Implemented by element types that represent a kind of UML control node.
|
IControlNodeSpecializationType | |
IDiagramElementType |
Element type that represents a kind of notation diagram.
|
IInstanceElementType |
Element type that represents a kind of UML instance specification.
|
IInteractionOverviewActivityEdgeType | |
IInteractionOverviewActivityNodeType | |
IInteractionOverviewControlNodeType | |
IMessageElementType | Deprecated
use IMessageElementTypeEx interface instead.
|
IMessageElementTypeEx |
Implemented by element types that specialize the UML message type.
|
IPseudostateElementType |
Implemented by element types that specialize the UML pseudostate type.
|
IStateElementType |
Implemented by element types that specialize the UML state type.
|
IStereotypedElementType |
Interface for element types that are stereotyped.
|
IStereotypedType |
Stereotyped types are types that wrap a base UML type and allow the user to
pick a stereotype to apply to instances of the base UML type.
|
ITemplateParameterElementType |
Implemented by element types that specialize the UML parametered element
type.
|
IUMLElementType |
Common interface implemented by UML Element Types.
|
Class | Description |
---|---|
NotationElementTypes |
Defines the notation element types which are contributed using the
org.eclipse.gmf.runtime.emf.type.core.elementTypes extension point. |
UMLElementFactory |
A factory for commands to edit model elements.
|
UMLElementTypes |
Defines the UML element types which are contributed using the
org.eclipse.gmf.runtime.emf.type.core.elementTypes extension point. |
Classes and interfaces for modifying models using UML Modeler's extensible commands.
The UML type API enriches common editing commands for many UML element types by extending them with "advice" comprising additional commands that are automatically composed with the basic editing commands such as element creation and deletion. For example, when a UML element is created, it is often assigned a default name and sometimes other related elements are also created, such as a collaboration and an interaction to provide the context for a new sequence diagram. Likewise, when a UML element is deleted from a model, some related elements are also deleted, such as an association when one of its member properties is deleted.
Extensible commands to create, move and destroy model elements are
provided by the UMLElementFactory
, which also has corresponding
convenience methods to perform the creation, move or destroy directly. These editing commands
modify the model using the Rational UML Modeler Platform editing domain. Some of the
factory methods accept a map of requestParameters
, whose keys can be any of
the parameter names declared in the EditRequestParameters
.
The request parameter values carry information used by the extensible commands to perform
the model editing operations. For example, the value of the
EditRequestParameters.PROPERTY_TYPE
parameter is used by
the commands to initialize the type of a new UML property when it is created.
UMLElementTypes
declares all of the UML element
types (metamodel types and specialization types) available for use and extension. Some
of these types implement additional interfaces which provide access to additional
information carried in the type. For example, an IStereotypedElementType
has a getter for the name of the stereotype that is applied to elements of its kind. The UML diagram
types are declared in NotationElementTypes
.