Package com.nomagic.magicdraw.ui.dialogs
Class SelectElementInfo
java.lang.Object
com.nomagic.magicdraw.ui.dialogs.SelectElementInfo
Info class for controling selection UI in element selection dialog.
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanDeprecated.not used anymore.Root element of selection UIbooleanShow diagrams nodes and allow to choose presentation elements in selection UIbooleanShow NONE nodebooleanShow not loaded data in UIbooleanDeprecated.not used anymore.booleanShould result of selection in UI be "sortable"static final intDeprecated.not used anymorestatic final intDeprecated.not used anymorestatic final intDeprecated.not used anymoreintDeprecated.not used anymore.boolean -
Constructor Summary
ConstructorsConstructorDescriptionSelectElementInfo(boolean showNone, boolean showDiagrams) SelectElementInfo(boolean showNone, boolean showDiagrams, boolean showRelationships) SelectElementInfo(boolean showNone, boolean showDiagrams, boolean showRelationships, int suggestionList) SelectElementInfo(boolean showNone, boolean showDiagrams, boolean showRelationships, Element root) SelectElementInfo(boolean showNone, boolean showDiagrams, boolean showRelationships, Element root, int suggestionList) SelectElementInfo(boolean showNone, boolean showDiagrams, boolean showRelationships, Element root, int suggestionList, boolean showNotLoadedData) SelectElementInfo(boolean showNone, boolean showDiagrams, int suggestionList) SelectElementInfo(boolean showNone, boolean showDiagrams, Element root) SelectElementInfo(boolean showNone, boolean showDiagrams, Element root, boolean sortable) Constructor.SelectElementInfo(boolean showNone, boolean showDiagrams, Element root, int suggestionList) -
Method Summary
Modifier and TypeMethodDescriptionstatic SelectElementInfoAn utility method to create an instance for given property.
-
Field Details
-
SUGGESTION_LIST_NEVER
Deprecated.not used anymoreNever show element suggestion list.- See Also:
-
SUGGESTION_LIST_ALWAYS
Deprecated.not used anymoreAlways show element suggestion list.- See Also:
-
SUGGESTION_LIST_ON_DEMAND
Deprecated.not used anymoreShow suggestion list only if suggested elements are Types- See Also:
-
showNone
@OpenApi public boolean showNoneShow NONE node -
showDiagrams
@OpenApi public boolean showDiagramsShow diagrams nodes and allow to choose presentation elements in selection UI -
showRelationships
Deprecated.not used anymore. Now relationships are shown on demandShow model relationships in selection UI -
allowLoad
Deprecated.not used anymore. Now modules are allowed to load if neededAllow to load not loaded modules in UI -
suggestionList
Deprecated.not used anymore. Suggestion list is shown always in selection UISuggestion list display mode -
root
Root element of selection UI -
showNotLoadedData
public boolean showNotLoadedDataShow not loaded data in UI -
sortable
@OpenApi public boolean sortableShould result of selection in UI be "sortable" -
useTypeSpecificDialogTitle
public boolean useTypeSpecificDialogTitle
-
-
Constructor Details
-
SelectElementInfo
@OpenApi public SelectElementInfo(boolean showNone, boolean showDiagrams, @CheckForNull Element root, boolean sortable) Constructor.- Parameters:
showNone-showNonevalue.showDiagrams-showDiagramsvalue.root-rootvalue.sortable-sortablevalue.
-
SelectElementInfo
public SelectElementInfo(boolean showNone, boolean showDiagrams) -
SelectElementInfo
public SelectElementInfo(boolean showNone, boolean showDiagrams, boolean showRelationships) -
SelectElementInfo
public SelectElementInfo(boolean showNone, boolean showDiagrams, int suggestionList) -
SelectElementInfo
public SelectElementInfo(boolean showNone, boolean showDiagrams, boolean showRelationships, @CheckForNull Element root) -
SelectElementInfo
public SelectElementInfo(boolean showNone, boolean showDiagrams, boolean showRelationships, int suggestionList) -
SelectElementInfo
-
SelectElementInfo
public SelectElementInfo(boolean showNone, boolean showDiagrams, @CheckForNull Element root, int suggestionList) -
SelectElementInfo
public SelectElementInfo(boolean showNone, boolean showDiagrams, boolean showRelationships, @CheckForNull Element root, int suggestionList) -
SelectElementInfo
public SelectElementInfo(boolean showNone, boolean showDiagrams, boolean showRelationships, @CheckForNull Element root, int suggestionList, boolean showNotLoadedData)
-
-
Method Details
-
create
An utility method to create an instance for given property.- Parameters:
property- the given property- Returns:
- a new instance in case property is ElementProperty or Element ListProperty or null
-