@OpenApi
public interface 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.
|
@OpenApi static final java.lang.String OPTION_EXPORT_ALWAYS
@OpenApi static final java.lang.String OPTION_ASK_BEFORE_EXPORT
@OpenApi static final java.lang.String OPTION_NEVER
@OpenApi static final java.lang.String PRESERVE_IDS_DO_NOT
@OpenApi static final java.lang.String PRESERVE_IDS_ON_EXPORT
@OpenApi static final java.lang.String PRESERVE_IDS_ON_IMPORT
@OpenApi static final java.lang.String PRESERVE_IDS_ON_IMPORT_EXPORT
@OpenApi void setAutoExportOption(java.lang.String choice)
choice
- OPTION_ASK_BEFORE_EXPORT
,
OPTION_EXPORT_ALWAYS
,
OPTION_NEVER
@OpenApi java.lang.String getAutoExportOption()
OPTION_ASK_BEFORE_EXPORT
,
OPTION_EXPORT_ALWAYS
,
OPTION_NEVER
@OpenApi void setAskToOverwriteExportedFiles(boolean ask)
ask
- true - ask to overwrite, otherwise - overwrite without asking.@OpenApi boolean isAskToOverwriteExportedFiles()
@OpenApi void setPreserveIDs(java.lang.String choice)
choice
- PRESERVE_IDS_DO_NOT
,
PRESERVE_IDS_ON_EXPORT
,
PRESERVE_IDS_ON_IMPORT
,
PRESERVE_IDS_ON_IMPORT_EXPORT
@OpenApi java.lang.String getPreserveIDs()
PRESERVE_IDS_DO_NOT
,
PRESERVE_IDS_ON_EXPORT
,
PRESERVE_IDS_ON_IMPORT
,
PRESERVE_IDS_ON_IMPORT_EXPORT
@OpenApi void setShowMappinWarning(boolean show)
show
- @OpenApi boolean isShowMappinWarning()
@OpenApi void setShowStereotypePropertyTypeChangeWarning(boolean show)
show
- @OpenApi boolean isShowStereotypePropertyTypeChangeWarning()
@OpenApi void setShowStereotypeFromSameWarning(boolean show)
show
- @OpenApi boolean isShowStereotypeFromSameWarning()
@OpenApi void setUseKeywordAsStereotypeName(boolean use)
use
- @OpenApi boolean isUseKeywordAsStereotypeName()
@OpenApi void setDisplayWarnings(boolean display)
display
- @OpenApi boolean isDisplayWarnings()
@OpenApi void setApplyAllProfilesToRootModel(boolean apply)
apply
- true to apply all profiles to root Model (on export).@OpenApi boolean isApplyAllProfilesToRootModel()
@OpenApi void setMoveStereotypeToNestingProfile(boolean move)
move
- true move stereotype to nesting profile (on export).@OpenApi boolean isMoveStereotypeToNestingProfile()