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 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 static doubleBORDER_WIDTH_EDEFAULTThe default value of the 'Border Width' attribute.protected doubleborderWidthThe cached value of the 'Border Width' attribute.protected java.lang.StringcolorThe cached value of the 'Color' attribute.protected static java.lang.StringCOLOR_EDEFAULTThe default value of the 'Color' attribute.protected doubleheightThe cached value of the 'Height' attribute.protected static doubleHEIGHT_EDEFAULTThe default value of the 'Height' attribute.protected static intLABEL_FONT_SIZE_EDEFAULTThe default value of the 'Label Font Size' attribute.protected intlabelFontSizeThe cached value of the 'Label Font Size' attribute.protected java.lang.StringshapeThe cached value of the 'Shape' attribute.protected static java.lang.StringSHAPE_EDEFAULTThe default value of the 'Shape' attribute.protected doublewidthThe cached value of the 'Width' attribute.protected static doubleWIDTH_EDEFAULTThe default value of the 'Width' attribute.protected doublexThe cached value of the 'X' attribute.protected static doubleX_EDEFAULTThe default value of the 'X' attribute.protected doubleyThe cached value of the 'Y' attribute.protected static doubleY_EDEFAULTThe 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 protectedMuddleElementStyleImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjecteGet(int featureID, boolean resolve, boolean coreType)booleaneIsSet(int featureID)voideSet(int featureID, java.lang.Object newValue)protected org.eclipse.emf.ecore.EClasseStaticClass()voideUnset(int featureID)doublegetBorderWidth()java.lang.StringgetColor()doublegetHeight()intgetLabelFontSize()java.lang.StringgetShape()doublegetWidth()doublegetX()doublegetY()voidsetBorderWidth(double newBorderWidth)voidsetColor(java.lang.String newColor)voidsetHeight(double newHeight)voidsetLabelFontSize(int newLabelFontSize)voidsetShape(java.lang.String newShape)voidsetWidth(double newWidth)voidsetX(double newX)voidsetY(double newY)java.lang.StringtoString()-
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 java.lang.String COLOR_EDEFAULT
The default value of the 'Color' attribute.- See Also:
getColor()
-
color
protected java.lang.String color
The cached value of the 'Color' attribute.- See Also:
getColor()
-
SHAPE_EDEFAULT
protected static final java.lang.String SHAPE_EDEFAULT
The default value of the 'Shape' attribute.- See Also:
getShape()
-
shape
protected java.lang.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:
eStaticClassin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
getColor
public java.lang.String getColor()
- Specified by:
getColorin interfaceMuddleElementStyle- Returns:
- the value of the 'Color' attribute.
- See Also:
MuddleElementStyle.setColor(String),MuddlePackage.getMuddleElementStyle_Color()
-
setColor
public void setColor(java.lang.String newColor)
- Specified by:
setColorin interfaceMuddleElementStyle- Parameters:
newColor- the new value of the 'Color' attribute.- See Also:
MuddleElementStyle.getColor()
-
getShape
public java.lang.String getShape()
- Specified by:
getShapein interfaceMuddleElementStyle- Returns:
- the value of the 'Shape' attribute.
- See Also:
MuddleElementStyle.setShape(String),MuddlePackage.getMuddleElementStyle_Shape()
-
setShape
public void setShape(java.lang.String newShape)
- Specified by:
setShapein interfaceMuddleElementStyle- Parameters:
newShape- the new value of the 'Shape' attribute.- See Also:
MuddleElementStyle.getShape()
-
getWidth
public double getWidth()
- Specified by:
getWidthin interfaceMuddleElementStyle- Returns:
- the value of the 'Width' attribute.
- See Also:
MuddleElementStyle.setWidth(double),MuddlePackage.getMuddleElementStyle_Width()
-
setWidth
public void setWidth(double newWidth)
- Specified by:
setWidthin interfaceMuddleElementStyle- Parameters:
newWidth- the new value of the 'Width' attribute.- See Also:
MuddleElementStyle.getWidth()
-
getHeight
public double getHeight()
- Specified by:
getHeightin interfaceMuddleElementStyle- Returns:
- the value of the 'Height' attribute.
- See Also:
MuddleElementStyle.setHeight(double),MuddlePackage.getMuddleElementStyle_Height()
-
setHeight
public void setHeight(double newHeight)
- Specified by:
setHeightin interfaceMuddleElementStyle- Parameters:
newHeight- the new value of the 'Height' attribute.- See Also:
MuddleElementStyle.getHeight()
-
getBorderWidth
public double getBorderWidth()
- Specified by:
getBorderWidthin 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:
setBorderWidthin interfaceMuddleElementStyle- Parameters:
newBorderWidth- the new value of the 'Border Width' attribute.- See Also:
MuddleElementStyle.getBorderWidth()
-
getLabelFontSize
public int getLabelFontSize()
- Specified by:
getLabelFontSizein 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:
setLabelFontSizein interfaceMuddleElementStyle- Parameters:
newLabelFontSize- the new value of the 'Label Font Size' attribute.- See Also:
MuddleElementStyle.getLabelFontSize()
-
getX
public double getX()
- Specified by:
getXin interfaceMuddleElementStyle- Returns:
- the value of the 'X' attribute.
- See Also:
MuddleElementStyle.setX(double),MuddlePackage.getMuddleElementStyle_X()
-
setX
public void setX(double newX)
- Specified by:
setXin interfaceMuddleElementStyle- Parameters:
newX- the new value of the 'X' attribute.- See Also:
MuddleElementStyle.getX()
-
getY
public double getY()
- Specified by:
getYin interfaceMuddleElementStyle- Returns:
- the value of the 'Y' attribute.
- See Also:
MuddleElementStyle.setY(double),MuddlePackage.getMuddleElementStyle_Y()
-
setY
public void setY(double newY)
- Specified by:
setYin interfaceMuddleElementStyle- Parameters:
newY- the new value of the 'Y' attribute.- See Also:
MuddleElementStyle.getY()
-
eGet
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
public void eSet(int featureID, java.lang.Object newValue)- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
toString
public java.lang.String toString()
- Overrides:
toStringin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
-