Generation Framework

org.eclipse.gmf.gmfgraph.impl
Class RoundedRectangleImpl

java.lang.Object
  extended byorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended byorg.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended byorg.eclipse.emf.ecore.impl.EObjectImpl
              extended byorg.eclipse.gmf.gmfgraph.impl.ShapeImpl
                  extended byorg.eclipse.gmf.gmfgraph.impl.RoundedRectangleImpl
All Implemented Interfaces:
EObject, Figure, FigureHandle, FigureMarker, Identity, InternalEObject, Layoutable, Notifier, 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 inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList
 
Nested classes inherited from class org.eclipse.emf.ecore.InternalEObject
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
backgroundColor, border, children, fill, FILL_EDEFAULT, font, foregroundColor, insets, layout, layoutData, LINE_KIND_EDEFAULT, LINE_WIDTH_EDEFAULT, lineKind, lineWidth, location, maximumSize, minimumSize, name, NAME_EDEFAULT, outline, OUTLINE_EDEFAULT, preferredSize, referencingElements, size, XOR_FILL_EDEFAULT, XOR_OUTLINE_EDEFAULT, xorFill, xorOutline
 
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
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 int getCornerHeight()
           
 int getCornerWidth()
           
 void setCornerHeight(int newCornerHeight)
           
 void setCornerWidth(int newCornerWidth)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.gmf.gmfgraph.impl.ShapeImpl
basicSetBackgroundColor, basicSetBorder, basicSetFont, basicSetForegroundColor, basicSetInsets, basicSetLayout, basicSetLayoutData, basicSetLocation, basicSetMaximumSize, basicSetMinimumSize, basicSetPreferredSize, basicSetSize, eBaseStructuralFeatureID, eBasicRemoveFromContainerFeature, eDerivedStructuralFeatureID, eInverseAdd, eInverseRemove, getBackgroundColor, getBorder, getChildren, getFont, getForegroundColor, getInsets, getLayout, getLayoutData, getLineKind, getLineWidth, getLocation, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, getReferencingElements, getResolvedChildren, getSize, isFill, isOutline, isXorFill, isXorOutline, setBackgroundColor, setBorder, setFill, setFont, setForegroundColor, setInsets, setLayout, setLayoutData, setLineKind, setLineWidth, setLocation, setMaximumSize, setMinimumSize, setName, setOutline, setPreferredSize, setSize, setXorFill, setXorOutline
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, 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.gmf.gmfgraph.Shape
getLineKind, getLineWidth, getResolvedChildren, isFill, isOutline, isXorFill, isXorOutline, setFill, setLineKind, setLineWidth, setOutline, setXorFill, setXorOutline
 
Methods inherited from interface org.eclipse.gmf.gmfgraph.Figure
getBackgroundColor, getBorder, getChildren, 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.FigureMarker
getParent
 
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, 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.FigureHandle
getReferencingElements
 
Methods inherited from interface org.eclipse.gmf.gmfgraph.Identity
getName, setName
 
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:
RoundedRectangleImpl.getCornerWidth(), Constant Field Values
** Generated **
Ordered:

cornerWidth

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

See Also:
RoundedRectangleImpl.getCornerWidth()
** Generated **
Ordered:

CORNER_HEIGHT_EDEFAULT

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

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

cornerHeight

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

See Also:
RoundedRectangleImpl.getCornerHeight()
** Generated **
Ordered:
Constructor Detail

RoundedRectangleImpl

protected RoundedRectangleImpl()

** Generated **
Method Detail

eStaticClass

protected 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 java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface InternalEObject
Overrides:
eGet in class ShapeImpl
** Generated **

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface InternalEObject
Overrides:
eSet in class ShapeImpl
** Generated **

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface InternalEObject
Overrides:
eUnset in class ShapeImpl
** Generated **

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface InternalEObject
Overrides:
eIsSet in class ShapeImpl
** Generated **

toString

public java.lang.String toString()

Overrides:
toString in class ShapeImpl
** Generated **

Generation Framework

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.