@OpenApiAll public class ProjectOptions extends ElementImpl implements java.io.Serializable, java.beans.PropertyChangeListener
Modifier and Type | Class and Description |
---|---|
static interface |
ProjectOptions.PropertySetter |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACTIVE_VALIDATION_GROUP
Real time validation group name
|
static java.lang.String |
DEPENDENCY_CHECKER_GROUP
Dependency checker group name.
|
static java.lang.String |
DIAGRAMS_GROUP
Diagrams group name
|
static int |
DOC_TIPS
Tool tips style constant.
|
static int |
INDEX_COMMON |
static int |
INDEX_CUSTOM |
static int |
INDEX_NONE |
static int |
NAME_TIPS
Tool tips style constant.
|
static int |
NO_TIPS
Tool tips style constant.
|
static java.lang.String |
NUMBERING_GROUP
Numbering group name.
|
static java.lang.String |
OPTIONS_LOCK
Options lock event property name.
|
static java.lang.String |
PERSONAL_INVISIBLE_PROPERTIES
The name of the manager of not visible properties that affect only one
user in multi-user environment.
|
static java.lang.String |
PROJECT_GENERAL_PROPERTIES
The name of the manager that contains user editable properties in Project options dialog.
|
static java.lang.String |
PROJECT_INVISIBLE_PROPERTIES
The name of the manager of not visible properties in Project options dialog.
|
static java.lang.String |
QNAME_DISPLAY_STYLE_ABSOLUTE
Qualified is calculated using named elements up to the project root - "Data"
|
static java.lang.String |
QNAME_DISPLAY_STYLE_MODEL_OR_LIBRARY_RELATIVE
Qualified is calculated using named elements up to the nearest "Model" element or package with applied stereotype
"ModelLibrary"
|
static java.lang.String |
QNAME_DISPLAY_STYLE_MODEL_RELATIVE
Qualified is calculated using named elements up to the nearest "Model" element
|
static java.util.List |
QNAME_DISPLAY_STYLE_OPTIONS
Collection of all possible qualified name display style modes.
|
static java.lang.String |
QNAME_DISPLAY_STYLE_RELATIVE
Qualified is calculated using named elements up to the nearest package with applied stereotype "ModelLibrary"
|
static java.lang.String |
STYLE_DIAGRAM_PROPERTIES |
static java.lang.String |
STYLE_MODEL_ELEMENT_DEFAULTS |
static java.lang.String |
STYLE_PERSONAL_PROPERTIES |
static java.lang.String |
STYLE_USER_PROPERTIES |
static java.lang.String |
UNIQUE_ELEMENT_NUMBER_PACKAGE_SCOPE
Deprecated.
|
static java.lang.String |
UNIQUE_ELEMENT_NUMBER_PROJECT_SCOPE
Deprecated.
|
static java.util.List |
UNIQUE_ELEMENT_NUMBER_SCOPE_OPTIONS
Deprecated.
|
static java.lang.String |
VALIDATION_GROUP |
static java.lang.String[] |
VISIBLE_MANAGERS
The list of managers that must be visible in the project options GUI.
|
Constructor and Description |
---|
ProjectOptions()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor v)
Method accepts visitor, and calls method visit<class name>(this) of visitor .
|
static void |
addConfigurator(ProjectOptionsConfigurator configurator)
Add project options configurator
|
void |
addHiddenBrowserTree(java.lang.String treeID) |
void |
addInvisibleProperty(Property property)
Adds invisible property that affects all users in multi user environment.
|
void |
addModuleDirectory(java.lang.String directory)
Adds directory to project module directories.
|
void |
addProperty(java.lang.String manager,
Property p)
Adds property
|
void |
addToProjectSpellingIgnoreList(java.lang.String newTextToBeIgnored) |
void |
afterLoad() |
boolean |
changeOwnershipForNavigability()
Gets the CHANGE_OWNERSHIP_FOR_NAVIGABILITY property value
|
void |
checkAndAddModuleDirectory(java.lang.String directory)
Adds directory to project module directories if it was not added yet
|
Style |
createDefaultModelElementStyle()
Returns default model element values.
|
static ProjectOptions |
createDefaultProjectOptions(Project project)
Create default options for a given project
|
java.util.Collection<Element> |
getActiveValidationScope() |
EnumerationLiteral |
getActiveValidationSeverity() |
Style |
getActualModelElementStyle()
Fast method.
|
java.util.List<java.lang.String> |
getAdditionalBrowserTrees() |
java.util.Collection |
getBrowserItemsTypes()
Gets types that are filtered (not shown) in browser.
|
java.lang.String |
getBrowserLayout() |
java.lang.String |
getChangedNumberCustomizations()
Get the AutoNumbers from last Project start
|
Package |
getChoosePackageLastSelection() |
com.nomagic.magicdraw.core.project.options.CommonProjectOptions |
getCommonProjectOptions() |
com.nomagic.magicdraw.core.options.DependencySeverityLevel |
getDependencySeverityLevel()
Returns dependency checker severity level.
|
java.lang.String |
getDiagramInfoCustomHTML() |
java.util.List<java.lang.String> |
getDiagramInfoKeywords() |
java.lang.String |
getDiagramsLayout() |
Style |
getDiagramViewStyle()
Gets diagramViewStyle from the ProjectOptions.
|
java.awt.Rectangle |
getExitFullScreenToolbarBounds()
Getter for browser bounds.
|
java.util.List<Element> |
getFavoriteElements() |
ElementListProperty |
getFavoriteElementsProperty() |
java.util.List<java.lang.String> |
getFavoriteHyperlinks()
Get favorite hyperlinks.
|
Style |
getFullModelElementStyle()
Returns default model element values.
|
static java.util.Map<java.util.Collection<java.lang.String>,Group> |
getGroupRemap() |
java.util.List<java.lang.String> |
getHiddenBrowserTrees() |
java.util.Collection<Package> |
getIgnoredActiveSuites() |
java.util.Collection<java.lang.String> |
getIgnoredDuplicatedModules() |
java.util.Collection<Constraint> |
getIgnoredPassiveValidationRules()
Gets ignored passive validation rules
|
java.util.Collection<Package> |
getIgnoredPassiveValidationSuites() |
java.util.Collection<Constraint> |
getIgnoredValidationRules()
Return collection of ignored constraints.
|
int |
getIndexMode() |
Element[] |
getIndexScope() |
java.util.Collection |
getIndexTypes() |
Property |
getInvisibleProperty(java.lang.String id)
Gets invisible property that affects all users in multi user environment.
|
java.lang.String |
getLastDirectory()
Deprecated.
|
BaseElement |
getLastSelectedElement() |
java.lang.String |
getLastSelectedModulePath()
Get last selected module path.
|
java.lang.String |
getLastSelectedTransformationName() |
boolean |
getLastSelectedTypeMapProfileDirection() |
java.lang.String |
getLastSelectedTypeMapProfileName() |
java.lang.String |
getLastSelectedXpdlImportLocation()
The directory last accessed for XPDL import
|
java.lang.String |
getLayoutBeforeExitFullScreen() |
java.lang.String |
getLayoutBeforeFullScreen() |
java.lang.String |
getLocksFilterUsername()
Returns user name of lock view filter.
|
PropertyManager |
getManager(java.lang.String name)
Returns the manager for properties.
|
Style |
getModifiedModelElementsStyle()
Returns default model element values.
|
java.util.List<java.lang.String> |
getModulesDirectories(boolean resolvePathVarialbes)
Returns modules paths.
|
EnumerationLiteral |
getPassiveValidationSeverity() |
Style |
getPersonalOptionsStyle()
Gets personalOptionsStyle from the ProjectOptions.
|
Project |
getProjectImpl() |
java.lang.String[] |
getProjectSpellingIgnoreList() |
Property |
getProperty(java.lang.String manager,
java.lang.String id)
Returns property
|
boolean |
getQNameDisplayAbsolute()
Deprecated.
use
getQNameDisplayStyle() instead. |
java.lang.String |
getQNameDisplayStyle()
Gets the QNAME_DISPLAY_STYLE property value.
|
java.util.List<java.lang.String> |
getRecentlyOpenedWindowsIDs() |
int |
getReportExtensionIndex() |
java.lang.String |
getSecretProperty(java.lang.String key)
Retrieves secret property value according given key.
|
java.util.List<Element> |
getSelectedFavoriteElements() |
Style |
getStyle()
Gets style that holds two properties manager - one for visible and user editable properties, other for
invisible project properties.
|
StyleManager |
getSymbolStyles()
Gets symbol style manager.
|
int |
getTipsStyle()
Get tooltips style.
|
Package |
getTransformationDestination() |
java.util.Collection<Element> |
getUniqueElementNumberScope()
Get the Packages where autoIds are to be unique
|
java.util.Map<java.lang.String,java.lang.String> |
getUnlockedElementRemovalInfo() |
com.nomagic.magicdraw.core.project.options.UserProjectOptions |
getUserProjectOptions() |
java.lang.String |
getValidationIgnoredOption() |
boolean |
isAutoNumbering()
Get the state of the autoNumber Option
|
boolean |
isAutoSynchronizeParametersAndArguments() |
boolean |
isBrowserVisible()
Gets browser visibility flag
|
boolean |
isCheckElementNumberUniques()
Get the value to check element id uniques in all id properties
|
boolean |
isCheckForCyclicDependencies()
Returns whether check for cyclic dependencies must be performed.
|
boolean |
isCheckIdUniques()
Get the value to check element id uniques in all id properties
|
boolean |
isDisplayAllActivityParameterNodesInDiagrams()
Indicates if activity parameter nodes should be displayed in diagrams.
|
boolean |
isDisplayAllPinsInDiagrams() |
boolean |
isDisplayElementNumberInBrowser()
Get the value of disply/hide autoId in the Browser
|
boolean |
isExcludeElementsFromReadOnlyModules() |
boolean |
isExportedVersionChanged() |
boolean |
isFilterExcludesModules() |
boolean |
isFilterHidesIrrelevantElements() |
boolean |
isFilterShowsImportedElements() |
boolean |
isIgnoreStandardProfiles()
Returns indication that standard profiles must be ignored in dependency checking.
|
boolean |
isIndexScopeAll() |
boolean |
isLayoutScenarioDiagram() |
boolean |
isMarkInTreeAndDiagrams() |
boolean |
isTransformationInPlace() |
boolean |
isUseDiagramInfoCustomMode() |
boolean |
isUseI18NTextInDiagrams() |
boolean |
isValidateOnlyActiveDiagrams() |
void |
propertyChange(java.beans.PropertyChangeEvent evt)
Listens for property change event.
|
void |
registerDiagramViewOptions(com.nomagic.magicdraw.core.options.DiagramViewOptions options)
Associates DiagramViewOptions object with corresponding PropertyManager.
|
static void |
remapGroupInUI(java.util.Collection<java.lang.String> groupsToRemap,
Group newGroup)
Remap properties group to a some other group in options UI
|
static void |
removeConfigurator(ProjectOptionsConfigurator configurator)
Remove project options configurator
|
void |
removeHiddenBrowserTree(java.lang.String treeID) |
void |
setActiveValidationScope(Element[] elements) |
void |
setActiveValidationSeverity(EnumerationLiteral literal) |
void |
setAdditionalBrowserTrees(java.util.List<java.lang.String> trees) |
void |
setAutoNumbering(boolean value)
Set AutoNumbering option
|
void |
setAutoSynchronizeParametersAndArguments(boolean value)
Sets auto synchronize parameters and arguments property value.
|
void |
setBooleanProperty(boolean value,
java.lang.String properties,
java.lang.String id,
java.lang.String group) |
void |
setBrowserItemsTypes(java.util.Collection v)
Set types that are filtered (not shown) in browser.
|
void |
setBrowserLayout(java.lang.String rez) |
void |
setBrowserVisible(boolean v)
Set browser visibility flag
|
void |
setChangedNumberCustomizations(java.lang.String profileAutoNumbers)
Set the autoNumbers as they were read from the Profile at project load
|
void |
setChangeOwnershipForNavigability(boolean value)
Sets the HOW_DOT_NOTATION_FOR_ASSOCIATIONS property value.
|
void |
setCheckElementNumberUniques(boolean value)
Set the value to check element number uniques
|
void |
setCheckForCyclicDependencies(boolean value)
Sets check for cyclic dependencies property value.
|
void |
setCheckIdUniques(boolean value)
Set the value to check element id uniques in all id properties
|
void |
setChoosePackageLastSelection(Package pck) |
void |
setCommonProjectOptions(com.nomagic.magicdraw.core.project.options.CommonProjectOptions commonProjectOptions) |
void |
setDefaults()
Sets default project options.
|
void |
setDependencySeverityLevel(com.nomagic.magicdraw.core.options.DependencySeverityLevel value)
Sets check for cyclic dependencies property value.
|
void |
setDiagramInfoCustomHTML(java.lang.String value) |
void |
setDiagramInfoKeywords(java.util.List<java.lang.String> keywords) |
void |
setDiagramsLayout(java.lang.String rez) |
void |
setDisplayAllActivityParameterNodesInDiagrams(boolean displayAllActivityParameterNodesInDiagrams)
Sets whether to display activity parameter nodes in diagrams.
|
void |
setDisplayAllPinsInDiagrams(boolean displayAllPinsInDiagrams) |
void |
setDisplayElementNumberInBrowser(boolean value)
Set the value to display/hide autoIds in the Browser
|
void |
setExcludeReadonlyElements(boolean exclude) |
void |
setExitFullScreenToolbarBounds(java.awt.Rectangle bounds)
Sets full screen toolbar bounds.
|
void |
setExportedVersionChanged(boolean value) |
void |
setFavoriteElements(java.util.List<Element> elements) |
void |
setFavoriteHyperlinks(java.util.List<java.lang.String> urls)
Set favorite hyperlinks.
|
void |
setFilterExcludesModules(boolean value) |
void |
setFilterHidesIrrelevantElements(boolean value) |
void |
setFilterShowsImportedElements(boolean value) |
void |
setGlobalPermission(boolean value)
Sets package permission global property value.
|
void |
setHiddenBrowserTrees(java.util.List<java.lang.String> trees) |
void |
setIgnoredActiveSuites(Package[] elements) |
void |
setIgnoredDuplicatedModules(java.util.Collection<java.lang.String> value) |
void |
setIgnoredPassiveValidationRules(Constraint[] elements) |
void |
setIgnoredPassiveValidationSuites(Package[] elements) |
void |
setIgnoredValidationResults(java.lang.String[] ignoredPairs) |
void |
setIgnoredValidationRules(Constraint[] elements) |
void |
setIgnoreStandardProfiles(boolean value)
Sets ignore standard profiles in dependency checking property.
|
void |
setIndexMode(int status) |
void |
setIndexScope(Element[] scope) |
void |
setIndexScopeAll(boolean all) |
void |
setIndexTypes(java.util.Collection types) |
void |
setInvisibleProperties(PropertyManager newManager) |
void |
setLastDirectory(java.lang.String path)
Deprecated.
|
void |
setLastSelectedElement(BaseElement element) |
void |
setLastSelectedModulePath(java.lang.String path)
Set last selected module path.
|
void |
setLastSelectedTransformationName(java.lang.String name) |
void |
setLastSelectedTypeMapProfileDirection(boolean forward) |
void |
setLastSelectedTypeMapProfileName(java.lang.String name) |
void |
setLayoutBeforeExitFullScreen(java.lang.String rez) |
void |
setLayoutBeforeFullScreen(java.lang.String rez) |
void |
setLayoutScenarioDiagram(boolean value)
Sets to layout scenario diagram.
|
void |
setLocksFilterUsername(java.lang.String userName)
Sets Lock view filter user name
|
void |
setMarkInTreeAndDiagrams(boolean mark) |
void |
setModelElementStyle(Style modelElementStyle)
Sets style for default property values for all uml entities.
|
void |
setModulesDirectories(java.util.Collection<java.lang.String> collection)
Sets project modules paths.
|
void |
setPassiveValidationSeverity(EnumerationLiteral literal) |
void |
setProject(Project project)
Set project for the options.
|
void |
setQNameDisplayAbsolute(boolean value)
Deprecated.
use
setQNameDisplayStyle(String) instead. |
void |
setQNameDisplayStyle(java.lang.String newValue)
Sets the QNAME_DISPLAY_STYLE property value.
|
void |
setRecentlyOpenedWindowsIDs(java.util.List<java.lang.String> ids) |
void |
setReportExtensionIndex(int index) |
void |
setSecretProperty(java.lang.String key,
java.lang.String value)
Sets secret property (maps given key to given value) Secret properties are encrypted properties that are not
available as plain text when project options are persisted to xml.
|
void |
setSelectedFavoriteElements(java.util.List<Element> elements) |
void |
setShowDotNotationForAssocations(boolean value)
Sets the SHOW_DOT_NOTATION_FOR_ASSOCIATIONS property value.
|
void |
setStyle(Style style)
Sets style that holds two properties manager - one for visible and user editable properties, other for
invisible project properties.
|
void |
setTipsStyle(int st)
Set tooltips style.
|
void |
setTransformationDestination(Package destination) |
void |
setTransformationInPlace(boolean inPlace) |
void |
setUniqueElementNumberScope(Element[] elements)
Set the Packages where AutoIds are to be unique
|
void |
setUnlockedElementRemovalInfo(java.util.Map<java.lang.String,java.lang.String> unlockedElementRemovalInfo) |
void |
setUseDiagramInfoCustomMode(boolean value) |
void |
setUseI18NTextInDiagrams(boolean value)
Set useI18N property for painting a text in diagrams
|
void |
setUserProjectOptions(com.nomagic.magicdraw.core.project.options.UserProjectOptions userProjectOptions) |
void |
setValidateOnlyActiveDiagrams(boolean validateOnlyActiveDiagrams) |
void |
setValidationIgnoredOption(java.lang.String value) |
void |
setXpdlImportLocation(java.lang.String importLocation) |
boolean |
showDotNotationForAssocations()
Gets the SHOW_DOT_NOTATION_FOR_ASSOCIATIONS property value
|
void |
unregisterDiagramViewOptions(com.nomagic.magicdraw.core.options.DiagramViewOptions options)
Removes corresponding PropertyManager from project options.
|
void |
updateBrowserAfterFilterChange() |
clone
accept, addPropertyChangeListener, atInsert, canAdd, canAdd, canAddChild, canAddChild, canAddInstance, canBeDeleted, canChangeParent, canDeleteChild, compareTo, createSortKeys, dispose, fireMultiSourcePropertyChange, firePropertyChange, generateID, getClassType, getCommandForAppending, getHumanName, getHumanType, getID, getName, getObjectParent, getProject, getResourceID, getSortKeys, hasListeners, isEditable, isParentOf, removeAllChildren, removeAllParents, removeAllPropertyChangeListeners, removePropertyChangeListener, setID, setMDElement, sGetID, toString
public static final java.lang.String OPTIONS_LOCK
public static final java.lang.String PROJECT_GENERAL_PROPERTIES
getManager(String)
,
Constant Field Valuespublic static final java.lang.String PROJECT_INVISIBLE_PROPERTIES
getManager(String)
,
Constant Field Valuespublic static final java.lang.String PERSONAL_INVISIBLE_PROPERTIES
getManager(String)
,
Constant Field Valuespublic static java.lang.String[] VISIBLE_MANAGERS
public static final java.lang.String STYLE_USER_PROPERTIES
public static final java.lang.String STYLE_PERSONAL_PROPERTIES
public static final java.lang.String STYLE_DIAGRAM_PROPERTIES
public static final java.lang.String STYLE_MODEL_ELEMENT_DEFAULTS
public static final java.lang.String ACTIVE_VALIDATION_GROUP
public static final java.lang.String VALIDATION_GROUP
public static final java.lang.String DEPENDENCY_CHECKER_GROUP
public static final java.lang.String QNAME_DISPLAY_STYLE_ABSOLUTE
public static final java.lang.String QNAME_DISPLAY_STYLE_RELATIVE
public static final java.lang.String QNAME_DISPLAY_STYLE_MODEL_RELATIVE
public static final java.lang.String QNAME_DISPLAY_STYLE_MODEL_OR_LIBRARY_RELATIVE
public static final java.util.List QNAME_DISPLAY_STYLE_OPTIONS
public static final java.lang.String NUMBERING_GROUP
public static final java.lang.String DIAGRAMS_GROUP
@Deprecated public static final java.lang.String UNIQUE_ELEMENT_NUMBER_PROJECT_SCOPE
@Deprecated public static final java.lang.String UNIQUE_ELEMENT_NUMBER_PACKAGE_SCOPE
@Deprecated public static final java.util.List UNIQUE_ELEMENT_NUMBER_SCOPE_OPTIONS
public static final int NO_TIPS
public static final int NAME_TIPS
public static final int DOC_TIPS
public static final int INDEX_NONE
public static final int INDEX_COMMON
public static final int INDEX_CUSTOM
public ProjectOptions()
public static void remapGroupInUI(java.util.Collection<java.lang.String> groupsToRemap, Group newGroup)
groupsToRemap
- groups to remapnewGroup
- new grouppublic static java.util.Map<java.util.Collection<java.lang.String>,Group> getGroupRemap()
public static ProjectOptions createDefaultProjectOptions(Project project)
project
- projectpublic void setProject(Project project)
project
- projectpublic void setDefaults()
public Style getStyle()
public void setStyle(Style style)
style
- project propertiespublic Style getPersonalOptionsStyle()
public Style getDiagramViewStyle()
public StyleManager getSymbolStyles()
public void addModuleDirectory(java.lang.String directory)
directory
- directory to add.public void checkAndAddModuleDirectory(java.lang.String directory)
directory
- directory to add.public void setModulesDirectories(java.util.Collection<java.lang.String> collection)
collection
- collections of String objects specifying paths to module directories.public java.util.List<java.lang.String> getModulesDirectories(boolean resolvePathVarialbes)
resolvePathVarialbes
- true if path variables must be resolved (real paths returned)public void setTipsStyle(int st)
public int getTipsStyle()
public void accept(Visitor v) throws java.lang.Exception
MDElement
public void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange
in interface java.beans.PropertyChangeListener
public void updateBrowserAfterFilterChange()
public void setBrowserItemsTypes(java.util.Collection v)
v
- collection of String objects short name of class type (something like ClassTypes.getShortName(Actor.class)
).public java.util.Collection getBrowserItemsTypes()
ClassTypes.getShortName(Actor.class)
).public void setBrowserVisible(boolean v)
public boolean isBrowserVisible()
public void setChoosePackageLastSelection(Package pck)
public Package getChoosePackageLastSelection()
public PropertyManager getManager(java.lang.String name)
PROJECT_GENERAL_PROPERTIES
,
PROJECT_INVISIBLE_PROPERTIES
,
PERSONAL_INVISIBLE_PROPERTIES
public Property getProperty(java.lang.String manager, java.lang.String id)
public void addProperty(java.lang.String manager, Property p)
public java.util.List<java.lang.String> getRecentlyOpenedWindowsIDs()
public void setRecentlyOpenedWindowsIDs(java.util.List<java.lang.String> ids)
public void setBrowserLayout(@CheckForNull java.lang.String rez)
rez
- public java.lang.String getBrowserLayout()
public void setDiagramsLayout(@CheckForNull java.lang.String rez)
public java.lang.String getDiagramsLayout()
public void setLayoutBeforeFullScreen(@CheckForNull java.lang.String rez)
public void setLayoutBeforeExitFullScreen(@CheckForNull java.lang.String rez)
public java.lang.String getLayoutBeforeFullScreen()
public java.lang.String getLayoutBeforeExitFullScreen()
public void setExitFullScreenToolbarBounds(@CheckForNull java.awt.Rectangle bounds)
bounds
- new bounds.public java.awt.Rectangle getExitFullScreenToolbarBounds()
@Nonnull public java.util.List<java.lang.String> getAdditionalBrowserTrees()
public void setAdditionalBrowserTrees(@Nonnull java.util.List<java.lang.String> trees)
@Nonnull public java.util.List<java.lang.String> getHiddenBrowserTrees()
public void setHiddenBrowserTrees(@Nonnull java.util.List<java.lang.String> trees)
public void addHiddenBrowserTree(@Nonnull java.lang.String treeID)
public void removeHiddenBrowserTree(@Nonnull java.lang.String treeID)
public void setUseDiagramInfoCustomMode(boolean value)
public boolean isUseDiagramInfoCustomMode()
public void setExportedVersionChanged(boolean value)
public boolean isExportedVersionChanged()
public void setDiagramInfoCustomHTML(java.lang.String value)
public java.lang.String getDiagramInfoCustomHTML()
public void setDiagramInfoKeywords(java.util.List<java.lang.String> keywords)
public java.util.List<java.lang.String> getDiagramInfoKeywords()
public void setSecretProperty(java.lang.String key, java.lang.String value)
key
- key for the property.value
- value of the property.public java.lang.String getSecretProperty(java.lang.String key)
key
- key of the property.public void setInvisibleProperties(PropertyManager newManager)
public void setLastSelectedTransformationName(@CheckForNull java.lang.String name)
public java.lang.String getLastSelectedTransformationName()
public void setTransformationDestination(@CheckForNull Package destination)
public Package getTransformationDestination()
public void setLastSelectedTypeMapProfileName(@CheckForNull java.lang.String name)
public java.lang.String getLastSelectedTypeMapProfileName()
public void setLastSelectedTypeMapProfileDirection(boolean forward)
public boolean getLastSelectedTypeMapProfileDirection()
public void setTransformationInPlace(boolean inPlace)
public boolean isTransformationInPlace()
public void setLastSelectedElement(BaseElement element)
public BaseElement getLastSelectedElement()
public void setIndexMode(int status)
public int getIndexMode()
public void setIndexScopeAll(boolean all)
public boolean isIndexScopeAll()
public void setIndexScope(Element[] scope)
public Element[] getIndexScope()
public void setIndexTypes(java.util.Collection types)
public java.util.Collection getIndexTypes()
@Deprecated public void setLastDirectory(java.lang.String path)
path
- last dir path.public int getReportExtensionIndex()
public void setReportExtensionIndex(int index)
@Deprecated public java.lang.String getLastDirectory()
public void addInvisibleProperty(Property property)
property
- public Property getInvisibleProperty(java.lang.String id)
id
- property identifierpublic static void addConfigurator(ProjectOptionsConfigurator configurator)
configurator
- options configurator.public static void removeConfigurator(ProjectOptionsConfigurator configurator)
configurator
- options configurator.public void setModelElementStyle(Style modelElementStyle)
modelElementStyle
- public Style getFullModelElementStyle()
public Style getActualModelElementStyle()
public Style getModifiedModelElementsStyle()
public Style createDefaultModelElementStyle()
public boolean showDotNotationForAssocations()
public void setShowDotNotationForAssocations(boolean value)
value
- boolean property valuepublic boolean changeOwnershipForNavigability()
public void setChangeOwnershipForNavigability(boolean value)
value
- boolean property valuepublic void setBooleanProperty(boolean value, java.lang.String properties, java.lang.String id, @CheckForNull java.lang.String group)
public boolean isDisplayAllActivityParameterNodesInDiagrams()
public void setDisplayAllActivityParameterNodesInDiagrams(boolean displayAllActivityParameterNodesInDiagrams)
displayAllActivityParameterNodesInDiagrams
- property value to set.public boolean isDisplayAllPinsInDiagrams()
public void setDisplayAllPinsInDiagrams(boolean displayAllPinsInDiagrams)
public boolean isAutoSynchronizeParametersAndArguments()
public boolean isLayoutScenarioDiagram()
public void setLayoutScenarioDiagram(boolean value)
value
- value of the property.public void setAutoSynchronizeParametersAndArguments(boolean value)
value
- - value of the property.public void setGlobalPermission(boolean value)
value
- - value of the property.@Deprecated public boolean getQNameDisplayAbsolute()
getQNameDisplayStyle()
instead.public java.lang.String getQNameDisplayStyle()
@Deprecated public void setQNameDisplayAbsolute(boolean value)
setQNameDisplayStyle(String)
instead.value
- true if qualified name should be calculated starting from the project root, or false when qualified
name should be calculated starting from the model library element.public void setQNameDisplayStyle(java.lang.String newValue)
newValue
- one of the #QNAME_DISPLAY_STYLE_OPTIONS collection elements item, otherwise nothing happens -
property remains unchanged.public void setIgnoredValidationResults(@CheckForNull java.lang.String[] ignoredPairs)
public java.util.Collection<Package> getIgnoredActiveSuites()
public java.util.Collection<Package> getIgnoredPassiveValidationSuites()
public java.util.Collection<Constraint> getIgnoredValidationRules()
public java.util.Collection<Constraint> getIgnoredPassiveValidationRules()
public java.util.Collection<java.lang.String> getIgnoredDuplicatedModules()
public void setIgnoredDuplicatedModules(java.util.Collection<java.lang.String> value)
value
- modules for which warning that they found in duplicated path is not shown.public void setIgnoredActiveSuites(@CheckForNull Package[] elements)
public void setIgnoredPassiveValidationSuites(@CheckForNull Package[] elements)
public void setIgnoredValidationRules(@CheckForNull Constraint[] elements)
public void setIgnoredPassiveValidationRules(@CheckForNull Constraint[] elements)
public java.util.Collection<Element> getActiveValidationScope()
public void setActiveValidationScope(@CheckForNull Element[] elements)
public void setFilterExcludesModules(boolean value)
public boolean isFilterExcludesModules()
public void setFilterHidesIrrelevantElements(boolean value)
public boolean isFilterHidesIrrelevantElements()
public void setFilterShowsImportedElements(boolean value)
public boolean isFilterShowsImportedElements()
public void setSelectedFavoriteElements(java.util.List<Element> elements)
public java.util.List<Element> getSelectedFavoriteElements()
public java.util.List<Element> getFavoriteElements()
public void setFavoriteElements(java.util.List<Element> elements)
public ElementListProperty getFavoriteElementsProperty()
public void setActiveValidationSeverity(@CheckForNull EnumerationLiteral literal)
public void setPassiveValidationSeverity(@CheckForNull EnumerationLiteral literal)
public EnumerationLiteral getActiveValidationSeverity()
public EnumerationLiteral getPassiveValidationSeverity()
public void setValidationIgnoredOption(@CheckForNull java.lang.String value)
public java.lang.String getValidationIgnoredOption()
public void setMarkInTreeAndDiagrams(boolean mark)
public boolean isMarkInTreeAndDiagrams()
public void setExcludeReadonlyElements(boolean exclude)
public boolean isExcludeElementsFromReadOnlyModules()
public void setValidateOnlyActiveDiagrams(boolean validateOnlyActiveDiagrams)
public boolean isValidateOnlyActiveDiagrams()
public void setLastSelectedModulePath(@CheckForNull java.lang.String path)
path
- module path.public java.lang.String getLastSelectedModulePath()
public void setLocksFilterUsername(java.lang.String userName)
userName
- name of user which was filtered in locks view.public java.lang.String getLocksFilterUsername()
public void afterLoad()
public void addToProjectSpellingIgnoreList(java.lang.String newTextToBeIgnored)
public java.lang.String[] getProjectSpellingIgnoreList()
public boolean isCheckForCyclicDependencies()
public void setCheckForCyclicDependencies(boolean value)
value
- new value.public com.nomagic.magicdraw.core.options.DependencySeverityLevel getDependencySeverityLevel()
public void setDependencySeverityLevel(com.nomagic.magicdraw.core.options.DependencySeverityLevel value)
value
- new value.public boolean isIgnoreStandardProfiles()
public void setIgnoreStandardProfiles(boolean value)
value
- new value.public Project getProjectImpl()
getProjectImpl
in class com.nomagic.magicdraw.uml.MDElementImpl
public void registerDiagramViewOptions(com.nomagic.magicdraw.core.options.DiagramViewOptions options)
options
- diagram view optionspublic void unregisterDiagramViewOptions(com.nomagic.magicdraw.core.options.DiagramViewOptions options)
options
- public com.nomagic.magicdraw.core.project.options.CommonProjectOptions getCommonProjectOptions()
public void setCommonProjectOptions(com.nomagic.magicdraw.core.project.options.CommonProjectOptions commonProjectOptions)
public com.nomagic.magicdraw.core.project.options.UserProjectOptions getUserProjectOptions()
public void setUserProjectOptions(com.nomagic.magicdraw.core.project.options.UserProjectOptions userProjectOptions)
public void setAutoNumbering(boolean value)
value
- true of autoNumber option is onpublic boolean isAutoNumbering()
public void setDisplayElementNumberInBrowser(boolean value)
value
- true if autoIds are to be shownpublic void setCheckIdUniques(boolean value)
value
- true if to check id uniques, else falsepublic void setCheckElementNumberUniques(boolean value)
value
- true if to check id uniques, else falsepublic boolean isDisplayElementNumberInBrowser()
public boolean isCheckIdUniques()
public boolean isCheckElementNumberUniques()
public java.util.Collection<Element> getUniqueElementNumberScope()
public void setUniqueElementNumberScope(@CheckForNull Element[] elements)
elements
- the Packagespublic void setChangedNumberCustomizations(java.lang.String profileAutoNumbers)
profileAutoNumbers
- the AutoNumbers at project loadpublic java.lang.String getChangedNumberCustomizations()
public void setUseI18NTextInDiagrams(boolean value)
value
- valuepublic boolean isUseI18NTextInDiagrams()
public java.lang.String getLastSelectedXpdlImportLocation()
public void setXpdlImportLocation(java.lang.String importLocation)
@Nonnull public java.util.List<java.lang.String> getFavoriteHyperlinks()
public void setFavoriteHyperlinks(@Nonnull java.util.List<java.lang.String> urls)
urls
- URLs of hyperlinks.public void setUnlockedElementRemovalInfo(@CheckForNull java.util.Map<java.lang.String,java.lang.String> unlockedElementRemovalInfo)
@CheckForNull public java.util.Map<java.lang.String,java.lang.String> getUnlockedElementRemovalInfo()