Package com.nomagic.magicdraw.ui.dialogs
Class SelectElementInfo
- java.lang.Object
-
- com.nomagic.magicdraw.ui.dialogs.SelectElementInfo
-
@OpenApi public class SelectElementInfo extends java.lang.Object
Info class for controling selection UI in element selection dialog.
-
-
Field Summary
Fields Modifier and Type Field Description boolean
allowLoad
Deprecated.not used anymore.Element
root
Root element of selection UIboolean
showDiagrams
Show diagrams nodes and allow to choose presentation elements in selection UIboolean
showNone
Show NONE nodeboolean
showNotLoadedData
Show not loaded data in UIboolean
showRelationships
Deprecated.not used anymore.boolean
sortable
Should result of selection in UI be "sortable"static int
SUGGESTION_LIST_ALWAYS
Deprecated.not used anymorestatic int
SUGGESTION_LIST_NEVER
Deprecated.not used anymorestatic int
SUGGESTION_LIST_ON_DEMAND
Deprecated.not used anymoreint
suggestionList
Deprecated.not used anymore.boolean
useTypeSpecificDialogTitle
-
Constructor Summary
Constructors Constructor Description SelectElementInfo(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
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SelectElementInfo
create(Property property)
An utility method to create an instance for given property.
-
-
-
Field Detail
-
SUGGESTION_LIST_NEVER
@OpenApi @Deprecated public static final int SUGGESTION_LIST_NEVER
Deprecated.not used anymoreNever show element suggestion list.- See Also:
- Constant Field Values
-
SUGGESTION_LIST_ALWAYS
@OpenApi @Deprecated public static final int SUGGESTION_LIST_ALWAYS
Deprecated.not used anymoreAlways show element suggestion list.- See Also:
- Constant Field Values
-
SUGGESTION_LIST_ON_DEMAND
@OpenApi @Deprecated public static final int SUGGESTION_LIST_ON_DEMAND
Deprecated.not used anymoreShow suggestion list only if suggested elements are Types- See Also:
- Constant Field Values
-
showNone
@OpenApi public boolean showNone
Show NONE node
-
showDiagrams
@OpenApi public boolean showDiagrams
Show diagrams nodes and allow to choose presentation elements in selection UI
-
showRelationships
@OpenApi @Deprecated public boolean showRelationships
Deprecated.not used anymore. Now relationships are shown on demandShow model relationships in selection UI
-
allowLoad
@OpenApi @Deprecated public boolean allowLoad
Deprecated.not used anymore. Now modules are allowed to load if neededAllow to load not loaded modules in UI
-
suggestionList
@OpenApi @Deprecated public int suggestionList
Deprecated.not used anymore. Suggestion list is shown always in selection UISuggestion list display mode
-
root
@OpenApi public Element root
Root element of selection UI
-
showNotLoadedData
public boolean showNotLoadedData
Show not loaded data in UI
-
sortable
@OpenApi public boolean sortable
Should result of selection in UI be "sortable"
-
useTypeSpecificDialogTitle
public boolean useTypeSpecificDialogTitle
-
-
Constructor Detail
-
SelectElementInfo
@OpenApi public SelectElementInfo(boolean showNone, boolean showDiagrams, @CheckForNull Element root, boolean sortable)
Constructor.- Parameters:
showNone
-showNone
value.showDiagrams
-showDiagrams
value.root
-root
value.sortable
-sortable
value.
-
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
public SelectElementInfo(boolean showNone, boolean showDiagrams, @CheckForNull Element root)
-
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 Detail
-
create
public static SelectElementInfo create(Property property)
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
-
-