@OpenApiAll public class AnyToAnyModelTransformationInfo extends AbstractModelTransformationInfo
ModelTransformation
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MT_RESET_SYMBOL_PROPERTIES_TO_DEFAULT |
Constructor and Description |
---|
AnyToAnyModelTransformationInfo() |
AnyToAnyModelTransformationInfo(java.lang.String transformationName,
java.lang.String transformationDescription,
java.lang.String iconName) |
AnyToAnyModelTransformationInfo(java.lang.String transformationName,
java.lang.String transformationDescription,
java.lang.String iconName,
java.lang.String[] requiredProfiles) |
Modifier and Type | Method and Description |
---|---|
protected PropertyManager |
createPropertyManager() |
PropertyManager |
getDefaultPropertyManager()
Returns property manager with default properties for transformation
|
java.lang.String |
getDefaulTypeMapProfileName()
Returns name of default type map profile
|
com.nomagic.magicdraw.modeltransformations.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
|
boolean |
isOnlyInPlace() |
boolean |
isSupportsLeaveIntactModel() |
boolean |
isTypeMappingSupported()
Getter for type mapping support
|
boolean |
isVisibleInBrowser(BaseElement e)
Is element visible in source selection tree.
|
protected boolean |
loadProfiles(Project project) |
boolean |
prepareTransformation(Project project)
Prepares transformation
|
getDescriptionAsStream, getIcon, getTransformationName, isDefaulTypeMapProfileMappingOrderForward
public static final java.lang.String MT_RESET_SYMBOL_PROPERTIES_TO_DEFAULT
public AnyToAnyModelTransformationInfo()
public AnyToAnyModelTransformationInfo(java.lang.String transformationName, java.lang.String transformationDescription, java.lang.String iconName)
public AnyToAnyModelTransformationInfo(java.lang.String transformationName, java.lang.String transformationDescription, java.lang.String iconName, java.lang.String[] requiredProfiles)
public java.lang.String getDefaulTypeMapProfileName()
ModelTransformationInfo
public boolean prepareTransformation(Project project)
ModelTransformationInfo
protected boolean loadProfiles(Project project)
public ModelTransformation getTransformation()
ModelTransformationInfo
public boolean isVisibleInBrowser(BaseElement e)
ModelTransformationInfo
e
- element to checkprotected PropertyManager createPropertyManager()
public PropertyManager getDefaultPropertyManager()
ModelTransformationInfo
public boolean isTypeMappingSupported()
ModelTransformationInfo
public boolean isSupportsLeaveIntactModel()
public boolean isOnlyInPlace()
public com.nomagic.magicdraw.modeltransformations.TypeMapProfile getSpecificTypeMap()
ModelTransformationInfo
TypeMapProfile
which should be used in this transformation.