Class SelectElementInfo

java.lang.Object
com.nomagic.magicdraw.ui.dialogs.SelectElementInfo

@OpenApi public class SelectElementInfo extends Object
Info class for controling selection UI in element selection dialog.
  • Field Details

    • SUGGESTION_LIST_NEVER

      @OpenApi @Deprecated public static final int SUGGESTION_LIST_NEVER
      Deprecated.
      not used anymore
      Never show element suggestion list.
      See Also:
    • SUGGESTION_LIST_ALWAYS

      @OpenApi @Deprecated public static final int SUGGESTION_LIST_ALWAYS
      Deprecated.
      not used anymore
      Always show element suggestion list.
      See Also:
    • SUGGESTION_LIST_ON_DEMAND

      @OpenApi @Deprecated public static final int SUGGESTION_LIST_ON_DEMAND
      Deprecated.
      not used anymore
      Show suggestion list only if suggested elements are Types
      See Also:
    • 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 demand
      Show model relationships in selection UI
    • allowLoad

      @OpenApi @Deprecated public boolean allowLoad
      Deprecated.
      not used anymore. Now modules are allowed to load if needed
      Allow to load not loaded modules in UI
    • suggestionList

      @OpenApi @Deprecated public int suggestionList
      Deprecated.
      not used anymore. Suggestion list is shown always in selection UI
      Suggestion list display mode
      See Also:
    • root

      @OpenApi public Element root
      Root element of selection UI
    • sortable

      @OpenApi public boolean sortable
      Should result of selection in UI be "sortable"
  • Constructor Details

    • 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.