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.EPropertiesHolderImplNested 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.EScannableAdapterListNested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IntegerThe cached value of the 'Angle' attribute.protected static final IntegerThe default value of the 'Angle' attribute.protected ColorThe cached value of the 'Background' reference.protected StringThe cached value of the 'Description' attribute.protected static final StringThe default value of the 'Description' attribute.protected BooleanThe cached value of the 'Filled' attribute.protected static final BooleanThe default value of the 'Filled' attribute.protected booleanThis is true if the Filled attribute has been set.protected FontThe cached value of the 'Font' reference.protected ColorThe cached value of the 'Foreground' reference.protected static final OrientationThe default value of the 'Horizontal Alignment' attribute.protected OrientationThe cached value of the 'Horizontal Alignment' attribute.protected StringThe cached value of the 'Id' attribute.protected static final StringThe default value of the 'Id' attribute.protected static final LineStyleThe default value of the 'Line Style' attribute.protected static final BooleanThe default value of the 'Line Visible' attribute.protected static final IntegerThe default value of the 'Line Width' attribute.protected LineStyleThe cached value of the 'Line Style' attribute.protected BooleanThe cached value of the 'Line Visible' attribute.protected booleanThis is true if the Line Visible attribute has been set.protected IntegerThe cached value of the 'Line Width' attribute.protected BooleanThe cached value of the 'Proportional' attribute.protected static final BooleanThe default value of the 'Proportional' attribute.protected RenderingStyleThe cached value of the 'Rendering Style' containment reference.protected DoubleThe cached value of the 'Rotation' attribute.protected static final DoubleThe default value of the 'Rotation' attribute.protected static final BooleanThe default value of the 'Stretch H' attribute.protected static final BooleanThe default value of the 'Stretch V' attribute.protected BooleanThe cached value of the 'Stretch H' attribute.protected BooleanThe cached value of the 'Stretch V' attribute.protected DoubleThe cached value of the 'Transparency' attribute.protected static final DoubleThe default value of the 'Transparency' attribute.protected static final OrientationThe default value of the 'Vertical Alignment' attribute.protected OrientationThe cached value of the 'Vertical Alignment' attribute.Fields inherited from class org.eclipse.graphiti.mm.impl.StyleContainerImpl
stylesFields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXYFields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETFields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.common.notify.NotificationChainbasicSetRenderingStyle(RenderingStyle newRenderingStyle, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetStyleContainer(StyleContainer newStyleContainer, org.eclipse.emf.common.notify.NotificationChain msgs) inteBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) org.eclipse.emf.common.notify.NotificationChaineBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs) inteDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) eGet(int featureID, boolean resolve, boolean coreType) org.eclipse.emf.common.notify.NotificationChaineInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChaineInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) booleaneIsSet(int featureID) voidprotected org.eclipse.emf.ecore.EClassvoideUnset(int featureID) getAngle()getFont()getId()booleanbooleanvoidvoidsetBackground(Color newBackground) voidsetDescription(String newDescription) voidvoidvoidsetForeground(Color newForeground) voidsetHorizontalAlignment(Orientation newHorizontalAlignment) voidvoidsetLineStyle(LineStyle newLineStyle) voidsetLineVisible(Boolean newLineVisible) voidsetLineWidth(Integer newLineWidth) voidsetProportional(Boolean newProportional) voidsetRenderingStyle(RenderingStyle newRenderingStyle) voidsetRotation(Double newRotation) voidsetStretchH(Boolean newStretchH) voidsetStretchV(Boolean newStretchV) voidsetStyleContainer(StyleContainer newStyleContainer) voidsetTransparency(Double newTransparency) voidsetVerticalAlignment(Orientation newVerticalAlignment) toString()voidvoidMethods inherited from class org.eclipse.graphiti.mm.impl.StyleContainerImpl
getStylesMethods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURIMethods 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, eVirtualValuesMethods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotifyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequiredMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliverMethods 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:
eStaticClassin classStyleContainerImpl
-
getBackground
- Specified by:
getBackgroundin interfaceAbstractStyle- Returns:
- the value of the 'Background' reference.
- See Also:
-
basicGetBackground
-
setBackground
- Specified by:
setBackgroundin interfaceAbstractStyle- Parameters:
newBackground- the new value of the 'Background' reference.- See Also:
-
getForeground
- Specified by:
getForegroundin interfaceAbstractStyle- Returns:
- the value of the 'Foreground' reference.
- See Also:
-
basicGetForeground
-
setForeground
- Specified by:
setForegroundin interfaceAbstractStyle- Parameters:
newForeground- the new value of the 'Foreground' reference.- See Also:
-
getLineWidth
- Specified by:
getLineWidthin interfaceAbstractStyle- Returns:
- the value of the 'Line Width' attribute.
- See Also:
-
setLineWidth
- Specified by:
setLineWidthin interfaceAbstractStyle- Parameters:
newLineWidth- the new value of the 'Line Width' attribute.- See Also:
-
getLineStyle
- Specified by:
getLineStylein interfaceAbstractStyle- Returns:
- the value of the 'Line Style' attribute.
- See Also:
-
setLineStyle
- Specified by:
setLineStylein interfaceAbstractStyle- Parameters:
newLineStyle- the new value of the 'Line Style' attribute.- See Also:
-
getFilled
- Specified by:
getFilledin interfaceAbstractStyle- Returns:
- the value of the 'Filled' attribute.
- See Also:
-
setFilled
- Specified by:
setFilledin interfaceAbstractStyle- Parameters:
newFilled- the new value of the 'Filled' attribute.- See Also:
-
unsetFilled
public void unsetFilled()- Specified by:
unsetFilledin interfaceAbstractStyle- See Also:
-
isSetFilled
public boolean isSetFilled()- Specified by:
isSetFilledin interfaceAbstractStyle- Returns:
- whether the value of the 'Filled' attribute is set.
- See Also:
-
getLineVisible
- Specified by:
getLineVisiblein interfaceAbstractStyle- Returns:
- the value of the 'Line Visible' attribute.
- See Also:
-
setLineVisible
- Specified by:
setLineVisiblein interfaceAbstractStyle- Parameters:
newLineVisible- the new value of the 'Line Visible' attribute.- See Also:
-
unsetLineVisible
public void unsetLineVisible()- Specified by:
unsetLineVisiblein interfaceAbstractStyle- See Also:
-
isSetLineVisible
public boolean isSetLineVisible()- Specified by:
isSetLineVisiblein interfaceAbstractStyle- Returns:
- whether the value of the 'Line Visible' attribute is set.
- See Also:
-
getRenderingStyle
- Specified by:
getRenderingStylein 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:
setRenderingStylein interfaceAbstractStyle- Parameters:
newRenderingStyle- the new value of the 'Rendering Style' containment reference.- See Also:
-
getTransparency
- Specified by:
getTransparencyin interfaceAbstractStyle- Returns:
- the value of the 'Transparency' attribute.
- See Also:
-
setTransparency
- Specified by:
setTransparencyin interfaceAbstractStyle- Parameters:
newTransparency- the new value of the 'Transparency' attribute.- See Also:
-
getId
-
setId
-
getDescription
- Specified by:
getDescriptionin interfaceStyle- Returns:
- the value of the 'Description' attribute.
- See Also:
-
setDescription
- Specified by:
setDescriptionin interfaceStyle- Parameters:
newDescription- the new value of the 'Description' attribute.- See Also:
-
getFont
-
basicGetFont
-
setFont
-
getHorizontalAlignment
- Specified by:
getHorizontalAlignmentin interfaceStyle- Returns:
- the value of the 'Horizontal Alignment' attribute.
- See Also:
-
setHorizontalAlignment
- Specified by:
setHorizontalAlignmentin interfaceStyle- Parameters:
newHorizontalAlignment- the new value of the 'Horizontal Alignment' attribute.- See Also:
-
getVerticalAlignment
- Specified by:
getVerticalAlignmentin interfaceStyle- Returns:
- the value of the 'Vertical Alignment' attribute.
- See Also:
-
setVerticalAlignment
- Specified by:
setVerticalAlignmentin interfaceStyle- Parameters:
newVerticalAlignment- the new value of the 'Vertical Alignment' attribute.- See Also:
-
getAngle
-
setAngle
-
getStretchH
- Specified by:
getStretchHin interfaceStyle- Returns:
- the value of the 'Stretch H' attribute.
- See Also:
-
setStretchH
- Specified by:
setStretchHin interfaceStyle- Parameters:
newStretchH- the new value of the 'Stretch H' attribute.- See Also:
-
getStretchV
- Specified by:
getStretchVin interfaceStyle- Returns:
- the value of the 'Stretch V' attribute.
- See Also:
-
setStretchV
- Specified by:
setStretchVin interfaceStyle- Parameters:
newStretchV- the new value of the 'Stretch V' attribute.- See Also:
-
getProportional
- Specified by:
getProportionalin interfaceStyle- Returns:
- the value of the 'Proportional' attribute.
- See Also:
-
setProportional
- Specified by:
setProportionalin interfaceStyle- Parameters:
newProportional- the new value of the 'Proportional' attribute.- See Also:
-
getStyleContainer
- Specified by:
getStyleContainerin 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:
setStyleContainerin interfaceStyle- Parameters:
newStyleContainer- the new value of the 'Style Container' container reference.- See Also:
-
getRotation
- Specified by:
getRotationin interfaceStyle- Returns:
- the value of the 'Rotation' attribute.
- See Also:
-
setRotation
- Specified by:
setRotationin 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:
eInverseAddin 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:
eInverseRemovein classStyleContainerImpl
-
eBasicRemoveFromContainerFeature
public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs) - Overrides:
eBasicRemoveFromContainerFeaturein classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eGet
- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classStyleContainerImpl
-
eSet
- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classStyleContainerImpl
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classStyleContainerImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classStyleContainerImpl
-
eBaseStructuralFeatureID
- Specified by:
eBaseStructuralFeatureIDin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eBaseStructuralFeatureIDin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eDerivedStructuralFeatureID
- Specified by:
eDerivedStructuralFeatureIDin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eDerivedStructuralFeatureIDin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
toString
- Overrides:
toStringin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-