Class SelectElementInfo


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

      • SUGGESTION_LIST_NEVER

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

        @OpenApi
        @Deprecated
        public static final int SUGGESTION_LIST_ALWAYS
        Deprecated.
        not used anymore
        Always 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 anymore
        Show 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 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
      • 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