@OpenApiAll
public interface ModelTransformationInfo
AbstractModelTransformationInfo
Modifier and Type | Method and Description |
---|---|
default boolean |
canCreateNewElements()
If true, new elements can be created as the result of transformation.
|
PropertyManager |
getDefaultPropertyManager()
Returns property manager with default properties for transformation
|
java.lang.String |
getDefaulTypeMapProfileName()
Returns name of default type map profile
|
java.io.InputStream |
getDescriptionAsStream()
Returns model transformation description as stream
|
javax.swing.Icon |
getIcon()
Returns model transformation icon
|
TypeMapProfile |
getSpecificTypeMap()
In case there is no user selected option to select type map specific type map can be provided.
|
ModelTransformation |
getTransformation()
Returns model transformation for this info
|
java.lang.String |
getTransformationName()
Getter for model transformation name
|
boolean |
isDefaulTypeMapProfileMappingOrderForward()
Returns mapping order of default type map profile
|
boolean |
isOnlyInPlace() |
boolean |
isSupportsLeaveIntactModel() |
boolean |
isTypeMappingSupported()
Getter for type mapping support
|
boolean |
isVisibleInBrowser(BaseElement e)
Is element visible in source selection tree.
|
boolean |
prepareTransformation(Project project)
Prepares transformation
|
default boolean |
shouldPreloadDiagram(DiagramPresentationElement diagram,
java.util.Collection<BaseElement> elementsInScope) |
java.lang.String getTransformationName()
javax.swing.Icon getIcon()
ModelTransformation getTransformation()
PropertyManager getDefaultPropertyManager()
boolean isTypeMappingSupported()
java.lang.String getDefaulTypeMapProfileName()
boolean isDefaulTypeMapProfileMappingOrderForward()
boolean prepareTransformation(Project project)
project
- boolean isVisibleInBrowser(BaseElement e)
e
- element to checkjava.io.InputStream getDescriptionAsStream()
boolean isSupportsLeaveIntactModel()
boolean isOnlyInPlace()
TypeMapProfile getSpecificTypeMap()
TypeMapProfile
which should be used in this transformation.default boolean canCreateNewElements()
default boolean shouldPreloadDiagram(DiagramPresentationElement diagram, java.util.Collection<BaseElement> elementsInScope)
diagram
- any not loaded diagram in the projectelementsInScope
- all elements in scope of this transformation