@OpenApi public abstract class BaseEmfOptionsGroup extends com.nomagic.magicdraw.core.options.VersionedOptionsGroup implements BaseOptions
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
OPTION_ASK_BEFORE_EXPORT
Auto-export to Eclipse UML2 XMI option.
|
static java.lang.String |
OPTION_EXPORT_ALWAYS
Auto-export to Eclipse UML2 XMI option.
|
static java.lang.String |
OPTION_NEVER
Auto-export to Eclipse UML2 XMI option.
|
static java.lang.String |
PRESERVE_IDS_DO_NOT
Preserve ID option.
|
static java.lang.String |
PRESERVE_IDS_ON_EXPORT
Preserve ID option.
|
static java.lang.String |
PRESERVE_IDS_ON_IMPORT
Preserve ID option.
|
static java.lang.String |
PRESERVE_IDS_ON_IMPORT_EXPORT
Preserve ID option.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAutoExportOption()
Get auto-export to Eclipse UML2 XMI option.
|
java.lang.String |
getPreserveIDs()
Get preserve IDs option.
|
boolean |
isApplyAllProfilesToRootModel()
Checks if to apply all profiles to root Model on export.
|
boolean |
isAskToOverwriteExportedFiles()
Chekcks if ask to overwrite exported files.
|
boolean |
isDisplayWarnings()
Checks if to show warnings in Message Window on export/import.
|
boolean |
isMoveStereotypeToNestingProfile()
Checks if move stereotype to nesting profile if stereotype is not directly contained by profile.
|
boolean |
isShowMappinWarning()
Checks if show warnings about (datatypes, metaclasses) mappings.
|
boolean |
isShowStereotypeFromSameWarning()
Checks if show warnings about not applied stereotypes (from the same profile).
|
boolean |
isShowStereotypePropertyTypeChangeWarning()
Check if show warnings about stereotype property type change.
|
boolean |
isUseKeywordAsStereotypeName()
Checks if stereotype keyword is used as stereotype name on import.
|
void |
setApplyAllProfilesToRootModel(boolean apply)
Set if to apply all profiles to root Model on export.
|
void |
setAskToOverwriteExportedFiles(boolean ask)
Set if ask to overwrite exported files.
|
void |
setAutoExportOption(java.lang.String choice)
Set auto-export to Eclipse UML2 XMI on project save option.
|
void |
setDisplayWarnings(boolean display)
Set if to show warnings in Message Window on export/import.
|
void |
setMoveStereotypeToNestingProfile(boolean move)
Set if move stereotype to nesting profile if stereotype is not directly contained by profile.
|
void |
setPreserveIDs(java.lang.String choice)
Set preserve IDs option.
|
void |
setShowMappinWarning(boolean show)
Set if show warnings about (datatypes, metaclasses) mappings.
|
void |
setShowStereotypeFromSameWarning(boolean show)
Set if show warnings about not applied stereotypes (from the same profile).
|
void |
setShowStereotypePropertyTypeChangeWarning(boolean show)
Set if show warnings about stereotype property type change.
|
void |
setUseKeywordAsStereotypeName(boolean use)
Set if stereotype keyword is used as stereotype name on import.
|
getMagicDrawExporterVersion, getOptionsToSave, isOptionsSavedEarlier, isOptionsSavedEarlier, setDefaultValues
addInvisibleProperty, addProperty, addProperty, addProperty, getOptions, getProperty, getVisibleOptions, removeProperty, setOptions, setPropertiesInvisible, setPropertyInvisible
getGroupIcon, getIcon, getName
@OpenApi public static final java.lang.String OPTION_EXPORT_ALWAYS
@OpenApi public static final java.lang.String OPTION_ASK_BEFORE_EXPORT
@OpenApi public static final java.lang.String OPTION_NEVER
@OpenApi public static final java.lang.String PRESERVE_IDS_DO_NOT
@OpenApi public static final java.lang.String PRESERVE_IDS_ON_EXPORT
@OpenApi public static final java.lang.String PRESERVE_IDS_ON_IMPORT
@OpenApi public static final java.lang.String PRESERVE_IDS_ON_IMPORT_EXPORT
@OpenApi public void setAutoExportOption(java.lang.String choice)
setAutoExportOption
in interface BaseOptions
choice
- OPTION_ASK_BEFORE_EXPORT
,
OPTION_EXPORT_ALWAYS
,
OPTION_NEVER
@OpenApi public java.lang.String getAutoExportOption()
getAutoExportOption
in interface BaseOptions
OPTION_ASK_BEFORE_EXPORT
,
OPTION_EXPORT_ALWAYS
,
OPTION_NEVER
@OpenApi public void setAskToOverwriteExportedFiles(boolean ask)
setAskToOverwriteExportedFiles
in interface BaseOptions
ask
- true - ask to overwrite, otherwise - overwrite without asking.@OpenApi public boolean isAskToOverwriteExportedFiles()
isAskToOverwriteExportedFiles
in interface BaseOptions
@OpenApi public void setPreserveIDs(java.lang.String choice)
setPreserveIDs
in interface BaseOptions
choice
- PRESERVE_IDS_DO_NOT
,
PRESERVE_IDS_ON_EXPORT
,
PRESERVE_IDS_ON_IMPORT
,
PRESERVE_IDS_ON_IMPORT_EXPORT
@OpenApi public java.lang.String getPreserveIDs()
getPreserveIDs
in interface BaseOptions
PRESERVE_IDS_DO_NOT
,
PRESERVE_IDS_ON_EXPORT
,
PRESERVE_IDS_ON_IMPORT
,
PRESERVE_IDS_ON_IMPORT_EXPORT
@OpenApi public void setShowMappinWarning(boolean show)
setShowMappinWarning
in interface BaseOptions
show
- @OpenApi public boolean isShowMappinWarning()
isShowMappinWarning
in interface BaseOptions
@OpenApi public void setShowStereotypePropertyTypeChangeWarning(boolean show)
setShowStereotypePropertyTypeChangeWarning
in interface BaseOptions
show
- @OpenApi public boolean isShowStereotypePropertyTypeChangeWarning()
isShowStereotypePropertyTypeChangeWarning
in interface BaseOptions
@OpenApi public void setShowStereotypeFromSameWarning(boolean show)
setShowStereotypeFromSameWarning
in interface BaseOptions
show
- @OpenApi public boolean isShowStereotypeFromSameWarning()
isShowStereotypeFromSameWarning
in interface BaseOptions
@OpenApi public void setUseKeywordAsStereotypeName(boolean use)
setUseKeywordAsStereotypeName
in interface BaseOptions
use
- @OpenApi public boolean isUseKeywordAsStereotypeName()
isUseKeywordAsStereotypeName
in interface BaseOptions
@OpenApi public void setDisplayWarnings(boolean display)
setDisplayWarnings
in interface BaseOptions
display
- @OpenApi public boolean isDisplayWarnings()
isDisplayWarnings
in interface BaseOptions
@OpenApi public void setApplyAllProfilesToRootModel(boolean apply)
setApplyAllProfilesToRootModel
in interface BaseOptions
apply
- true to apply all profiles to root Model (on export).@OpenApi public boolean isApplyAllProfilesToRootModel()
isApplyAllProfilesToRootModel
in interface BaseOptions
@OpenApi public void setMoveStereotypeToNestingProfile(boolean move)
setMoveStereotypeToNestingProfile
in interface BaseOptions
move
- true move stereotype to nesting profile (on export).@OpenApi public boolean isMoveStereotypeToNestingProfile()
isMoveStereotypeToNestingProfile
in interface BaseOptions