@OpenApiAll
public class TeamworkOptionsGroup
extends com.nomagic.magicdraw.core.options.VersionedOptionsGroup
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_NEW_PROJECT_VERSION_CHECK
Default value for New Project Version Notification
|
static java.lang.String |
DEFAULT_NEW_PROJECT_VERSION_CHECK_INTERVAL_IN_SECONDS |
static int |
DEFAULT_PROJECT_USAGES_UPDATE_SHOW_NOTIFICATION_INDEX
Default setting when to show notification about available project usages updates to latest version
|
static java.lang.String |
ID |
static java.lang.String |
INCLUDE_VERSION_INTO_ELEMENT_URL_ASK |
static java.lang.String |
INCLUDE_VERSION_INTO_ELEMENT_URL_DO_NOT_INCLUDE |
static java.lang.String |
INCLUDE_VERSION_INTO_ELEMENT_URL_INCLUDE |
static java.util.List |
PROJECT_USAGES_UPDATE_SHOW_NOTIFICATION_OPTION_CHOICES
List of options when to show notification about available project usages updates to latest version
|
static java.lang.String |
PROJECTS_TREE_TABLE_MODE_FLAT
Mode of teamwork projects tree table when only projects are displayed in
flat list.
|
static java.lang.String |
PROJECTS_TREE_TABLE_MODE_ORIGINAL
Mode of teamwork projects tree table when categories and projects are
displayed in tree form, no presentation modifications are made to
original structure
|
Constructor and Description |
---|
TeamworkOptionsGroup() |
Modifier and Type | Method and Description |
---|---|
protected void |
afterLoad(com.nomagic.magicdraw.lic.MDVersion version,
boolean pluginsLoaded) |
void |
clearMUUserPassword()
Clears user password to MU server
|
java.lang.String |
getAuthServerName()
gets Last used authentication server name
|
java.util.List<java.lang.String> |
getAuthServerNames()
Returns the list of authentication server names, which where entered by user, and successfully connected.
|
com.nomagic.ui.banners.Banner |
getBanner() |
boolean |
getCreateMountRelationshipsOnImportToCEDW()
Gets value of this property.
|
java.util.List<java.lang.String> |
getDefaultServerNames() |
java.lang.String |
getIncludeVersionIntoURLMode() |
java.lang.String |
getLastCameoResourceId()
Returns last cameo resource ID.
|
java.util.Collection<java.lang.String> |
getLastExpandedCategories()
Gets collection of identifiers of categories that were recently expanded.
|
java.util.Collection<java.lang.String> |
getLastExpandedProjectUsagesCategories()
Gets collection of identifiers of project usages categories that were recently expanded.
|
java.lang.String |
getLastSelectedEsiOfflineServerID()
Gets last selected esi offline server.
|
java.lang.String |
getLastUsedEsiBranches() |
java.lang.String |
getLoginToken()
gets login token to server
|
java.lang.String |
getMUServerName()
gets Last used server name
|
java.lang.String |
getMUUserLogin()
gets user login to MU server
|
java.lang.String |
getMUUserPassword()
gets user password to MU server
|
int |
getNewProjectVersionCheckInterval()
Returns currently selected interval between version checks.
|
java.lang.String |
getProjectsTreeTableMode()
Gets the teamwork projects tree table display mode.
|
int |
getProjectUsagesUpdateNotification()
Gets when to show notification about available project usages updates to latest version.
|
java.util.List<java.lang.String> |
getServerNames()
Returns the list of server names, which where entered by user, and successfully connected.
|
java.lang.String |
getWebAppServerUrl()
Gets WebApp URL.
|
boolean |
isAutoCommitOnProjectMigration()
Determines whether projects should be auto-commit after project migration
to a new version.
|
boolean |
isAutoLoginToMU()
is login to MU server auto
|
boolean |
isEmptyTeamworkProjectsCategoriesVisible()
Indicates if teamwork projects tree table shall display an empty
categories as well.
|
boolean |
isEnableLockingWithoutForceUpdate()
Determines whether elements can be locked without update project.
|
boolean |
isKeepLocks() |
boolean |
isNewProjectVersionCheckEnabled()
Method checks whether the New Project Version Notification
property is enabled
|
boolean |
isRememberServerBetweenSessions()
Is server will be remembered between sessions
|
boolean |
isRememberUserNameBetweenSessions()
Is entered user login name will be remembered between sessions.
|
boolean |
isShowModuleVersionsConflictWarning() |
boolean |
isSSOLoginTabVisible()
Determines whether sso login tab should be visible.
|
boolean |
isUseSecureConnection() |
void |
setAuthServerName(java.lang.String name)
sets server name as a last used server name.
|
void |
setAuthServerNames(java.util.List<java.lang.String> serverNames)
Setter for Single Sign On server list (server names)
|
void |
setAutoCommitOnProjectMigration(boolean autoCommit)
Sets new value for the
autoCommitOnProjectMigration property |
void |
setAutoLoginToMU(boolean log)
sets auto login to MU server
|
void |
setCreateMountRelationshipsOnImportToCEDW(boolean enable)
Sets new value for this property.
|
void |
setDefaultValues()
Sets default values for the properties contained in this group.
|
void |
setEmptyTeamworkProjectsCategoriesVisible(boolean visible)
Sets if teamwork projects tree table shall display an empty categories as
well
|
void |
setEnableLockingWithoutForceUpdate(boolean enable)
Sets new value for the
isEnableLockingWithoutForceUpdate() property |
void |
setIncludeVersionIntoURLMode(java.lang.String value) |
void |
setKeepLocks(boolean keepLocks) |
void |
setLastCameoResourceId(java.lang.String id)
Sets last used cameo resource(project) ID.
|
void |
setLastExpandedCategories(java.util.Collection<java.lang.String> categoryIds)
Sets collection of identifiers of categories that were recently expanded.
|
void |
setLastExpandedProjectUsagesCategories(java.util.Collection<java.lang.String> categoryIds)
Sets collection of identifiers of project usages categories that were recently expanded.
|
void |
setLastSelectedEsiOfflineServerID(java.lang.String serverId)
Sets server identifiers that was last selected as offline server.
|
void |
setLastUsedEsiBranches(java.lang.String info) |
void |
setLoginToken(java.lang.String token)
sets login token to server
|
void |
setMUServerName(java.lang.String name)
sets server name as a last used server name.
|
void |
setMUUserLogin(java.lang.String name)
sets user login to MU server
|
void |
setMUUserPassword(java.lang.String name)
sets user password to MU server
|
void |
setMUUserPasswordAndEncrypt(java.lang.String psw)
set encrypted password
|
void |
setNewProjectVersionCheckInterval(java.lang.String initialValue)
Sets the initial interval between version checks for.
|
void |
setNewProjectVersionNotification(boolean value)
Sets whether the New Project Version Notification
should be set to enabled or not.
|
void |
setProjectsTreeTableMode(java.lang.String value)
Sets the teamwork projects tree table display mode.
|
void |
setProjectUsagesUpdateNotification(int choice)
Sets when to show notification about available project usages updates to latest version.
|
void |
setRememberServerBetweenSessions(boolean remember)
Sets that server will be remembered during sessions.
|
void |
setRememberUserNameBetweenSessions(boolean remember)
Sets that login will be remembered during sessions.
|
void |
setServerNames(java.util.List<java.lang.String> serverNames)
Setter for team server list (server names)
|
void |
setShowModuleVersionsConflictWarning(boolean show) |
void |
setSSOLoginTabVisible(boolean visible)
Sets new value for the
SSOLoginTabVisible property |
void |
setUseSecureConnection(boolean use) |
void |
setWebAppServerUrl(java.lang.String url)
Sets WebApp URL.
|
beforeLoad, getExporterVersion, getOptionsToSave, isExporterVersionEarlier, isExporterVersionEarlier, loadOptions
addInvisibleProperty, addProperty, addProperty, addProperty, getOptions, getProperty, getVisibleOptions, removeProperty, setOptions, setPropertiesInvisible, setPropertyInvisible
getGroupIcon, getIcon, getName
public static final java.lang.String ID
public static final boolean DEFAULT_NEW_PROJECT_VERSION_CHECK
public static final java.lang.String DEFAULT_NEW_PROJECT_VERSION_CHECK_INTERVAL_IN_SECONDS
public static final int DEFAULT_PROJECT_USAGES_UPDATE_SHOW_NOTIFICATION_INDEX
public static final java.lang.String INCLUDE_VERSION_INTO_ELEMENT_URL_ASK
public static final java.lang.String INCLUDE_VERSION_INTO_ELEMENT_URL_INCLUDE
public static final java.lang.String INCLUDE_VERSION_INTO_ELEMENT_URL_DO_NOT_INCLUDE
public static final java.util.List PROJECT_USAGES_UPDATE_SHOW_NOTIFICATION_OPTION_CHOICES
public static final java.lang.String PROJECTS_TREE_TABLE_MODE_ORIGINAL
public static final java.lang.String PROJECTS_TREE_TABLE_MODE_FLAT
public void setDefaultValues()
AbstractPropertyOptionsGroup
setDefaultValues
in class com.nomagic.magicdraw.core.options.VersionedOptionsGroup
protected void afterLoad(com.nomagic.magicdraw.lic.MDVersion version, boolean pluginsLoaded)
afterLoad
in class com.nomagic.magicdraw.core.options.VersionedOptionsGroup
public void setAutoLoginToMU(boolean log)
public boolean isAutoLoginToMU()
public void setMUServerName(java.lang.String name)
public void setAuthServerName(java.lang.String name)
name
- server namepublic java.lang.String getMUServerName()
public java.lang.String getAuthServerName()
public void setMUUserLogin(java.lang.String name)
public java.lang.String getMUUserLogin()
public void setLoginToken(java.lang.String token)
token
- authentication tokenpublic java.lang.String getLoginToken()
public java.lang.String getMUUserPassword()
public void setMUUserPasswordAndEncrypt(java.lang.String psw)
public void setMUUserPassword(java.lang.String name)
public void clearMUUserPassword()
public void setShowModuleVersionsConflictWarning(boolean show)
public boolean isShowModuleVersionsConflictWarning()
public void setLastUsedEsiBranches(java.lang.String info)
public java.lang.String getLastUsedEsiBranches()
public java.util.List<java.lang.String> getServerNames()
public java.util.List<java.lang.String> getAuthServerNames()
public void setAuthServerNames(java.util.List<java.lang.String> serverNames)
public java.util.List<java.lang.String> getDefaultServerNames()
public void setServerNames(java.util.List<java.lang.String> serverNames)
public java.lang.String getIncludeVersionIntoURLMode()
public void setIncludeVersionIntoURLMode(java.lang.String value)
public java.util.Collection<java.lang.String> getLastExpandedCategories()
public void setLastExpandedCategories(java.util.Collection<java.lang.String> categoryIds)
public java.util.Collection<java.lang.String> getLastExpandedProjectUsagesCategories()
public void setLastExpandedProjectUsagesCategories(java.util.Collection<java.lang.String> categoryIds)
@CheckForNull public java.lang.String getLastSelectedEsiOfflineServerID()
public void setLastSelectedEsiOfflineServerID(java.lang.String serverId)
serverId
- server ID (esi server cluster ID)public java.lang.String getProjectsTreeTableMode()
PROJECTS_TREE_TABLE_MODE_ORIGINAL
,
PROJECTS_TREE_TABLE_MODE_FLAT
public void setProjectsTreeTableMode(java.lang.String value)
public boolean isEmptyTeamworkProjectsCategoriesVisible()
public void setEmptyTeamworkProjectsCategoriesVisible(boolean visible)
public void setUseSecureConnection(boolean use)
public boolean isUseSecureConnection()
public com.nomagic.ui.banners.Banner getBanner()
getBanner
in class OptionsGroup
public void setRememberServerBetweenSessions(boolean remember)
remember
- - true to remember, false not to remember.public boolean isRememberServerBetweenSessions()
public void setRememberUserNameBetweenSessions(boolean remember)
remember
- - true to remember, false not to remember.public boolean isRememberUserNameBetweenSessions()
public void setLastCameoResourceId(java.lang.String id)
id
- unique id of resource.@CheckForNull public java.lang.String getLastCameoResourceId()
public void setKeepLocks(boolean keepLocks)
public boolean isKeepLocks()
public void setAutoCommitOnProjectMigration(boolean autoCommit)
autoCommitOnProjectMigration
propertyautoCommit
- the value to setpublic boolean isAutoCommitOnProjectMigration()
true
if project should be auto-committed after
migration, false
if notpublic void setSSOLoginTabVisible(boolean visible)
SSOLoginTabVisible
propertyvisible
- the value to setpublic boolean isSSOLoginTabVisible()
true
if login tab should be visible, false
if notpublic void setNewProjectVersionCheckInterval(java.lang.String initialValue)
initialValue
- value to select in the choice boxpublic int getNewProjectVersionCheckInterval()
public void setNewProjectVersionNotification(boolean value)
value
- identifies the state of the property(true
means enabled)public boolean isNewProjectVersionCheckEnabled()
true
if the property is enabledpublic void setProjectUsagesUpdateNotification(int choice)
choice
- when to show notification about available project usages updates to latest version (open = 0, open, update and save = 1, never = 2).public int getProjectUsagesUpdateNotification()
public void setEnableLockingWithoutForceUpdate(boolean enable)
isEnableLockingWithoutForceUpdate()
propertyenable
- enable lock without updatepublic boolean isEnableLockingWithoutForceUpdate()
false
if project if forced to updatepublic void setCreateMountRelationshipsOnImportToCEDW(boolean enable)
enable
- new valuepublic boolean getCreateMountRelationshipsOnImportToCEDW()
public void setWebAppServerUrl(java.lang.String url)
url
- new URL@CheckForNull public java.lang.String getWebAppServerUrl()