Class AnyToAnyModelTransformationInfo
java.lang.Object
com.nomagic.magicdraw.modeltransformations.AbstractModelTransformationInfo
com.nomagic.magicdraw.modeltransformations.impl.any_to_any.AnyToAnyModelTransformationInfo
- All Implemented Interfaces:
ModelTransformationInfo
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAnyToAnyModelTransformationInfo(String transformationName, String transformationDescription, String iconName) AnyToAnyModelTransformationInfo(String transformationName, String transformationDescription, String iconName, String[] requiredProfiles) -
Method Summary
Modifier and TypeMethodDescriptionprotected PropertyManagerReturns property manager with default properties for transformationReturns name of default type map profileIn case there is no user selected option to select type map specific type map can be provided.Returns model transformation for this infoVisible classes that will be displayed in transformation source selectionbooleanbooleanbooleanGetter for type mapping supportbooleanIs element visible in source selection tree.protected booleanloadProfiles(Project project) booleanprepareTransformation(Project project) Prepares transformationMethods inherited from class com.nomagic.magicdraw.modeltransformations.AbstractModelTransformationInfo
getDescriptionAsStream, getIcon, getTransformationName, isDefaulTypeMapProfileMappingOrderForwardMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.nomagic.magicdraw.modeltransformations.ModelTransformationInfo
canCreateNewElements, shouldPreloadDiagram
-
Field Details
-
MT_RESET_SYMBOL_PROPERTIES_TO_DEFAULT
- See Also:
-
-
Constructor Details
-
AnyToAnyModelTransformationInfo
public AnyToAnyModelTransformationInfo() -
AnyToAnyModelTransformationInfo
-
AnyToAnyModelTransformationInfo
-
-
Method Details
-
getDefaulTypeMapProfileName
Description copied from interface:ModelTransformationInfoReturns name of default type map profile- Returns:
- name of default type map
-
prepareTransformation
Description copied from interface:ModelTransformationInfoPrepares transformation- Parameters:
project- project- Returns:
- true if preparation was successful, false in other case
-
loadProfiles
-
getTransformation
Description copied from interface:ModelTransformationInfoReturns model transformation for this info- Returns:
- model transformation
-
isVisibleInBrowser
Description copied from interface:ModelTransformationInfoIs element visible in source selection tree.- Parameters:
e- element to check- Returns:
- true if visible
-
getVisibleClasses
Visible classes that will be displayed in transformation source selection- Returns:
- visible class types to show in transformation source selection
-
createPropertyManager
-
getDefaultPropertyManager
Description copied from interface:ModelTransformationInfoReturns property manager with default properties for transformation- Returns:
- property manager
-
isTypeMappingSupported
public boolean isTypeMappingSupported()Description copied from interface:ModelTransformationInfoGetter for type mapping support- Returns:
- true if type mapping is supported by transformation
-
isSupportsLeaveIntactModel
public boolean isSupportsLeaveIntactModel() -
isOnlyInPlace
public boolean isOnlyInPlace()- Returns:
- true if transformation supports only in place transformation.
-
getSpecificTypeMap
Description copied from interface:ModelTransformationInfoIn case there is no user selected option to select type map specific type map can be provided.- Returns:
TypeMapProfilewhich should be used in this transformation.
-