Package com.nomagic.magicdraw.simulation
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 Summary
Fields Modifier and Type Field Description static java.lang.String
NESTEDPROPERTYPATHS
Specify nested property pathsstatic java.lang.String
REPRESENTS
Specify the classifier represented by the configuration.static 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.static java.lang.String
SOURCE
Specify the implementation class for the UI component.static java.lang.String
STEREOTYPE_NAME
static java.lang.String
VALUE
Structural feature which value should be represented for the configuration.
-
Constructor Summary
Constructors Modifier Constructor Description protected
ImageSwitcherStereotype(SimulationProfile profile)
-
Method Summary
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
-
-
-
Field Detail
-
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- See Also:
- Constant Field Values
-
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
-
getStereotype
public Stereotype getStereotype()
Description copied from class:ProfileImplementation.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in classProfileImplementation.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 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)
-
clearRepresents
public void clearRepresents(Element element)
-
setValue
public void setValue(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearValue
public void clearValue(Element element)
-
clear
protected void clear()
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-