Class SimulationProfile.ImageSwitcherStereotype

    • Field Detail

      • SHOWEMPTYIMAGEFORUNSPECIFIEDVALUE

        public static final java.lang.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:
        Constant Field Values
      • SOURCE

        public static final java.lang.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:
        Constant Field Values
      • NESTEDPROPERTYPATHS

        public static final java.lang.String NESTEDPROPERTYPATHS
        Specify nested property paths
        See Also:
        Constant Field Values
      • REPRESENTS

        public static final java.lang.String REPRESENTS
        Specify the classifier represented by the configuration.
        See Also:
        Constant Field Values
      • VALUE

        public static final java.lang.String VALUE
        Structural feature which value should be represented for the configuration.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ImageSwitcherStereotype

        protected ImageSwitcherStereotype​(SimulationProfile profile)
    • Method Detail

      • 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
                                                         java.lang.Boolean value)
      • clearShowEmptyImageForUnspecifiedValue

        public void clearShowEmptyImageForUnspecifiedValue​(Element element)
      • isShowEmptyImageForUnspecifiedValue

        @CheckForNull
        public java.lang.Boolean isShowEmptyImageForUnspecifiedValue​(Element element)
      • setSource

        public void setSource​(Element element,
                              @CheckForNull
                              java.lang.String value)
      • clearSource

        public void clearSource​(Element element)
      • getSource

        @CheckForNull
        public java.lang.String getSource​(Element element)
      • setNestedPropertyPaths

        public void setNestedPropertyPaths​(Element element,
                                           @CheckForNull
                                           java.util.Collection<java.lang.String> value)
      • clearNestedPropertyPaths

        public void clearNestedPropertyPaths​(Element element)
      • addNestedPropertyPaths

        public void addNestedPropertyPaths​(Element element,
                                           java.lang.String value)
      • removeNestedPropertyPaths

        public void removeNestedPropertyPaths​(Element element,
                                              java.lang.String value)
      • getNestedPropertyPaths

        public java.util.List<java.lang.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
                             java.util.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 java.util.List<Element> getValue​(Element element)
      • clear

        protected void clear()
      • is

        public boolean is​(@CheckForNull
                          Element element)
      • isInstance

        public static boolean isInstance​(@CheckForNull
                                         Element element)