Class StyleImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.graphiti.mm.impl.StyleContainerImpl
org.eclipse.graphiti.mm.algorithms.styles.impl.StyleImpl
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.InternalEObject
,AbstractStyle
,Style
,StyleContainer
An implementation of the model object 'Style'.
The following features are implemented:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
-
Field Summary
Modifier and TypeFieldDescriptionprotected Integer
The cached value of the 'Angle
' attribute.protected static final Integer
The default value of the 'Angle
' attribute.protected Color
The cached value of the 'Background
' reference.protected String
The cached value of the 'Description
' attribute.protected static final String
The default value of the 'Description
' attribute.protected Boolean
The cached value of the 'Filled
' attribute.protected static final Boolean
The default value of the 'Filled
' attribute.protected boolean
This is true if the Filled attribute has been set.protected Font
The cached value of the 'Font
' reference.protected Color
The cached value of the 'Foreground
' reference.protected static final Orientation
The default value of the 'Horizontal Alignment
' attribute.protected Orientation
The cached value of the 'Horizontal Alignment
' attribute.protected String
The cached value of the 'Id
' attribute.protected static final String
The default value of the 'Id
' attribute.protected static final LineStyle
The default value of the 'Line Style
' attribute.protected static final Boolean
The default value of the 'Line Visible
' attribute.protected static final Integer
The default value of the 'Line Width
' attribute.protected LineStyle
The cached value of the 'Line Style
' attribute.protected Boolean
The cached value of the 'Line Visible
' attribute.protected boolean
This is true if the Line Visible attribute has been set.protected Integer
The cached value of the 'Line Width
' attribute.protected Boolean
The cached value of the 'Proportional
' attribute.protected static final Boolean
The default value of the 'Proportional
' attribute.protected RenderingStyle
The cached value of the 'Rendering Style
' containment reference.protected Double
The cached value of the 'Rotation
' attribute.protected static final Double
The default value of the 'Rotation
' attribute.protected static final Boolean
The default value of the 'Stretch H
' attribute.protected static final Boolean
The default value of the 'Stretch V
' attribute.protected Boolean
The cached value of the 'Stretch H
' attribute.protected Boolean
The cached value of the 'Stretch V
' attribute.protected Double
The cached value of the 'Transparency
' attribute.protected static final Double
The default value of the 'Transparency
' attribute.protected static final Orientation
The default value of the 'Vertical Alignment
' attribute.protected Orientation
The cached value of the 'Vertical Alignment
' attribute.Fields inherited from class org.eclipse.graphiti.mm.impl.StyleContainerImpl
styles
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.common.notify.NotificationChain
basicSetRenderingStyle
(RenderingStyle newRenderingStyle, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChain
basicSetStyleContainer
(StyleContainer newStyleContainer, org.eclipse.emf.common.notify.NotificationChain msgs) int
eBaseStructuralFeatureID
(int derivedFeatureID, Class<?> baseClass) org.eclipse.emf.common.notify.NotificationChain
eBasicRemoveFromContainerFeature
(org.eclipse.emf.common.notify.NotificationChain msgs) int
eDerivedStructuralFeatureID
(int baseFeatureID, Class<?> baseClass) eGet
(int featureID, boolean resolve, boolean coreType) org.eclipse.emf.common.notify.NotificationChain
eInverseAdd
(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChain
eInverseRemove
(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) boolean
eIsSet
(int featureID) void
protected org.eclipse.emf.ecore.EClass
void
eUnset
(int featureID) getAngle()
getFont()
getId()
boolean
boolean
void
void
setBackground
(Color newBackground) void
setDescription
(String newDescription) void
void
void
setForeground
(Color newForeground) void
setHorizontalAlignment
(Orientation newHorizontalAlignment) void
void
setLineStyle
(LineStyle newLineStyle) void
setLineVisible
(Boolean newLineVisible) void
setLineWidth
(Integer newLineWidth) void
setProportional
(Boolean newProportional) void
setRenderingStyle
(RenderingStyle newRenderingStyle) void
setRotation
(Double newRotation) void
setStretchH
(Boolean newStretchH) void
setStretchV
(Boolean newStretchV) void
setStyleContainer
(StyleContainer newStyleContainer) void
setTransparency
(Double newTransparency) void
setVerticalAlignment
(Orientation newVerticalAlignment) toString()
void
void
Methods inherited from class org.eclipse.graphiti.mm.impl.StyleContainerImpl
getStyles
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
Methods inherited from interface org.eclipse.graphiti.mm.StyleContainer
getStyles
-
Field Details
-
background
The cached value of the 'Background
' reference.- See Also:
-
foreground
The cached value of the 'Foreground
' reference.- See Also:
-
LINE_WIDTH_EDEFAULT
The default value of the 'Line Width
' attribute.- See Also:
-
lineWidth
The cached value of the 'Line Width
' attribute.- See Also:
-
LINE_STYLE_EDEFAULT
The default value of the 'Line Style
' attribute.- See Also:
-
lineStyle
The cached value of the 'Line Style
' attribute.- See Also:
-
FILLED_EDEFAULT
The default value of the 'Filled
' attribute.- See Also:
-
filled
The cached value of the 'Filled
' attribute.- See Also:
-
filledESet
protected boolean filledESetThis is true if the Filled attribute has been set. -
LINE_VISIBLE_EDEFAULT
The default value of the 'Line Visible
' attribute.- See Also:
-
lineVisible
The cached value of the 'Line Visible
' attribute.- See Also:
-
lineVisibleESet
protected boolean lineVisibleESetThis is true if the Line Visible attribute has been set. -
renderingStyle
The cached value of the 'Rendering Style
' containment reference.- See Also:
-
TRANSPARENCY_EDEFAULT
The default value of the 'Transparency
' attribute.- See Also:
-
transparency
The cached value of the 'Transparency
' attribute.- See Also:
-
ID_EDEFAULT
The default value of the 'Id
' attribute.- See Also:
-
id
The cached value of the 'Id
' attribute.- See Also:
-
DESCRIPTION_EDEFAULT
The default value of the 'Description
' attribute.- See Also:
-
description
The cached value of the 'Description
' attribute.- See Also:
-
font
The cached value of the 'Font
' reference.- See Also:
-
HORIZONTAL_ALIGNMENT_EDEFAULT
The default value of the 'Horizontal Alignment
' attribute.- See Also:
-
horizontalAlignment
The cached value of the 'Horizontal Alignment
' attribute.- See Also:
-
VERTICAL_ALIGNMENT_EDEFAULT
The default value of the 'Vertical Alignment
' attribute.- See Also:
-
verticalAlignment
The cached value of the 'Vertical Alignment
' attribute.- See Also:
-
ANGLE_EDEFAULT
The default value of the 'Angle
' attribute.- See Also:
-
angle
The cached value of the 'Angle
' attribute.- See Also:
-
STRETCH_H_EDEFAULT
The default value of the 'Stretch H
' attribute.- See Also:
-
stretchH
The cached value of the 'Stretch H
' attribute.- See Also:
-
STRETCH_V_EDEFAULT
The default value of the 'Stretch V
' attribute.- See Also:
-
stretchV
The cached value of the 'Stretch V
' attribute.- See Also:
-
PROPORTIONAL_EDEFAULT
The default value of the 'Proportional
' attribute.- See Also:
-
proportional
The cached value of the 'Proportional
' attribute.- See Also:
-
ROTATION_EDEFAULT
The default value of the 'Rotation
' attribute.- See Also:
-
rotation
The cached value of the 'Rotation
' attribute.- See Also:
-
-
Constructor Details
-
StyleImpl
protected StyleImpl()
-
-
Method Details
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()- Overrides:
eStaticClass
in classStyleContainerImpl
-
getBackground
- Specified by:
getBackground
in interfaceAbstractStyle
- Returns:
- the value of the 'Background' reference.
- See Also:
-
basicGetBackground
-
setBackground
- Specified by:
setBackground
in interfaceAbstractStyle
- Parameters:
newBackground
- the new value of the 'Background' reference.- See Also:
-
getForeground
- Specified by:
getForeground
in interfaceAbstractStyle
- Returns:
- the value of the 'Foreground' reference.
- See Also:
-
basicGetForeground
-
setForeground
- Specified by:
setForeground
in interfaceAbstractStyle
- Parameters:
newForeground
- the new value of the 'Foreground' reference.- See Also:
-
getLineWidth
- Specified by:
getLineWidth
in interfaceAbstractStyle
- Returns:
- the value of the 'Line Width' attribute.
- See Also:
-
setLineWidth
- Specified by:
setLineWidth
in interfaceAbstractStyle
- Parameters:
newLineWidth
- the new value of the 'Line Width' attribute.- See Also:
-
getLineStyle
- Specified by:
getLineStyle
in interfaceAbstractStyle
- Returns:
- the value of the 'Line Style' attribute.
- See Also:
-
setLineStyle
- Specified by:
setLineStyle
in interfaceAbstractStyle
- Parameters:
newLineStyle
- the new value of the 'Line Style' attribute.- See Also:
-
getFilled
- Specified by:
getFilled
in interfaceAbstractStyle
- Returns:
- the value of the 'Filled' attribute.
- See Also:
-
setFilled
- Specified by:
setFilled
in interfaceAbstractStyle
- Parameters:
newFilled
- the new value of the 'Filled' attribute.- See Also:
-
unsetFilled
public void unsetFilled()- Specified by:
unsetFilled
in interfaceAbstractStyle
- See Also:
-
isSetFilled
public boolean isSetFilled()- Specified by:
isSetFilled
in interfaceAbstractStyle
- Returns:
- whether the value of the 'Filled' attribute is set.
- See Also:
-
getLineVisible
- Specified by:
getLineVisible
in interfaceAbstractStyle
- Returns:
- the value of the 'Line Visible' attribute.
- See Also:
-
setLineVisible
- Specified by:
setLineVisible
in interfaceAbstractStyle
- Parameters:
newLineVisible
- the new value of the 'Line Visible' attribute.- See Also:
-
unsetLineVisible
public void unsetLineVisible()- Specified by:
unsetLineVisible
in interfaceAbstractStyle
- See Also:
-
isSetLineVisible
public boolean isSetLineVisible()- Specified by:
isSetLineVisible
in interfaceAbstractStyle
- Returns:
- whether the value of the 'Line Visible' attribute is set.
- See Also:
-
getRenderingStyle
- Specified by:
getRenderingStyle
in interfaceAbstractStyle
- Returns:
- the value of the 'Rendering Style' containment reference.
- See Also:
-
basicGetRenderingStyle
-
basicSetRenderingStyle
public org.eclipse.emf.common.notify.NotificationChain basicSetRenderingStyle(RenderingStyle newRenderingStyle, org.eclipse.emf.common.notify.NotificationChain msgs) -
setRenderingStyle
- Specified by:
setRenderingStyle
in interfaceAbstractStyle
- Parameters:
newRenderingStyle
- the new value of the 'Rendering Style' containment reference.- See Also:
-
getTransparency
- Specified by:
getTransparency
in interfaceAbstractStyle
- Returns:
- the value of the 'Transparency' attribute.
- See Also:
-
setTransparency
- Specified by:
setTransparency
in interfaceAbstractStyle
- Parameters:
newTransparency
- the new value of the 'Transparency' attribute.- See Also:
-
getId
-
setId
-
getDescription
- Specified by:
getDescription
in interfaceStyle
- Returns:
- the value of the 'Description' attribute.
- See Also:
-
setDescription
- Specified by:
setDescription
in interfaceStyle
- Parameters:
newDescription
- the new value of the 'Description' attribute.- See Also:
-
getFont
-
basicGetFont
-
setFont
-
getHorizontalAlignment
- Specified by:
getHorizontalAlignment
in interfaceStyle
- Returns:
- the value of the 'Horizontal Alignment' attribute.
- See Also:
-
setHorizontalAlignment
- Specified by:
setHorizontalAlignment
in interfaceStyle
- Parameters:
newHorizontalAlignment
- the new value of the 'Horizontal Alignment' attribute.- See Also:
-
getVerticalAlignment
- Specified by:
getVerticalAlignment
in interfaceStyle
- Returns:
- the value of the 'Vertical Alignment' attribute.
- See Also:
-
setVerticalAlignment
- Specified by:
setVerticalAlignment
in interfaceStyle
- Parameters:
newVerticalAlignment
- the new value of the 'Vertical Alignment' attribute.- See Also:
-
getAngle
-
setAngle
-
getStretchH
- Specified by:
getStretchH
in interfaceStyle
- Returns:
- the value of the 'Stretch H' attribute.
- See Also:
-
setStretchH
- Specified by:
setStretchH
in interfaceStyle
- Parameters:
newStretchH
- the new value of the 'Stretch H' attribute.- See Also:
-
getStretchV
- Specified by:
getStretchV
in interfaceStyle
- Returns:
- the value of the 'Stretch V' attribute.
- See Also:
-
setStretchV
- Specified by:
setStretchV
in interfaceStyle
- Parameters:
newStretchV
- the new value of the 'Stretch V' attribute.- See Also:
-
getProportional
- Specified by:
getProportional
in interfaceStyle
- Returns:
- the value of the 'Proportional' attribute.
- See Also:
-
setProportional
- Specified by:
setProportional
in interfaceStyle
- Parameters:
newProportional
- the new value of the 'Proportional' attribute.- See Also:
-
getStyleContainer
- Specified by:
getStyleContainer
in interfaceStyle
- Returns:
- the value of the 'Style Container' container reference.
- See Also:
-
basicGetStyleContainer
-
basicSetStyleContainer
public org.eclipse.emf.common.notify.NotificationChain basicSetStyleContainer(StyleContainer newStyleContainer, org.eclipse.emf.common.notify.NotificationChain msgs) -
setStyleContainer
- Specified by:
setStyleContainer
in interfaceStyle
- Parameters:
newStyleContainer
- the new value of the 'Style Container' container reference.- See Also:
-
getRotation
- Specified by:
getRotation
in interfaceStyle
- Returns:
- the value of the 'Rotation' attribute.
- See Also:
-
setRotation
- Specified by:
setRotation
in interfaceStyle
- Parameters:
newRotation
- the new value of the 'Rotation' attribute.- See Also:
-
eInverseAdd
public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) - Overrides:
eInverseAdd
in classStyleContainerImpl
-
eInverseRemove
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) - Overrides:
eInverseRemove
in classStyleContainerImpl
-
eBasicRemoveFromContainerFeature
public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs) - Overrides:
eBasicRemoveFromContainerFeature
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eGet
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classStyleContainerImpl
-
eSet
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classStyleContainerImpl
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classStyleContainerImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classStyleContainerImpl
-
eBaseStructuralFeatureID
- Specified by:
eBaseStructuralFeatureID
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eBaseStructuralFeatureID
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eDerivedStructuralFeatureID
- Specified by:
eDerivedStructuralFeatureID
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eDerivedStructuralFeatureID
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
toString
- Overrides:
toString
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-