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
,java.lang.Cloneable
@OpenApi public class EmfOptionsGroup extends BaseEmfOptionsGroup implements Options
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, PRESERVE_IDS_DO_NOT, PRESERVE_IDS_ON_EXPORT, PRESERVE_IDS_ON_IMPORT, PRESERVE_IDS_ON_IMPORT_EXPORT
-
Fields inherited from class com.nomagic.magicdraw.core.options.VersionedOptionsGroup
CURRENT_EXPORTER_VERSION
-
Fields inherited from interface com.nomagic.magicdraw.emfuml2xmi.envoptions.BaseOptions
OPTION_ASK_BEFORE_EXPORT, OPTION_EXPORT_ALWAYS, OPTION_NEVER, PRESERVE_IDS_DO_NOT, PRESERVE_IDS_ON_EXPORT, PRESERVE_IDS_ON_IMPORT, PRESERVE_IDS_ON_IMPORT_EXPORT
-
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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EmfOptionsGroup
getEMFOptions()
Get the Eclipse UML2 XMI v2.x export/import options.boolean
isChangeStereotypePropertyTypeStereotype()
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, getPreserveIDs, isApplyAllProfilesToRootModel, isAskToOverwriteExportedFiles, isDisplayWarnings, isMoveStereotypeToNestingProfile, isShowMappinWarning, isShowStereotypeFromSameWarning, isShowStereotypePropertyTypeChangeWarning, isUseKeywordAsStereotypeName, setApplyAllProfilesToRootModel, setAskToOverwriteExportedFiles, setAutoExportOption, setDisplayWarnings, setMoveStereotypeToNestingProfile, setPreserveIDs, 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, getPreserveIDs, isApplyAllProfilesToRootModel, isAskToOverwriteExportedFiles, isDisplayWarnings, isMoveStereotypeToNestingProfile, isShowMappinWarning, isShowStereotypeFromSameWarning, isShowStereotypePropertyTypeChangeWarning, isUseKeywordAsStereotypeName, setApplyAllProfilesToRootModel, setAskToOverwriteExportedFiles, setAutoExportOption, setDisplayWarnings, setMoveStereotypeToNestingProfile, setPreserveIDs, setShowMappinWarning, setShowStereotypeFromSameWarning, setShowStereotypePropertyTypeChangeWarning, setUseKeywordAsStereotypeName
-
-
-
-
Method Detail
-
getEMFOptions
@OpenApi public static EmfOptionsGroup 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.
-
-