Class EmfOptionsGroup
java.lang.Object
com.nomagic.magicdraw.core.options.OptionsGroup
com.nomagic.magicdraw.core.options.AbstractPropertyOptionsGroup
com.nomagic.magicdraw.core.options.VersionedOptionsGroup
com.nomagic.magicdraw.emfuml2xmi.envoptions.BaseEmfOptionsGroup
com.nomagic.magicdraw.emfuml2xmi.v2.envoptions.EmfOptionsGroup
- All Implemented Interfaces:
BaseOptions
,Options
,Cloneable
Eclipse UML2 XMI v2.x export/import environment options.
-
Field Summary
Fields inherited from class com.nomagic.magicdraw.emfuml2xmi.envoptions.BaseEmfOptionsGroup
OPTION_ASK_BEFORE_EXPORT, OPTION_EXPORT_ALWAYS, OPTION_NEVER
Fields inherited from class com.nomagic.magicdraw.core.options.VersionedOptionsGroup
CURRENT_EXPORTER_VERSION
Fields inherited from interface com.nomagic.magicdraw.emfuml2xmi.envoptions.BaseOptions
ID_EXPORT_POLICY_GENERATE_ID, ID_EXPORT_POLICY_USE_ELEMENT_ID, ID_EXPORT_POLICY_USE_SERVER_ID, OPTION_ASK_BEFORE_EXPORT, OPTION_EXPORT_ALWAYS, OPTION_NEVER
Fields inherited from interface com.nomagic.magicdraw.emfuml2xmi.v2.envoptions.Options
CHANGE_STEREOTYPE_PROPERTY_TYPE_STEREOTYPE_MULTIPLE_EXTENDED_METACLASS, CHANGE_STEREOTYPE_PROPERTY_TYPE_STEREOTYPE_NOT_CHANGE, CHANGE_STEREOTYPE_PROPERTY_TYPE_STEREOTYPE_SINGLE_EXTENDED_METACLASS
-
Method Summary
Modifier and TypeMethodDescriptionstatic EmfOptionsGroup
Get the Eclipse UML2 XMI v2.x export/import options.boolean
Checks if to change stereotype property type stereotype to metaclass on export.void
setChangeStereotypePropertyTypeStereotype
(boolean change) Set if to change stereotype property type stereotype to metaclass on export.Methods inherited from class com.nomagic.magicdraw.emfuml2xmi.envoptions.BaseEmfOptionsGroup
getAutoExportOption, getIDExportPolicy, isApplyAllProfilesToRootModel, isAskToOverwriteExportedFiles, isDisplayWarnings, isMoveStereotypeToNestingProfile, isPreserveIDsOnImport, isShowMappinWarning, isShowStereotypeFromSameWarning, isShowStereotypePropertyTypeChangeWarning, isUseKeywordAsStereotypeName, setApplyAllProfilesToRootModel, setAskToOverwriteExportedFiles, setAutoExportOption, setDisplayWarnings, setIDExportPolicy, setMoveStereotypeToNestingProfile, setPreserveIDsOnImport, setShowMappinWarning, setShowStereotypeFromSameWarning, setShowStereotypePropertyTypeChangeWarning, setUseKeywordAsStereotypeName
Methods inherited from class com.nomagic.magicdraw.core.options.VersionedOptionsGroup
beforeLoad, getExporterVersion, getOptionsToSave, isExporterVersionEarlier, isExporterVersionEarlier
Methods inherited from class com.nomagic.magicdraw.core.options.AbstractPropertyOptionsGroup
addInvisibleProperty, addProperty, addProperty, getOptions, getProperty, getVisibleOptions, removeProperty, setOptions, setPropertiesInvisible, setPropertyInvisible
Methods inherited from class com.nomagic.magicdraw.core.options.OptionsGroup
getIcon
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.nomagic.magicdraw.emfuml2xmi.envoptions.BaseOptions
getAutoExportOption, getIDExportPolicy, isApplyAllProfilesToRootModel, isAskToOverwriteExportedFiles, isDisplayWarnings, isMoveStereotypeToNestingProfile, isShowMappinWarning, isShowStereotypeFromSameWarning, isShowStereotypePropertyTypeChangeWarning, isUseKeywordAsStereotypeName, setApplyAllProfilesToRootModel, setAskToOverwriteExportedFiles, setAutoExportOption, setDisplayWarnings, setIDExportPolicy, setMoveStereotypeToNestingProfile, setShowMappinWarning, setShowStereotypeFromSameWarning, setShowStereotypePropertyTypeChangeWarning, setUseKeywordAsStereotypeName
-
Method Details
-
getEMFOptions
Get the Eclipse UML2 XMI v2.x export/import options. Options must accessed only after the application is started.- Returns:
- loaded options.
-
setChangeStereotypePropertyTypeStereotype
@OpenApi public void setChangeStereotypePropertyTypeStereotype(boolean change) Set if to change stereotype property type stereotype to metaclass on export.- Specified by:
setChangeStereotypePropertyTypeStereotype
in interfaceOptions
- Parameters:
change
-
-
isChangeStereotypePropertyTypeStereotype
@OpenApi public boolean isChangeStereotypePropertyTypeStereotype()Checks if to change stereotype property type stereotype to metaclass on export.- Specified by:
isChangeStereotypePropertyTypeStereotype
in interfaceOptions
- Returns:
- true if stereotype property type stereotype should be changed to metaclass.
-