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
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final double
The default value of the 'Border Width
' attribute.protected double
The cached value of the 'Border Width
' attribute.protected String
The cached value of the 'Color
' attribute.protected static final String
The default value of the 'Color
' attribute.protected double
The cached value of the 'Height
' attribute.protected static final double
The default value of the 'Height
' attribute.protected static final int
The default value of the 'Label Font Size
' attribute.protected int
The cached value of the 'Label Font Size
' attribute.protected String
The cached value of the 'Shape
' attribute.protected static final String
The default value of the 'Shape
' attribute.protected double
The cached value of the 'Width
' attribute.protected static final double
The default value of the 'Width
' attribute.protected double
The cached value of the 'X
' attribute.protected static final double
The default value of the 'X
' attribute.protected double
The cached value of the 'Y
' attribute.protected static final double
The default value of the 'Y
' attribute.Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainer
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.EStructuralFeature.Internal.DynamicValueHolder
NIL
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioneGet
(int featureID, boolean resolve, boolean coreType) boolean
eIsSet
(int featureID) void
protected org.eclipse.emf.ecore.EClass
void
eUnset
(int featureID) double
getColor()
double
int
getShape()
double
getWidth()
double
getX()
double
getY()
void
setBorderWidth
(double newBorderWidth) void
void
setHeight
(double newHeight) void
setLabelFontSize
(int newLabelFontSize) void
void
setWidth
(double newWidth) void
setX
(double newX) void
setY
(double newY) 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
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
-
Field Details
-
COLOR_EDEFAULT
The default value of the 'Color
' attribute.- See Also:
-
color
The cached value of the 'Color
' attribute.- See Also:
-
SHAPE_EDEFAULT
The default value of the 'Shape
' attribute.- See Also:
-
shape
The cached value of the 'Shape
' attribute.- See Also:
-
WIDTH_EDEFAULT
protected static final double WIDTH_EDEFAULTThe default value of the 'Width
' attribute.- See Also:
-
width
protected double widthThe cached value of the 'Width
' attribute.- See Also:
-
HEIGHT_EDEFAULT
protected static final double HEIGHT_EDEFAULTThe default value of the 'Height
' attribute.- See Also:
-
height
protected double heightThe cached value of the 'Height
' attribute.- See Also:
-
BORDER_WIDTH_EDEFAULT
protected static final double BORDER_WIDTH_EDEFAULTThe default value of the 'Border Width
' attribute.- See Also:
-
borderWidth
protected double borderWidthThe cached value of the 'Border Width
' attribute.- See Also:
-
LABEL_FONT_SIZE_EDEFAULT
protected static final int LABEL_FONT_SIZE_EDEFAULTThe default value of the 'Label Font Size
' attribute.- See Also:
-
labelFontSize
protected int labelFontSizeThe cached value of the 'Label Font Size
' attribute.- See Also:
-
X_EDEFAULT
protected static final double X_EDEFAULTThe default value of the 'X
' attribute.- See Also:
-
x
protected double xThe cached value of the 'X
' attribute.- See Also:
-
Y_EDEFAULT
protected static final double Y_EDEFAULTThe default value of the 'Y
' attribute.- See Also:
-
y
protected double yThe cached value of the 'Y
' attribute.- See Also:
-
-
Constructor Details
-
MuddleElementStyleImpl
protected MuddleElementStyleImpl()
-
-
Method Details
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()- Overrides:
eStaticClass
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
getColor
- Specified by:
getColor
in interfaceMuddleElementStyle
- Returns:
- the value of the 'Color' attribute.
- See Also:
-
setColor
- Specified by:
setColor
in interfaceMuddleElementStyle
- Parameters:
newColor
- the new value of the 'Color' attribute.- See Also:
-
getShape
- Specified by:
getShape
in interfaceMuddleElementStyle
- Returns:
- the value of the 'Shape' attribute.
- See Also:
-
setShape
- Specified by:
setShape
in interfaceMuddleElementStyle
- Parameters:
newShape
- the new value of the 'Shape' attribute.- See Also:
-
getWidth
public double getWidth()- Specified by:
getWidth
in interfaceMuddleElementStyle
- Returns:
- the value of the 'Width' attribute.
- See Also:
-
setWidth
public void setWidth(double newWidth) - Specified by:
setWidth
in interfaceMuddleElementStyle
- Parameters:
newWidth
- the new value of the 'Width' attribute.- See Also:
-
getHeight
public double getHeight()- Specified by:
getHeight
in interfaceMuddleElementStyle
- Returns:
- the value of the 'Height' attribute.
- See Also:
-
setHeight
public void setHeight(double newHeight) - Specified by:
setHeight
in interfaceMuddleElementStyle
- Parameters:
newHeight
- the new value of the 'Height' attribute.- See Also:
-
getBorderWidth
public double getBorderWidth()- Specified by:
getBorderWidth
in interfaceMuddleElementStyle
- Returns:
- the value of the 'Border Width' attribute.
- See Also:
-
setBorderWidth
public void setBorderWidth(double newBorderWidth) - Specified by:
setBorderWidth
in interfaceMuddleElementStyle
- Parameters:
newBorderWidth
- the new value of the 'Border Width' attribute.- See Also:
-
getLabelFontSize
public int getLabelFontSize()- Specified by:
getLabelFontSize
in interfaceMuddleElementStyle
- Returns:
- the value of the 'Label Font Size' attribute.
- See Also:
-
setLabelFontSize
public void setLabelFontSize(int newLabelFontSize) - Specified by:
setLabelFontSize
in interfaceMuddleElementStyle
- Parameters:
newLabelFontSize
- the new value of the 'Label Font Size' attribute.- See Also:
-
getX
public double getX()- Specified by:
getX
in interfaceMuddleElementStyle
- Returns:
- the value of the 'X' attribute.
- See Also:
-
setX
public void setX(double newX) - Specified by:
setX
in interfaceMuddleElementStyle
- Parameters:
newX
- the new value of the 'X' attribute.- See Also:
-
getY
public double getY()- Specified by:
getY
in interfaceMuddleElementStyle
- Returns:
- the value of the 'Y' attribute.
- See Also:
-
setY
public void setY(double newY) - Specified by:
setY
in interfaceMuddleElementStyle
- Parameters:
newY
- the new value of the 'Y' attribute.- See Also:
-
eGet
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
- 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
- Overrides:
toString
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-