public interface DisplayOption<T>
extends org.eclipse.emf.ecore.EObject
The following features are supported:
ModelPackage.getDisplayOption()
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getDefaultProperties() |
IDisplayOptionData |
getDisplayOptionData() |
java.lang.String |
getOptionGroup()
Returns the value of the 'Option Group' attribute.
|
RenderObject<?> |
getParent()
Returns the value of the 'Parent' reference.
|
DisplayOptionType |
getType()
Returns the value of the 'Type' attribute.
|
boolean |
isActive()
Returns the value of the 'Active' attribute.
|
void |
modify(T element)
Apply this option's modifications to the given mesh.
|
void |
setActive(boolean value)
Sets the value of the '
Active ' attribute. |
void |
setOptionGroup(java.lang.String value)
Sets the value of the '
Option Group ' attribute. |
void |
setParent(RenderObject<?> value)
Sets the value of the '
Parent ' reference. |
void |
setType(DisplayOptionType value)
Sets the value of the '
Type ' attribute. |
boolean isActive()
"true"
.
Whether the option is currently active. If false, the DisplayOption will not have any effect, the same as if it were not in the RenderObject's list of options. If true, it will apply its changes to the RenderObject's mesh.
setActive(boolean)
,
ModelPackage.getDisplayOption_Active()
void setActive(boolean value)
Active
' attribute.
value
- the new value of the 'Active' attribute.isActive()
java.lang.String getOptionGroup()
setOptionGroup(String)
,
ModelPackage.getDisplayOption_OptionGroup()
void setOptionGroup(java.lang.String value)
Option Group
' attribute.
value
- the new value of the 'Option Group' attribute.getOptionGroup()
RenderObject<?> getParent()
If the meaning of the 'Parent' reference isn't clear, there really should be more of a description here...
setParent(RenderObject)
,
ModelPackage.getDisplayOption_Parent()
void setParent(RenderObject<?> value)
Parent
' reference.
value
- the new value of the 'Parent' reference.getParent()
DisplayOptionType getType()
DisplayOptionType
.
The type of control which best corresponds to this class's configuraiton options.
DisplayOptionType
,
setType(DisplayOptionType)
,
ModelPackage.getDisplayOption_Type()
void setType(DisplayOptionType value)
Type
' attribute.
value
- the new value of the 'Type' attribute.DisplayOptionType
,
getType()
void modify(T element)
java.util.Map<java.lang.String,java.lang.Object> getDefaultProperties()
IDisplayOptionData getDisplayOptionData()