Class SelectElementTypes


  • @OpenApiAll
    public class SelectElementTypes
    extends java.lang.Object
    Element types for element(s) selection dialog.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.util.Collection create
      The types (metaclasses) of elements or stereotypes that can be created in the select element dialog.
      java.util.Collection display
      The types (metaclasses) of elements that should be displayed in the select element dialog.
      java.util.Collection restricted
      The types (metaclasses) of elements or stereotypes that restricts the element selection.
      java.util.Collection select
      The types (metaclasses) of elements that can be selected in the select element dialog.
      boolean usedAsTypes
      The result will be used as "type", so possible elements should be filtered by DSL engine doNotSuggestAsType flag.
    • Field Detail

      • display

        @CheckForNull
        public java.util.Collection display
        The types (metaclasses) of elements that should be displayed in the select element dialog.
      • select

        @CheckForNull
        public java.util.Collection select
        The types (metaclasses) of elements that can be selected in the select element dialog.
      • create

        @CheckForNull
        public java.util.Collection create
        The types (metaclasses) of elements or stereotypes that can be created in the select element dialog. Stereotype means that element with the applied stereotype will be created.
      • restricted

        public java.util.Collection restricted
        The types (metaclasses) of elements or stereotypes that restricts the element selection. If the restricted element is stereotype - only element that has applied this stereotype can be selected.
      • usedAsTypes

        public boolean usedAsTypes
        The result will be used as "type", so possible elements should be filtered by DSL engine doNotSuggestAsType flag.
    • Constructor Detail

      • SelectElementTypes

        public SelectElementTypes​(ElementProperty property,
                                  boolean creatable)
      • SelectElementTypes

        public SelectElementTypes​(ElementProperty property,
                                  boolean creatable,
                                  boolean appendOwnersToCreatable)
      • SelectElementTypes

        public SelectElementTypes​(ElementListProperty property,
                                  boolean creatable)
      • SelectElementTypes

        public SelectElementTypes​(ElementListProperty property,
                                  boolean creatable,
                                  boolean appendOwnersToCreatable)
      • SelectElementTypes

        public SelectElementTypes​(@CheckForNull
                                  java.util.Collection display,
                                  @CheckForNull
                                  java.util.Collection select)
      • SelectElementTypes

        public SelectElementTypes​(@CheckForNull
                                  java.util.Collection display,
                                  @CheckForNull
                                  java.util.Collection select,
                                  @CheckForNull
                                  Stereotype stereotype)
      • SelectElementTypes

        public SelectElementTypes​(@CheckForNull
                                  java.util.Collection display,
                                  @CheckForNull
                                  java.util.Collection select,
                                  @CheckForNull
                                  java.util.Collection create)
        Constructor.
        Parameters:
        display - display value.
        select - select value.
        create - create value.
      • SelectElementTypes

        public SelectElementTypes​(@CheckForNull
                                  java.util.Collection display,
                                  @CheckForNull
                                  java.util.Collection select,
                                  @CheckForNull
                                  java.util.Collection create,
                                  boolean appendOwnersToCreatable)
        Constructor.
        Parameters:
        display - display value.
        select - select value.
        create - create value.
        appendOwnersToCreatable - true if possible owners should be added into creatable metaclasses
      • SelectElementTypes

        public SelectElementTypes​(@CheckForNull
                                  java.util.Collection display,
                                  @CheckForNull
                                  java.util.Collection select,
                                  @CheckForNull
                                  java.util.Collection create,
                                  java.util.Collection restricted)
        Constructor.
        Parameters:
        display - display value.
        select - select value.
        create - create value.
        restricted - restricted value.
      • SelectElementTypes

        public SelectElementTypes​(@CheckForNull
                                  java.util.Collection display,
                                  @CheckForNull
                                  java.util.Collection select,
                                  @CheckForNull
                                  java.util.Collection create,
                                  java.util.Collection restricted,
                                  boolean appendOwnersToCreatable)
        Constructor.
        Parameters:
        display - display value.
        select - select value.
        create - create value.
        restricted - restricted value.
        appendOwnersToCreatable - true if possible owners should be added into creatable metaclasses