org.eclipse.gmf.gmfgraph.impl
Class RoundedRectangleImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.eclipse.gmf.gmfgraph.impl.AbstractFigureImpl
                  extended by org.eclipse.gmf.gmfgraph.impl.RealFigureImpl
                      extended by org.eclipse.gmf.gmfgraph.impl.ShapeImpl
                          extended by org.eclipse.gmf.gmfgraph.impl.RoundedRectangleImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, AbstractFigure, CustomAttributeOwner, Figure, Layoutable, PinOwner, RealFigure, RoundedRectangle, Shape

public class RoundedRectangleImpl
extends ShapeImpl
implements RoundedRectangle

An implementation of the model object 'Rounded Rectangle'.

The following features are implemented:

Generated

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 Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected static int CORNER_HEIGHT_EDEFAULT
          The default value of the 'Corner Height' attribute.
protected static int CORNER_WIDTH_EDEFAULT
          The default value of the 'Corner Width' attribute.
protected  int cornerHeight
          The cached value of the 'Corner Height' attribute.
protected  int cornerWidth
          The cached value of the 'Corner Width' attribute.
 
Fields inherited from class org.eclipse.gmf.gmfgraph.impl.ShapeImpl
fill, FILL_EDEFAULT, LINE_KIND_EDEFAULT, LINE_WIDTH_EDEFAULT, lineKind, lineWidth, outline, OUTLINE_EDEFAULT, XOR_FILL_EDEFAULT, XOR_OUTLINE_EDEFAULT, xorFill, xorOutline
 
Fields inherited from class org.eclipse.gmf.gmfgraph.impl.RealFigureImpl
attributes, children, name, NAME_EDEFAULT, pins
 
Fields inherited from class org.eclipse.gmf.gmfgraph.impl.AbstractFigureImpl
backgroundColor, border, font, foregroundColor, insets, layout, layoutData, location, maximumSize, minimumSize, preferredSize, size
 
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
 
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.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected RoundedRectangleImpl()
           
 
Method Summary
 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)
           
 int getCornerHeight()
           
 int getCornerWidth()
           
 void setCornerHeight(int newCornerHeight)
           
 void setCornerWidth(int newCornerWidth)
           
 String toString()
           
 
Methods inherited from class org.eclipse.gmf.gmfgraph.impl.ShapeImpl
getLineKind, getLineWidth, getResolvedChildren, isFill, isOutline, isXorFill, isXorOutline, setFill, setLineKind, setLineWidth, setOutline, setXorFill, setXorOutline
 
Methods inherited from class org.eclipse.gmf.gmfgraph.impl.RealFigureImpl
eBaseStructuralFeatureID, eDerivedStructuralFeatureID, eInverseRemove, getAttributes, getChildren, getName, getPins, setName
 
Methods inherited from class org.eclipse.gmf.gmfgraph.impl.AbstractFigureImpl
basicSetBackgroundColor, basicSetBorder, basicSetFont, basicSetForegroundColor, basicSetInsets, basicSetLayout, basicSetLayoutData, basicSetLocation, basicSetMaximumSize, basicSetMinimumSize, basicSetPreferredSize, basicSetSize, eInverseAdd, getBackgroundColor, getBorder, getDescriptor, getFont, getForegroundColor, getInsets, getLayout, getLayoutData, getLocation, getMaximumSize, getMinimumSize, getPreferredSize, getSize, setBackgroundColor, setBorder, setFont, setForegroundColor, setInsets, setLayout, setLayoutData, setLocation, setMaximumSize, setMinimumSize, setPreferredSize, setSize
 
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, eBasicRemoveFromContainerFeature, 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.gmf.gmfgraph.Shape
getLineKind, getLineWidth, getResolvedChildren, isFill, isOutline, isXorFill, isXorOutline, setFill, setLineKind, setLineWidth, setOutline, setXorFill, setXorOutline
 
Methods inherited from interface org.eclipse.gmf.gmfgraph.RealFigure
getChildren, getName, setName
 
Methods inherited from interface org.eclipse.gmf.gmfgraph.Figure
getBackgroundColor, getBorder, getDescriptor, getFont, getForegroundColor, getInsets, getLocation, getMaximumSize, getMinimumSize, getPreferredSize, getSize, setBackgroundColor, setBorder, setFont, setForegroundColor, setInsets, setLocation, setMaximumSize, setMinimumSize, setPreferredSize, setSize
 
Methods inherited from interface org.eclipse.gmf.gmfgraph.Layoutable
getLayout, getLayoutData, setLayout, setLayoutData
 
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.gmf.gmfgraph.PinOwner
getPins
 
Methods inherited from interface org.eclipse.gmf.gmfgraph.CustomAttributeOwner
getAttributes
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

CORNER_WIDTH_EDEFAULT

protected static final int CORNER_WIDTH_EDEFAULT
The default value of the 'Corner Width' attribute.

See Also:
getCornerWidth(), Constant Field Values
Generated
Ordered

cornerWidth

protected int cornerWidth
The cached value of the 'Corner Width' attribute.

See Also:
getCornerWidth()
Generated
Ordered

CORNER_HEIGHT_EDEFAULT

protected static final int CORNER_HEIGHT_EDEFAULT
The default value of the 'Corner Height' attribute.

See Also:
getCornerHeight(), Constant Field Values
Generated
Ordered

cornerHeight

protected int cornerHeight
The cached value of the 'Corner Height' attribute.

See Also:
getCornerHeight()
Generated
Ordered
Constructor Detail

RoundedRectangleImpl

protected RoundedRectangleImpl()

Generated
Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class ShapeImpl
Generated

getCornerWidth

public int getCornerWidth()

Specified by:
getCornerWidth in interface RoundedRectangle
Returns:
the value of the 'Corner Width' attribute.
See Also:
RoundedRectangle.setCornerWidth(int), GMFGraphPackage.getRoundedRectangle_CornerWidth()
Generated

setCornerWidth

public void setCornerWidth(int newCornerWidth)

Specified by:
setCornerWidth in interface RoundedRectangle
Parameters:
newCornerWidth - the new value of the 'Corner Width' attribute.
See Also:
RoundedRectangle.getCornerWidth()
Generated

getCornerHeight

public int getCornerHeight()

Specified by:
getCornerHeight in interface RoundedRectangle
Returns:
the value of the 'Corner Height' attribute.
See Also:
RoundedRectangle.setCornerHeight(int), GMFGraphPackage.getRoundedRectangle_CornerHeight()
Generated

setCornerHeight

public void setCornerHeight(int newCornerHeight)

Specified by:
setCornerHeight in interface RoundedRectangle
Parameters:
newCornerHeight - the new value of the 'Corner Height' attribute.
See Also:
RoundedRectangle.getCornerHeight()
Generated

eGet

public Object eGet(int featureID,
                   boolean resolve,
                   boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class ShapeImpl
Generated

eSet

public void eSet(int featureID,
                 Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class ShapeImpl
Generated

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class ShapeImpl
Generated

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class ShapeImpl
Generated

toString

public String toString()

Overrides:
toString in class ShapeImpl
Generated


Copyright © 2012. All Rights Reserved.