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
FieldsModifier and TypeFieldDescriptionstatic final StringSpecify nested property pathsstatic final StringSpecify the classifier represented by the configuration.static final StringIf 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 StringSpecify the implementation class for the UI component.static final Stringstatic final StringStructural feature which value should be represented for the configuration. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddNestedPropertyPaths(Element element, String value) voidprotected voidclear()voidclearNestedPropertyPaths(Element element) voidclearRepresents(Element element) voidvoidclearSource(Element element) voidclearValue(Element element) getNestedPropertyPaths(Element element) getRepresents(Element element) Returns stereotype for this wrapper.booleanstatic booleanisInstance(Element element) voidremoveNestedPropertyPaths(Element element, String value) voidremoveValue(Element element, Element value) voidsetNestedPropertyPaths(Element element, Collection<String> value) voidsetRepresents(Element element, Element value) voidsetShowEmptyImageForUnspecifiedValue(Element element, Boolean value) voidvoidsetValue(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.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
getStereotypein 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
-