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
public class StyleImpl extends StyleContainerImpl implements Style
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 java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Integer
angle
The cached value of the 'Angle
' attribute.protected static java.lang.Integer
ANGLE_EDEFAULT
The default value of the 'Angle
' attribute.protected Color
background
The cached value of the 'Background
' reference.protected java.lang.String
description
The cached value of the 'Description
' attribute.protected static java.lang.String
DESCRIPTION_EDEFAULT
The default value of the 'Description
' attribute.protected java.lang.Boolean
filled
The cached value of the 'Filled
' attribute.protected static java.lang.Boolean
FILLED_EDEFAULT
The default value of the 'Filled
' attribute.protected boolean
filledESet
This is true if the Filled attribute has been set.protected Font
font
The cached value of the 'Font
' reference.protected Color
foreground
The cached value of the 'Foreground
' reference.protected static Orientation
HORIZONTAL_ALIGNMENT_EDEFAULT
The default value of the 'Horizontal Alignment
' attribute.protected Orientation
horizontalAlignment
The cached value of the 'Horizontal Alignment
' attribute.protected java.lang.String
id
The cached value of the 'Id
' attribute.protected static java.lang.String
ID_EDEFAULT
The default value of the 'Id
' attribute.protected static LineStyle
LINE_STYLE_EDEFAULT
The default value of the 'Line Style
' attribute.protected static java.lang.Boolean
LINE_VISIBLE_EDEFAULT
The default value of the 'Line Visible
' attribute.protected static java.lang.Integer
LINE_WIDTH_EDEFAULT
The default value of the 'Line Width
' attribute.protected LineStyle
lineStyle
The cached value of the 'Line Style
' attribute.protected java.lang.Boolean
lineVisible
The cached value of the 'Line Visible
' attribute.protected boolean
lineVisibleESet
This is true if the Line Visible attribute has been set.protected java.lang.Integer
lineWidth
The cached value of the 'Line Width
' attribute.protected java.lang.Boolean
proportional
The cached value of the 'Proportional
' attribute.protected static java.lang.Boolean
PROPORTIONAL_EDEFAULT
The default value of the 'Proportional
' attribute.protected RenderingStyle
renderingStyle
The cached value of the 'Rendering Style
' containment reference.protected java.lang.Double
rotation
The cached value of the 'Rotation
' attribute.protected static java.lang.Double
ROTATION_EDEFAULT
The default value of the 'Rotation
' attribute.protected static java.lang.Boolean
STRETCH_H_EDEFAULT
The default value of the 'Stretch H
' attribute.protected static java.lang.Boolean
STRETCH_V_EDEFAULT
The default value of the 'Stretch V
' attribute.protected java.lang.Boolean
stretchH
The cached value of the 'Stretch H
' attribute.protected java.lang.Boolean
stretchV
The cached value of the 'Stretch V
' attribute.protected java.lang.Double
transparency
The cached value of the 'Transparency
' attribute.protected static java.lang.Double
TRANSPARENCY_EDEFAULT
The default value of the 'Transparency
' attribute.protected static Orientation
VERTICAL_ALIGNMENT_EDEFAULT
The default value of the 'Vertical Alignment
' attribute.protected Orientation
verticalAlignment
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
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
StyleImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Color
basicGetBackground()
Font
basicGetFont()
Color
basicGetForeground()
RenderingStyle
basicGetRenderingStyle()
StyleContainer
basicGetStyleContainer()
org.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, java.lang.Class<?> baseClass)
org.eclipse.emf.common.notify.NotificationChain
eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
int
eDerivedStructuralFeatureID(int baseFeatureID, java.lang.Class<?> baseClass)
java.lang.Object
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
eSet(int featureID, java.lang.Object newValue)
protected org.eclipse.emf.ecore.EClass
eStaticClass()
void
eUnset(int featureID)
java.lang.Integer
getAngle()
Color
getBackground()
java.lang.String
getDescription()
java.lang.Boolean
getFilled()
Font
getFont()
Color
getForeground()
Orientation
getHorizontalAlignment()
java.lang.String
getId()
LineStyle
getLineStyle()
java.lang.Boolean
getLineVisible()
java.lang.Integer
getLineWidth()
java.lang.Boolean
getProportional()
RenderingStyle
getRenderingStyle()
java.lang.Double
getRotation()
java.lang.Boolean
getStretchH()
java.lang.Boolean
getStretchV()
StyleContainer
getStyleContainer()
java.lang.Double
getTransparency()
Orientation
getVerticalAlignment()
boolean
isSetFilled()
boolean
isSetLineVisible()
void
setAngle(java.lang.Integer newAngle)
void
setBackground(Color newBackground)
void
setDescription(java.lang.String newDescription)
void
setFilled(java.lang.Boolean newFilled)
void
setFont(Font newFont)
void
setForeground(Color newForeground)
void
setHorizontalAlignment(Orientation newHorizontalAlignment)
void
setId(java.lang.String newId)
void
setLineStyle(LineStyle newLineStyle)
void
setLineVisible(java.lang.Boolean newLineVisible)
void
setLineWidth(java.lang.Integer newLineWidth)
void
setProportional(java.lang.Boolean newProportional)
void
setRenderingStyle(RenderingStyle newRenderingStyle)
void
setRotation(java.lang.Double newRotation)
void
setStretchH(java.lang.Boolean newStretchH)
void
setStretchV(java.lang.Boolean newStretchV)
void
setStyleContainer(StyleContainer newStyleContainer)
void
setTransparency(java.lang.Double newTransparency)
void
setVerticalAlignment(Orientation newVerticalAlignment)
java.lang.String
toString()
void
unsetFilled()
void
unsetLineVisible()
-
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.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface org.eclipse.graphiti.mm.StyleContainer
getStyles
-
-
-
-
Field Detail
-
background
protected Color background
The cached value of the 'Background
' reference.- See Also:
getBackground()
-
foreground
protected Color foreground
The cached value of the 'Foreground
' reference.- See Also:
getForeground()
-
LINE_WIDTH_EDEFAULT
protected static final java.lang.Integer LINE_WIDTH_EDEFAULT
The default value of the 'Line Width
' attribute.- See Also:
getLineWidth()
-
lineWidth
protected java.lang.Integer lineWidth
The cached value of the 'Line Width
' attribute.- See Also:
getLineWidth()
-
LINE_STYLE_EDEFAULT
protected static final LineStyle LINE_STYLE_EDEFAULT
The default value of the 'Line Style
' attribute.- See Also:
getLineStyle()
-
lineStyle
protected LineStyle lineStyle
The cached value of the 'Line Style
' attribute.- See Also:
getLineStyle()
-
FILLED_EDEFAULT
protected static final java.lang.Boolean FILLED_EDEFAULT
The default value of the 'Filled
' attribute.- See Also:
getFilled()
-
filled
protected java.lang.Boolean filled
The cached value of the 'Filled
' attribute.- See Also:
getFilled()
-
filledESet
protected boolean filledESet
This is true if the Filled attribute has been set.
-
LINE_VISIBLE_EDEFAULT
protected static final java.lang.Boolean LINE_VISIBLE_EDEFAULT
The default value of the 'Line Visible
' attribute.- See Also:
getLineVisible()
-
lineVisible
protected java.lang.Boolean lineVisible
The cached value of the 'Line Visible
' attribute.- See Also:
getLineVisible()
-
lineVisibleESet
protected boolean lineVisibleESet
This is true if the Line Visible attribute has been set.
-
renderingStyle
protected RenderingStyle renderingStyle
The cached value of the 'Rendering Style
' containment reference.- See Also:
getRenderingStyle()
-
TRANSPARENCY_EDEFAULT
protected static final java.lang.Double TRANSPARENCY_EDEFAULT
The default value of the 'Transparency
' attribute.- See Also:
getTransparency()
-
transparency
protected java.lang.Double transparency
The cached value of the 'Transparency
' attribute.- See Also:
getTransparency()
-
ID_EDEFAULT
protected static final java.lang.String ID_EDEFAULT
The default value of the 'Id
' attribute.- See Also:
getId()
-
DESCRIPTION_EDEFAULT
protected static final java.lang.String DESCRIPTION_EDEFAULT
The default value of the 'Description
' attribute.- See Also:
getDescription()
-
description
protected java.lang.String description
The cached value of the 'Description
' attribute.- See Also:
getDescription()
-
HORIZONTAL_ALIGNMENT_EDEFAULT
protected static final Orientation HORIZONTAL_ALIGNMENT_EDEFAULT
The default value of the 'Horizontal Alignment
' attribute.- See Also:
getHorizontalAlignment()
-
horizontalAlignment
protected Orientation horizontalAlignment
The cached value of the 'Horizontal Alignment
' attribute.- See Also:
getHorizontalAlignment()
-
VERTICAL_ALIGNMENT_EDEFAULT
protected static final Orientation VERTICAL_ALIGNMENT_EDEFAULT
The default value of the 'Vertical Alignment
' attribute.- See Also:
getVerticalAlignment()
-
verticalAlignment
protected Orientation verticalAlignment
The cached value of the 'Vertical Alignment
' attribute.- See Also:
getVerticalAlignment()
-
ANGLE_EDEFAULT
protected static final java.lang.Integer ANGLE_EDEFAULT
The default value of the 'Angle
' attribute.- See Also:
getAngle()
-
angle
protected java.lang.Integer angle
The cached value of the 'Angle
' attribute.- See Also:
getAngle()
-
STRETCH_H_EDEFAULT
protected static final java.lang.Boolean STRETCH_H_EDEFAULT
The default value of the 'Stretch H
' attribute.- See Also:
getStretchH()
-
stretchH
protected java.lang.Boolean stretchH
The cached value of the 'Stretch H
' attribute.- See Also:
getStretchH()
-
STRETCH_V_EDEFAULT
protected static final java.lang.Boolean STRETCH_V_EDEFAULT
The default value of the 'Stretch V
' attribute.- See Also:
getStretchV()
-
stretchV
protected java.lang.Boolean stretchV
The cached value of the 'Stretch V
' attribute.- See Also:
getStretchV()
-
PROPORTIONAL_EDEFAULT
protected static final java.lang.Boolean PROPORTIONAL_EDEFAULT
The default value of the 'Proportional
' attribute.- See Also:
getProportional()
-
proportional
protected java.lang.Boolean proportional
The cached value of the 'Proportional
' attribute.- See Also:
getProportional()
-
ROTATION_EDEFAULT
protected static final java.lang.Double ROTATION_EDEFAULT
The default value of the 'Rotation
' attribute.- See Also:
getRotation()
-
rotation
protected java.lang.Double rotation
The cached value of the 'Rotation
' attribute.- See Also:
getRotation()
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClass
in classStyleContainerImpl
-
getBackground
public Color getBackground()
- Specified by:
getBackground
in interfaceAbstractStyle
- Returns:
- the value of the 'Background' reference.
- See Also:
AbstractStyle.setBackground(Color)
,StylesPackage.getAbstractStyle_Background()
-
basicGetBackground
public Color basicGetBackground()
-
setBackground
public void setBackground(Color newBackground)
- Specified by:
setBackground
in interfaceAbstractStyle
- Parameters:
newBackground
- the new value of the 'Background' reference.- See Also:
AbstractStyle.getBackground()
-
getForeground
public Color getForeground()
- Specified by:
getForeground
in interfaceAbstractStyle
- Returns:
- the value of the 'Foreground' reference.
- See Also:
AbstractStyle.setForeground(Color)
,StylesPackage.getAbstractStyle_Foreground()
-
basicGetForeground
public Color basicGetForeground()
-
setForeground
public void setForeground(Color newForeground)
- Specified by:
setForeground
in interfaceAbstractStyle
- Parameters:
newForeground
- the new value of the 'Foreground' reference.- See Also:
AbstractStyle.getForeground()
-
getLineWidth
public java.lang.Integer getLineWidth()
- Specified by:
getLineWidth
in interfaceAbstractStyle
- Returns:
- the value of the 'Line Width' attribute.
- See Also:
AbstractStyle.setLineWidth(Integer)
,StylesPackage.getAbstractStyle_LineWidth()
-
setLineWidth
public void setLineWidth(java.lang.Integer newLineWidth)
- Specified by:
setLineWidth
in interfaceAbstractStyle
- Parameters:
newLineWidth
- the new value of the 'Line Width' attribute.- See Also:
AbstractStyle.getLineWidth()
-
getLineStyle
public LineStyle getLineStyle()
- Specified by:
getLineStyle
in interfaceAbstractStyle
- Returns:
- the value of the 'Line Style' attribute.
- See Also:
LineStyle
,AbstractStyle.setLineStyle(LineStyle)
,StylesPackage.getAbstractStyle_LineStyle()
-
setLineStyle
public void setLineStyle(LineStyle newLineStyle)
- Specified by:
setLineStyle
in interfaceAbstractStyle
- Parameters:
newLineStyle
- the new value of the 'Line Style' attribute.- See Also:
LineStyle
,AbstractStyle.getLineStyle()
-
getFilled
public java.lang.Boolean getFilled()
- Specified by:
getFilled
in interfaceAbstractStyle
- Returns:
- the value of the 'Filled' attribute.
- See Also:
AbstractStyle.isSetFilled()
,AbstractStyle.unsetFilled()
,AbstractStyle.setFilled(Boolean)
,StylesPackage.getAbstractStyle_Filled()
-
setFilled
public void setFilled(java.lang.Boolean newFilled)
- Specified by:
setFilled
in interfaceAbstractStyle
- Parameters:
newFilled
- the new value of the 'Filled' attribute.- See Also:
AbstractStyle.isSetFilled()
,AbstractStyle.unsetFilled()
,AbstractStyle.getFilled()
-
unsetFilled
public void unsetFilled()
- Specified by:
unsetFilled
in interfaceAbstractStyle
- See Also:
AbstractStyle.isSetFilled()
,AbstractStyle.getFilled()
,AbstractStyle.setFilled(Boolean)
-
isSetFilled
public boolean isSetFilled()
- Specified by:
isSetFilled
in interfaceAbstractStyle
- Returns:
- whether the value of the 'Filled' attribute is set.
- See Also:
AbstractStyle.unsetFilled()
,AbstractStyle.getFilled()
,AbstractStyle.setFilled(Boolean)
-
getLineVisible
public java.lang.Boolean getLineVisible()
- Specified by:
getLineVisible
in interfaceAbstractStyle
- Returns:
- the value of the 'Line Visible' attribute.
- See Also:
AbstractStyle.isSetLineVisible()
,AbstractStyle.unsetLineVisible()
,AbstractStyle.setLineVisible(Boolean)
,StylesPackage.getAbstractStyle_LineVisible()
-
setLineVisible
public void setLineVisible(java.lang.Boolean newLineVisible)
- Specified by:
setLineVisible
in interfaceAbstractStyle
- Parameters:
newLineVisible
- the new value of the 'Line Visible' attribute.- See Also:
AbstractStyle.isSetLineVisible()
,AbstractStyle.unsetLineVisible()
,AbstractStyle.getLineVisible()
-
unsetLineVisible
public void unsetLineVisible()
- Specified by:
unsetLineVisible
in interfaceAbstractStyle
- See Also:
AbstractStyle.isSetLineVisible()
,AbstractStyle.getLineVisible()
,AbstractStyle.setLineVisible(Boolean)
-
isSetLineVisible
public boolean isSetLineVisible()
- Specified by:
isSetLineVisible
in interfaceAbstractStyle
- Returns:
- whether the value of the 'Line Visible' attribute is set.
- See Also:
AbstractStyle.unsetLineVisible()
,AbstractStyle.getLineVisible()
,AbstractStyle.setLineVisible(Boolean)
-
getRenderingStyle
public RenderingStyle getRenderingStyle()
- Specified by:
getRenderingStyle
in interfaceAbstractStyle
- Returns:
- the value of the 'Rendering Style' containment reference.
- See Also:
AbstractStyle.setRenderingStyle(RenderingStyle)
,StylesPackage.getAbstractStyle_RenderingStyle()
-
basicGetRenderingStyle
public RenderingStyle basicGetRenderingStyle()
-
basicSetRenderingStyle
public org.eclipse.emf.common.notify.NotificationChain basicSetRenderingStyle(RenderingStyle newRenderingStyle, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setRenderingStyle
public void setRenderingStyle(RenderingStyle newRenderingStyle)
- Specified by:
setRenderingStyle
in interfaceAbstractStyle
- Parameters:
newRenderingStyle
- the new value of the 'Rendering Style' containment reference.- See Also:
AbstractStyle.getRenderingStyle()
-
getTransparency
public java.lang.Double getTransparency()
- Specified by:
getTransparency
in interfaceAbstractStyle
- Returns:
- the value of the 'Transparency' attribute.
- See Also:
AbstractStyle.setTransparency(Double)
,StylesPackage.getAbstractStyle_Transparency()
-
setTransparency
public void setTransparency(java.lang.Double newTransparency)
- Specified by:
setTransparency
in interfaceAbstractStyle
- Parameters:
newTransparency
- the new value of the 'Transparency' attribute.- See Also:
AbstractStyle.getTransparency()
-
getId
public java.lang.String getId()
- Specified by:
getId
in interfaceStyle
- Returns:
- the value of the 'Id' attribute.
- See Also:
Style.setId(String)
,StylesPackage.getStyle_Id()
-
setId
public void setId(java.lang.String newId)
- Specified by:
setId
in interfaceStyle
- Parameters:
newId
- the new value of the 'Id' attribute.- See Also:
Style.getId()
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interfaceStyle
- Returns:
- the value of the 'Description' attribute.
- See Also:
Style.setDescription(String)
,StylesPackage.getStyle_Description()
-
setDescription
public void setDescription(java.lang.String newDescription)
- Specified by:
setDescription
in interfaceStyle
- Parameters:
newDescription
- the new value of the 'Description' attribute.- See Also:
Style.getDescription()
-
getFont
public Font getFont()
- Specified by:
getFont
in interfaceStyle
- Returns:
- the value of the 'Font' reference.
- See Also:
Style.setFont(Font)
,StylesPackage.getStyle_Font()
-
basicGetFont
public Font basicGetFont()
-
setFont
public void setFont(Font newFont)
- Specified by:
setFont
in interfaceStyle
- Parameters:
newFont
- the new value of the 'Font' reference.- See Also:
Style.getFont()
-
getHorizontalAlignment
public Orientation getHorizontalAlignment()
- Specified by:
getHorizontalAlignment
in interfaceStyle
- Returns:
- the value of the 'Horizontal Alignment' attribute.
- See Also:
Orientation
,Style.setHorizontalAlignment(Orientation)
,StylesPackage.getStyle_HorizontalAlignment()
-
setHorizontalAlignment
public void setHorizontalAlignment(Orientation newHorizontalAlignment)
- Specified by:
setHorizontalAlignment
in interfaceStyle
- Parameters:
newHorizontalAlignment
- the new value of the 'Horizontal Alignment' attribute.- See Also:
Orientation
,Style.getHorizontalAlignment()
-
getVerticalAlignment
public Orientation getVerticalAlignment()
- Specified by:
getVerticalAlignment
in interfaceStyle
- Returns:
- the value of the 'Vertical Alignment' attribute.
- See Also:
Orientation
,Style.setVerticalAlignment(Orientation)
,StylesPackage.getStyle_VerticalAlignment()
-
setVerticalAlignment
public void setVerticalAlignment(Orientation newVerticalAlignment)
- Specified by:
setVerticalAlignment
in interfaceStyle
- Parameters:
newVerticalAlignment
- the new value of the 'Vertical Alignment' attribute.- See Also:
Orientation
,Style.getVerticalAlignment()
-
getAngle
public java.lang.Integer getAngle()
- Specified by:
getAngle
in interfaceStyle
- Returns:
- the value of the 'Angle' attribute.
- See Also:
Style.setAngle(Integer)
,StylesPackage.getStyle_Angle()
-
setAngle
public void setAngle(java.lang.Integer newAngle)
- Specified by:
setAngle
in interfaceStyle
- Parameters:
newAngle
- the new value of the 'Angle' attribute.- See Also:
Style.getAngle()
-
getStretchH
public java.lang.Boolean getStretchH()
- Specified by:
getStretchH
in interfaceStyle
- Returns:
- the value of the 'Stretch H' attribute.
- See Also:
Style.setStretchH(Boolean)
,StylesPackage.getStyle_StretchH()
-
setStretchH
public void setStretchH(java.lang.Boolean newStretchH)
- Specified by:
setStretchH
in interfaceStyle
- Parameters:
newStretchH
- the new value of the 'Stretch H' attribute.- See Also:
Style.getStretchH()
-
getStretchV
public java.lang.Boolean getStretchV()
- Specified by:
getStretchV
in interfaceStyle
- Returns:
- the value of the 'Stretch V' attribute.
- See Also:
Style.setStretchV(Boolean)
,StylesPackage.getStyle_StretchV()
-
setStretchV
public void setStretchV(java.lang.Boolean newStretchV)
- Specified by:
setStretchV
in interfaceStyle
- Parameters:
newStretchV
- the new value of the 'Stretch V' attribute.- See Also:
Style.getStretchV()
-
getProportional
public java.lang.Boolean getProportional()
- Specified by:
getProportional
in interfaceStyle
- Returns:
- the value of the 'Proportional' attribute.
- See Also:
Style.setProportional(Boolean)
,StylesPackage.getStyle_Proportional()
-
setProportional
public void setProportional(java.lang.Boolean newProportional)
- Specified by:
setProportional
in interfaceStyle
- Parameters:
newProportional
- the new value of the 'Proportional' attribute.- See Also:
Style.getProportional()
-
getStyleContainer
public StyleContainer getStyleContainer()
- Specified by:
getStyleContainer
in interfaceStyle
- Returns:
- the value of the 'Style Container' container reference.
- See Also:
Style.setStyleContainer(StyleContainer)
,StylesPackage.getStyle_StyleContainer()
,StyleContainer.getStyles()
-
basicGetStyleContainer
public StyleContainer basicGetStyleContainer()
-
basicSetStyleContainer
public org.eclipse.emf.common.notify.NotificationChain basicSetStyleContainer(StyleContainer newStyleContainer, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setStyleContainer
public void setStyleContainer(StyleContainer newStyleContainer)
- Specified by:
setStyleContainer
in interfaceStyle
- Parameters:
newStyleContainer
- the new value of the 'Style Container' container reference.- See Also:
Style.getStyleContainer()
-
getRotation
public java.lang.Double getRotation()
- Specified by:
getRotation
in interfaceStyle
- Returns:
- the value of the 'Rotation' attribute.
- See Also:
Style.setRotation(Double)
,StylesPackage.getStyle_Rotation()
-
setRotation
public void setRotation(java.lang.Double newRotation)
- Specified by:
setRotation
in interfaceStyle
- Parameters:
newRotation
- the new value of the 'Rotation' attribute.- See Also:
Style.getRotation()
-
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
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classStyleContainerImpl
-
eSet
public void eSet(int featureID, java.lang.Object newValue)
- 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
public int eBaseStructuralFeatureID(int derivedFeatureID, java.lang.Class<?> baseClass)
- Specified by:
eBaseStructuralFeatureID
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eBaseStructuralFeatureID
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eDerivedStructuralFeatureID
public int eDerivedStructuralFeatureID(int baseFeatureID, java.lang.Class<?> baseClass)
- Specified by:
eDerivedStructuralFeatureID
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eDerivedStructuralFeatureID
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
toString
public java.lang.String toString()
- Overrides:
toString
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
-