Class SelectElementTypes

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

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

    • display

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

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

      @CheckForNull public 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 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 Details

    • 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 Collection display, @CheckForNull Collection select)
    • SelectElementTypes

      public SelectElementTypes(@CheckForNull Collection display, @CheckForNull Collection select, @CheckForNull Stereotype stereotype)
    • SelectElementTypes

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

      public SelectElementTypes(@CheckForNull Collection display, @CheckForNull Collection select, @CheckForNull 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 Collection display, @CheckForNull Collection select, @CheckForNull Collection create, Collection restricted)
      Constructor.
      Parameters:
      display - display value.
      select - select value.
      create - create value.
      restricted - restricted value.
    • SelectElementTypes

      public SelectElementTypes(@CheckForNull Collection display, @CheckForNull Collection select, @CheckForNull Collection create, 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
  • Method Details