Interface BaseOptions
-
- All Known Implementing Classes:
BaseEmfOptionsGroup,EmfOptionsGroup
@OpenApi public interface BaseOptionsEclipse UML2 XMI export/import environment options.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringOPTION_ASK_BEFORE_EXPORTAuto-export to Eclipse UML2 XMI option.static java.lang.StringOPTION_EXPORT_ALWAYSAuto-export to Eclipse UML2 XMI option.static java.lang.StringOPTION_NEVERAuto-export to Eclipse UML2 XMI option.static java.lang.StringPRESERVE_IDS_DO_NOTPreserve ID option.static java.lang.StringPRESERVE_IDS_ON_EXPORTPreserve ID option.static java.lang.StringPRESERVE_IDS_ON_IMPORTPreserve ID option.static java.lang.StringPRESERVE_IDS_ON_IMPORT_EXPORTPreserve ID option.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetAutoExportOption()Get auto-export to Eclipse UML2 XMI option.java.lang.StringgetPreserveIDs()Get preserve IDs option.booleanisApplyAllProfilesToRootModel()Checks if to apply all profiles to root Model on export.booleanisAskToOverwriteExportedFiles()Chekcks if ask to overwrite exported files.booleanisDisplayWarnings()Checks if to show warnings in Message Window on export/import.booleanisMoveStereotypeToNestingProfile()Checks if move stereotype to nesting profile if stereotype is not directly contained by profile.booleanisShowMappinWarning()Checks if show warnings about (datatypes, metaclasses) mappings.booleanisShowStereotypeFromSameWarning()Checks if show warnings about not applied stereotypes (from the same profile).booleanisShowStereotypePropertyTypeChangeWarning()Check if show warnings about stereotype property type change.booleanisUseKeywordAsStereotypeName()Checks if stereotype keyword is used as stereotype name on import.voidsetApplyAllProfilesToRootModel(boolean apply)Set if to apply all profiles to root Model on export.voidsetAskToOverwriteExportedFiles(boolean ask)Set if ask to overwrite exported files.voidsetAutoExportOption(java.lang.String choice)Set auto-export to Eclipse UML2 XMI on project save option.voidsetDisplayWarnings(boolean display)Set if to show warnings in Message Window on export/import.voidsetMoveStereotypeToNestingProfile(boolean move)Set if move stereotype to nesting profile if stereotype is not directly contained by profile.voidsetPreserveIDs(java.lang.String choice)Set preserve IDs option.voidsetShowMappinWarning(boolean show)Set if show warnings about (datatypes, metaclasses) mappings.voidsetShowStereotypeFromSameWarning(boolean show)Set if show warnings about not applied stereotypes (from the same profile).voidsetShowStereotypePropertyTypeChangeWarning(boolean show)Set if show warnings about stereotype property type change.voidsetUseKeywordAsStereotypeName(boolean use)Set if stereotype keyword is used as stereotype name on import.
-
-
-
Field Detail
-
OPTION_EXPORT_ALWAYS
@OpenApi static final java.lang.String OPTION_EXPORT_ALWAYS
Auto-export to Eclipse UML2 XMI option.- See Also:
- Constant Field Values
-
OPTION_ASK_BEFORE_EXPORT
@OpenApi static final java.lang.String OPTION_ASK_BEFORE_EXPORT
Auto-export to Eclipse UML2 XMI option.- See Also:
- Constant Field Values
-
OPTION_NEVER
@OpenApi static final java.lang.String OPTION_NEVER
Auto-export to Eclipse UML2 XMI option.- See Also:
- Constant Field Values
-
PRESERVE_IDS_DO_NOT
@OpenApi static final java.lang.String PRESERVE_IDS_DO_NOT
Preserve ID option.- See Also:
- Constant Field Values
-
PRESERVE_IDS_ON_EXPORT
@OpenApi static final java.lang.String PRESERVE_IDS_ON_EXPORT
Preserve ID option.- See Also:
- Constant Field Values
-
PRESERVE_IDS_ON_IMPORT
@OpenApi static final java.lang.String PRESERVE_IDS_ON_IMPORT
Preserve ID option.- See Also:
- Constant Field Values
-
PRESERVE_IDS_ON_IMPORT_EXPORT
@OpenApi static final java.lang.String PRESERVE_IDS_ON_IMPORT_EXPORT
Preserve ID option.- See Also:
- Constant Field Values
-
-
Method Detail
-
setAutoExportOption
@OpenApi void setAutoExportOption(java.lang.String choice)
Set auto-export to Eclipse UML2 XMI on project save option.- Parameters:
choice-- See Also:
OPTION_ASK_BEFORE_EXPORT,OPTION_EXPORT_ALWAYS,OPTION_NEVER
-
getAutoExportOption
@OpenApi java.lang.String getAutoExportOption()
Get auto-export to Eclipse UML2 XMI option.- Returns:
- current auto-export choice.
- See Also:
OPTION_ASK_BEFORE_EXPORT,OPTION_EXPORT_ALWAYS,OPTION_NEVER
-
setAskToOverwriteExportedFiles
@OpenApi void setAskToOverwriteExportedFiles(boolean ask)
Set if ask to overwrite exported files.- Parameters:
ask- true - ask to overwrite, otherwise - overwrite without asking.
-
isAskToOverwriteExportedFiles
@OpenApi boolean isAskToOverwriteExportedFiles()
Chekcks if ask to overwrite exported files.- Returns:
- true if ask to overwrite exported files.
-
setPreserveIDs
@OpenApi void setPreserveIDs(java.lang.String choice)
Set preserve IDs option.- Parameters:
choice-- See Also:
PRESERVE_IDS_DO_NOT,PRESERVE_IDS_ON_EXPORT,PRESERVE_IDS_ON_IMPORT,PRESERVE_IDS_ON_IMPORT_EXPORT
-
getPreserveIDs
@OpenApi java.lang.String getPreserveIDs()
Get preserve IDs option.- Returns:
- current choice.
- See Also:
PRESERVE_IDS_DO_NOT,PRESERVE_IDS_ON_EXPORT,PRESERVE_IDS_ON_IMPORT,PRESERVE_IDS_ON_IMPORT_EXPORT
-
setShowMappinWarning
@OpenApi void setShowMappinWarning(boolean show)
Set if show warnings about (datatypes, metaclasses) mappings.- Parameters:
show-
-
isShowMappinWarning
@OpenApi boolean isShowMappinWarning()
Checks if show warnings about (datatypes, metaclasses) mappings.- Returns:
- true if warnings about (datatypes, metaclasses) mapping should be displayed.
-
setShowStereotypePropertyTypeChangeWarning
@OpenApi void setShowStereotypePropertyTypeChangeWarning(boolean show)
Set if show warnings about stereotype property type change.- Parameters:
show-
-
isShowStereotypePropertyTypeChangeWarning
@OpenApi boolean isShowStereotypePropertyTypeChangeWarning()
Check if show warnings about stereotype property type change.- Returns:
- true if warnings about stereotype property type change is displayed.
-
setShowStereotypeFromSameWarning
@OpenApi void setShowStereotypeFromSameWarning(boolean show)
Set if show warnings about not applied stereotypes (from the same profile).- Parameters:
show-
-
isShowStereotypeFromSameWarning
@OpenApi boolean isShowStereotypeFromSameWarning()
Checks if show warnings about not applied stereotypes (from the same profile).- Returns:
- true if warnings about not applied stereotype should be displayed.
-
setUseKeywordAsStereotypeName
@OpenApi void setUseKeywordAsStereotypeName(boolean use)
Set if stereotype keyword is used as stereotype name on import.- Parameters:
use-
-
isUseKeywordAsStereotypeName
@OpenApi boolean isUseKeywordAsStereotypeName()
Checks if stereotype keyword is used as stereotype name on import.- Returns:
- true if stereotype keyword is used as stereotype name on import.
-
setDisplayWarnings
@OpenApi void setDisplayWarnings(boolean display)
Set if to show warnings in Message Window on export/import.- Parameters:
display-
-
isDisplayWarnings
@OpenApi boolean isDisplayWarnings()
Checks if to show warnings in Message Window on export/import.- Returns:
- true if warnings shoud be displayed in Message Window.
-
setApplyAllProfilesToRootModel
@OpenApi void setApplyAllProfilesToRootModel(boolean apply)
Set if to apply all profiles to root Model on export.- Parameters:
apply- true to apply all profiles to root Model (on export).
-
isApplyAllProfilesToRootModel
@OpenApi boolean isApplyAllProfilesToRootModel()
Checks if to apply all profiles to root Model on export.- Returns:
- true on export all profiles will be applied to root Model.
-
setMoveStereotypeToNestingProfile
@OpenApi void setMoveStereotypeToNestingProfile(boolean move)
Set if move stereotype to nesting profile if stereotype is not directly contained by profile.- Parameters:
move- true move stereotype to nesting profile (on export).
-
isMoveStereotypeToNestingProfile
@OpenApi boolean isMoveStereotypeToNestingProfile()
Checks if move stereotype to nesting profile if stereotype is not directly contained by profile.- Returns:
- true move stereotype to nesting profile (on export).
-
-