Class MuddleElementStyleImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
- org.eclipse.epsilon.emc.muddle.impl.MuddleElementStyleImpl
-
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
,org.eclipse.emf.ecore.InternalEObject
,MuddleElementStyle
public class MuddleElementStyleImpl extends org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container implements MuddleElementStyle
An implementation of the model object 'Element Style'.The following features are implemented:
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
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
-
-
Field Summary
Fields Modifier and Type Field Description protected static double
BORDER_WIDTH_EDEFAULT
The default value of the 'Border Width
' attribute.protected double
borderWidth
The cached value of the 'Border Width
' attribute.protected String
color
The cached value of the 'Color
' attribute.protected static String
COLOR_EDEFAULT
The default value of the 'Color
' attribute.protected double
height
The cached value of the 'Height
' attribute.protected static double
HEIGHT_EDEFAULT
The default value of the 'Height
' attribute.protected static int
LABEL_FONT_SIZE_EDEFAULT
The default value of the 'Label Font Size
' attribute.protected int
labelFontSize
The cached value of the 'Label Font Size
' attribute.protected String
shape
The cached value of the 'Shape
' attribute.protected static String
SHAPE_EDEFAULT
The default value of the 'Shape
' attribute.protected double
width
The cached value of the 'Width
' attribute.protected static double
WIDTH_EDEFAULT
The default value of the 'Width
' attribute.protected double
x
The cached value of the 'X
' attribute.protected static double
X_EDEFAULT
The default value of the 'X
' attribute.protected double
y
The cached value of the 'Y
' attribute.protected static double
Y_EDEFAULT
The default value of the 'Y
' attribute.-
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MuddleElementStyleImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
eGet(int featureID, boolean resolve, boolean coreType)
boolean
eIsSet(int featureID)
void
eSet(int featureID, Object newValue)
protected org.eclipse.emf.ecore.EClass
eStaticClass()
void
eUnset(int featureID)
double
getBorderWidth()
String
getColor()
double
getHeight()
int
getLabelFontSize()
String
getShape()
double
getWidth()
double
getX()
double
getY()
void
setBorderWidth(double newBorderWidth)
void
setColor(String newColor)
void
setHeight(double newHeight)
void
setLabelFontSize(int newLabelFontSize)
void
setShape(String newShape)
void
setWidth(double newWidth)
void
setX(double newX)
void
setY(double newY)
String
toString()
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, 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
eNotificationRequired, eNotify
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
COLOR_EDEFAULT
protected static final String COLOR_EDEFAULT
The default value of the 'Color
' attribute.- See Also:
getColor()
-
color
protected String color
The cached value of the 'Color
' attribute.- See Also:
getColor()
-
SHAPE_EDEFAULT
protected static final String SHAPE_EDEFAULT
The default value of the 'Shape
' attribute.- See Also:
getShape()
-
shape
protected String shape
The cached value of the 'Shape
' attribute.- See Also:
getShape()
-
WIDTH_EDEFAULT
protected static final double WIDTH_EDEFAULT
The default value of the 'Width
' attribute.- See Also:
getWidth()
, Constant Field Values
-
width
protected double width
The cached value of the 'Width
' attribute.- See Also:
getWidth()
-
HEIGHT_EDEFAULT
protected static final double HEIGHT_EDEFAULT
The default value of the 'Height
' attribute.- See Also:
getHeight()
, Constant Field Values
-
height
protected double height
The cached value of the 'Height
' attribute.- See Also:
getHeight()
-
BORDER_WIDTH_EDEFAULT
protected static final double BORDER_WIDTH_EDEFAULT
The default value of the 'Border Width
' attribute.- See Also:
getBorderWidth()
, Constant Field Values
-
borderWidth
protected double borderWidth
The cached value of the 'Border Width
' attribute.- See Also:
getBorderWidth()
-
LABEL_FONT_SIZE_EDEFAULT
protected static final int LABEL_FONT_SIZE_EDEFAULT
The default value of the 'Label Font Size
' attribute.- See Also:
getLabelFontSize()
, Constant Field Values
-
labelFontSize
protected int labelFontSize
The cached value of the 'Label Font Size
' attribute.- See Also:
getLabelFontSize()
-
X_EDEFAULT
protected static final double X_EDEFAULT
The default value of the 'X
' attribute.- See Also:
getX()
, Constant Field Values
-
Y_EDEFAULT
protected static final double Y_EDEFAULT
The default value of the 'Y
' attribute.- See Also:
getY()
, Constant Field Values
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClass
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
getColor
public String getColor()
- Specified by:
getColor
in interfaceMuddleElementStyle
- Returns:
- the value of the 'Color' attribute.
- See Also:
MuddleElementStyle.setColor(String)
,MuddlePackage.getMuddleElementStyle_Color()
-
setColor
public void setColor(String newColor)
- Specified by:
setColor
in interfaceMuddleElementStyle
- Parameters:
newColor
- the new value of the 'Color' attribute.- See Also:
MuddleElementStyle.getColor()
-
getShape
public String getShape()
- Specified by:
getShape
in interfaceMuddleElementStyle
- Returns:
- the value of the 'Shape' attribute.
- See Also:
MuddleElementStyle.setShape(String)
,MuddlePackage.getMuddleElementStyle_Shape()
-
setShape
public void setShape(String newShape)
- Specified by:
setShape
in interfaceMuddleElementStyle
- Parameters:
newShape
- the new value of the 'Shape' attribute.- See Also:
MuddleElementStyle.getShape()
-
getWidth
public double getWidth()
- Specified by:
getWidth
in interfaceMuddleElementStyle
- Returns:
- the value of the 'Width' attribute.
- See Also:
MuddleElementStyle.setWidth(double)
,MuddlePackage.getMuddleElementStyle_Width()
-
setWidth
public void setWidth(double newWidth)
- Specified by:
setWidth
in interfaceMuddleElementStyle
- Parameters:
newWidth
- the new value of the 'Width' attribute.- See Also:
MuddleElementStyle.getWidth()
-
getHeight
public double getHeight()
- Specified by:
getHeight
in interfaceMuddleElementStyle
- Returns:
- the value of the 'Height' attribute.
- See Also:
MuddleElementStyle.setHeight(double)
,MuddlePackage.getMuddleElementStyle_Height()
-
setHeight
public void setHeight(double newHeight)
- Specified by:
setHeight
in interfaceMuddleElementStyle
- Parameters:
newHeight
- the new value of the 'Height' attribute.- See Also:
MuddleElementStyle.getHeight()
-
getBorderWidth
public double getBorderWidth()
- Specified by:
getBorderWidth
in interfaceMuddleElementStyle
- Returns:
- the value of the 'Border Width' attribute.
- See Also:
MuddleElementStyle.setBorderWidth(double)
,MuddlePackage.getMuddleElementStyle_BorderWidth()
-
setBorderWidth
public void setBorderWidth(double newBorderWidth)
- Specified by:
setBorderWidth
in interfaceMuddleElementStyle
- Parameters:
newBorderWidth
- the new value of the 'Border Width' attribute.- See Also:
MuddleElementStyle.getBorderWidth()
-
getLabelFontSize
public int getLabelFontSize()
- Specified by:
getLabelFontSize
in interfaceMuddleElementStyle
- Returns:
- the value of the 'Label Font Size' attribute.
- See Also:
MuddleElementStyle.setLabelFontSize(int)
,MuddlePackage.getMuddleElementStyle_LabelFontSize()
-
setLabelFontSize
public void setLabelFontSize(int newLabelFontSize)
- Specified by:
setLabelFontSize
in interfaceMuddleElementStyle
- Parameters:
newLabelFontSize
- the new value of the 'Label Font Size' attribute.- See Also:
MuddleElementStyle.getLabelFontSize()
-
getX
public double getX()
- Specified by:
getX
in interfaceMuddleElementStyle
- Returns:
- the value of the 'X' attribute.
- See Also:
MuddleElementStyle.setX(double)
,MuddlePackage.getMuddleElementStyle_X()
-
setX
public void setX(double newX)
- Specified by:
setX
in interfaceMuddleElementStyle
- Parameters:
newX
- the new value of the 'X' attribute.- See Also:
MuddleElementStyle.getX()
-
getY
public double getY()
- Specified by:
getY
in interfaceMuddleElementStyle
- Returns:
- the value of the 'Y' attribute.
- See Also:
MuddleElementStyle.setY(double)
,MuddlePackage.getMuddleElementStyle_Y()
-
setY
public void setY(double newY)
- Specified by:
setY
in interfaceMuddleElementStyle
- Parameters:
newY
- the new value of the 'Y' attribute.- See Also:
MuddleElementStyle.getY()
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
public void eSet(int featureID, Object newValue)
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
toString
public String toString()
- Overrides:
toString
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
-