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
Modifier and TypeFieldDescriptionstatic final String
Specify nested property pathsstatic final String
Specify the classifier represented by the configuration.static final String
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 final String
Specify the implementation class for the UI component.static final String
static final String
Structural feature which value should be represented for the configuration. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addNestedPropertyPaths
(Element element, String value) void
protected void
clear()
void
clearNestedPropertyPaths
(Element element) void
clearRepresents
(Element element) void
void
clearSource
(Element element) void
clearValue
(Element element) getNestedPropertyPaths
(Element element) getRepresents
(Element element) Returns stereotype for this wrapper.boolean
static boolean
isInstance
(Element element) void
removeNestedPropertyPaths
(Element element, String value) void
removeValue
(Element element, Element value) void
setNestedPropertyPaths
(Element element, Collection<String> value) void
setRepresents
(Element element, Element value) void
setShowEmptyImageForUnspecifiedValue
(Element element, Boolean value) void
void
setValue
(Element element, Collection<? extends Element> value) Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
Field Details
-
STEREOTYPE_NAME
- See Also:
-
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
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
Specify nested property paths- See Also:
-
REPRESENTS
Specify the classifier represented by the configuration.- See Also:
-
VALUE
Structural feature which value should be represented for the configuration.- See Also:
-
-
Constructor Details
-
ImageSwitcherStereotype
-
-
Method Details
-
getStereotype
Description copied from class:ProfileImplementation.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in classProfileImplementation.StereotypeWrapper
- Returns:
- stereotype
-
getShowEmptyImageForUnspecifiedValueProperty
-
getSourceProperty
-
getNestedPropertyPathsProperty
-
getRepresentsProperty
-
getValueProperty
-
setShowEmptyImageForUnspecifiedValue
-
clearShowEmptyImageForUnspecifiedValue
-
isShowEmptyImageForUnspecifiedValue
-
setSource
-
clearSource
-
getSource
-
setNestedPropertyPaths
-
clearNestedPropertyPaths
-
addNestedPropertyPaths
-
removeNestedPropertyPaths
-
getNestedPropertyPaths
-
setRepresents
-
clearRepresents
-
getRepresents
-
setValue
-
clearValue
-
addValue
-
removeValue
-
getValue
-
clear
protected void clear() -
is
-
isInstance
-