Class SimulationProfile.ImageSwitcherStereotype

java.lang.Object
com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
com.nomagic.magicdraw.simulation.SimulationProfile.ImageSwitcherStereotype
Enclosing class:
SimulationProfile

public static class SimulationProfile.ImageSwitcherStereotype extends ProfileImplementation.StereotypeWrapper
  • Field Details

    • STEREOTYPE_NAME

      public static final String STEREOTYPE_NAME
      See Also:
    • SHOWEMPTYIMAGEFORUNSPECIFIEDVALUE

      public static final String SHOWEMPTYIMAGEFORUNSPECIFIEDVALUE
      If this value is true when the property typed by what imageSwitcher represents has the value that does not specified as any activeElement of the activeImage of this imageSwitcher, empty image would be shown. Otherwise, the image will not change.
      See Also:
    • SOURCE

      public static final String SOURCE
      Specify the implementation class for the UI component. It must be a Java class that implements the com.nomagic.magicdraw.simulation.uiprototype.Mockup interface.
      See Also:
    • NESTEDPROPERTYPATHS

      public static final String NESTEDPROPERTYPATHS
      Specify nested property paths
      See Also:
    • REPRESENTS

      public static final String REPRESENTS
      Specify the classifier represented by the configuration.
      See Also:
    • VALUE

      public static final String VALUE
      Structural feature which value should be represented for the configuration.
      See Also:
  • Constructor Details

    • ImageSwitcherStereotype

      protected ImageSwitcherStereotype(SimulationProfile profile)
  • Method Details

    • getStereotype

      public Stereotype getStereotype()
      Description copied from class: ProfileImplementation.StereotypeWrapper
      Returns stereotype for this wrapper.
      Specified by:
      getStereotype in class ProfileImplementation.StereotypeWrapper
      Returns:
      stereotype
    • getShowEmptyImageForUnspecifiedValueProperty

      @CheckForNull public Property getShowEmptyImageForUnspecifiedValueProperty()
    • getSourceProperty

      @CheckForNull public Property getSourceProperty()
    • getNestedPropertyPathsProperty

      @CheckForNull public Property getNestedPropertyPathsProperty()
    • getRepresentsProperty

      @CheckForNull public Property getRepresentsProperty()
    • getValueProperty

      @CheckForNull public Property getValueProperty()
    • setShowEmptyImageForUnspecifiedValue

      public void setShowEmptyImageForUnspecifiedValue(Element element, @CheckForNull Boolean value)
    • clearShowEmptyImageForUnspecifiedValue

      public void clearShowEmptyImageForUnspecifiedValue(Element element)
    • isShowEmptyImageForUnspecifiedValue

      @CheckForNull public Boolean isShowEmptyImageForUnspecifiedValue(Element element)
    • setSource

      public void setSource(Element element, @CheckForNull String value)
    • clearSource

      public void clearSource(Element element)
    • getSource

      @CheckForNull public String getSource(Element element)
    • setNestedPropertyPaths

      public void setNestedPropertyPaths(Element element, @CheckForNull Collection<String> value)
    • clearNestedPropertyPaths

      public void clearNestedPropertyPaths(Element element)
    • addNestedPropertyPaths

      public void addNestedPropertyPaths(Element element, String value)
    • removeNestedPropertyPaths

      public void removeNestedPropertyPaths(Element element, String value)
    • getNestedPropertyPaths

      public List<String> getNestedPropertyPaths(Element element)
    • setRepresents

      public void setRepresents(Element element, @CheckForNull Element value)
    • clearRepresents

      public void clearRepresents(Element element)
    • getRepresents

      @CheckForNull public Element getRepresents(Element element)
    • setValue

      public void setValue(Element element, @CheckForNull Collection<? extends Element> value)
    • clearValue

      public void clearValue(Element element)
    • addValue

      public void addValue(Element element, Element value)
    • removeValue

      public void removeValue(Element element, Element value)
    • getValue

      public List<Element> getValue(Element element)
    • clear

      protected void clear()
    • is

      public boolean is(@CheckForNull Element element)
    • isInstance

      public static boolean isInstance(@CheckForNull Element element)