@OpenApiAll
public class ModelTransformationsWizardInformation
extends com.nomagic.magicdraw.ui.dialogs.wizards.WizardInformation
Modifier and Type | Field and Description |
---|---|
static java.util.Set<ModelTransformationInfo> |
notUseTypeMapInfos |
Constructor and Description |
---|
ModelTransformationsWizardInformation()
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<BaseElement> |
getFilteredObjects()
Returns collection of legal selected objects
|
java.lang.String |
getLastSelectedTransformationName()
Returns last selected transformation name
|
boolean |
getLastSelectedTypeMapDirection()
Returns last selected type map direction
|
ModelTransformationInfo |
getModelTransformationInfo()
Getter for Model Transformation Info
|
PropertyManager |
getPropertyManager()
Returns property manager
|
TypeMapProfile |
getSelectedTypeMapProfile()
Returns selected type map profile
|
Package |
getTargetPackage()
Getter for target package
|
java.util.Collection |
getTransformations() |
TypeMapProfile[] |
getTypeMapProfiles()
Returns loaded type map profiles
|
boolean |
isTransformationPrepared()
Checks if transformation is prepared
|
boolean |
isTransformInPlace()
Getter for transformation in place
|
void |
loadProperties()
Loads environmental properties
|
static void |
registerInfoWithoutTypeMaps(ModelTransformationInfo info) |
void |
resetPropertyManager()
Resets property manager
|
void |
saveSettings()
Saves transformation environmental and project info
|
void |
setModelTransformationInfo(ModelTransformationInfo info)
Setter for Model Transformation Info
|
void |
setPropertyManager(PropertyManager propertyManager)
Sets property manager
|
void |
setSelectedTypeMapProfile(TypeMapProfile tmp)
Set the selected type map profile.
|
void |
setShowWarningForSourceSelectedAsDestination(boolean show)
Set show warning status for source selection as destination
|
void |
setShowWarningForTransformationInPlace(boolean show)
Set show warning status for transformation in place
|
void |
setTargetPackage(Package mp)
Setter for target package
|
void |
setTransformationPrepared(boolean transformationPrepared)
Set transformation status
|
void |
setTransformations(java.util.Collection transformations)
Setting the Transformations that will appear in the SelectTransformationTypePanel
|
void |
setTransformInPlace(boolean transformInPlace)
Setter for transformation in place
|
boolean |
showWarningForSourceSelectedAsDestination()
Do we need to show warning for source selection as destination
|
boolean |
showWarningForTransformationInPlace()
Do we need to show warning for transformation in place
|
static void |
unRegisterInfoWithoutTypeMaps(ModelTransformationInfo info) |
addSymbolProperties, createElementsStylesMap, getCreatableTypes, getDeprecatedSymbolPropertiesIDs, getDiagramType, getFirstDiagramType, getName, getObjects, getParent, getSelectableTypes, getSelectedRelationShips, getSymbolProperties, setCreatableTypes, setDeprecatedSymbolPropertiesIDs, setDiagramType, setDiagramType, setName, setObjects, setParent, setSelectableTypes, setSymbolProperties
public static java.util.Set<ModelTransformationInfo> notUseTypeMapInfos
public ModelTransformationsWizardInformation()
public void saveSettings()
public void loadProperties()
public PropertyManager getPropertyManager()
public void setPropertyManager(PropertyManager propertyManager)
propertyManager
- propertiespublic void resetPropertyManager()
public TypeMapProfile[] getTypeMapProfiles()
public boolean getLastSelectedTypeMapDirection()
public java.lang.String getLastSelectedTransformationName()
public boolean isTransformationPrepared()
public void setTransformationPrepared(boolean transformationPrepared)
transformationPrepared
- true for preparedpublic ModelTransformationInfo getModelTransformationInfo()
public void setModelTransformationInfo(ModelTransformationInfo info)
info
- Model Transformation Infopublic void setTargetPackage(@CheckForNull Package mp)
mp
- target packagepublic Package getTargetPackage()
public void setTransformInPlace(boolean transformInPlace)
transformInPlace
- true if transformation in placepublic boolean isTransformInPlace()
public void setSelectedTypeMapProfile(TypeMapProfile tmp)
tmp
- TypeMapProfile.public TypeMapProfile getSelectedTypeMapProfile()
public boolean showWarningForTransformationInPlace()
public void setShowWarningForTransformationInPlace(boolean show)
show
- warning statuspublic boolean showWarningForSourceSelectedAsDestination()
public void setShowWarningForSourceSelectedAsDestination(boolean show)
show
- warning statuspublic java.util.Collection<BaseElement> getFilteredObjects()
public static void registerInfoWithoutTypeMaps(ModelTransformationInfo info)
public static void unRegisterInfoWithoutTypeMaps(ModelTransformationInfo info)
public java.util.Collection getTransformations()
public void setTransformations(java.util.Collection transformations)
transformations
- a collection of ModelTransformationInfos