Runtime

org.eclipse.gmf.runtime.notation.impl
Class SizeImpl

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.emf.ecore.impl.FlatEObjectImpl
                  extended byorg.eclipse.gmf.runtime.notation.impl.SizeImpl
All Implemented Interfaces:
EObject, InternalEObject, LayoutConstraint, Notifier, Size

public class SizeImpl
extends FlatEObjectImpl
implements Size

An implementation of the model object 'Size'.

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  int height
          The cached value of the 'Height' attribute
protected static int HEIGHT_EDEFAULT
          The default value of the 'Height' attribute
protected  int width
          The cached value of the 'Width' attribute
protected static int WIDTH_EDEFAULT
          The default value of the 'Width' attribute
 
Fields inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl
eContents, eCrossReferences, eProxyURI
 
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 SizeImpl()
           
 
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 getHeight()
           
 int getWidth()
           
 void setHeight(int newHeight)
           
 void setWidth(int newWidth)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl
eContents, eCrossReferences, eIsProxy, eProperties, eProxyURI, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eSetClass, eSetDeliver
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedStructuralFeatureID, 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, eInverseAdd, eInverseRemove, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, 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.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.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

WIDTH_EDEFAULT

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

See Also:
SizeImpl.getWidth(), Constant Field Values
** Generated **
Ordered:

width

protected int width
The cached value of the 'Width' attribute.

See Also:
SizeImpl.getWidth()
** Generated **
Ordered:

HEIGHT_EDEFAULT

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

See Also:
SizeImpl.getHeight(), Constant Field Values
** Generated **
Ordered:

height

protected int height
The cached value of the 'Height' attribute.

See Also:
SizeImpl.getHeight()
** Generated **
Ordered:
Constructor Detail

SizeImpl

protected SizeImpl()

** Generated **
Method Detail

eStaticClass

protected EClass eStaticClass()

** Generated **

getWidth

public int getWidth()

Specified by:
getWidth in interface Size
Returns:
the value of the 'Width' attribute.
See Also:
Size.setWidth(int), NotationPackage.getSize_Width()
** Generated **

setWidth

public void setWidth(int newWidth)

Specified by:
setWidth in interface Size
Parameters:
newWidth - the new value of the 'Width' attribute.
See Also:
Size.getWidth()
** Generated **

getHeight

public int getHeight()

Specified by:
getHeight in interface Size
Returns:
the value of the 'Height' attribute.
See Also:
Size.setHeight(int), NotationPackage.getSize_Height()
** Generated **

setHeight

public void setHeight(int newHeight)

Specified by:
setHeight in interface Size
Parameters:
newHeight - the new value of the 'Height' attribute.
See Also:
Size.getHeight()
** Generated **

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface InternalEObject
** Generated **

eSet

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

Specified by:
eSet in interface InternalEObject
** Generated **

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface InternalEObject
** Generated **

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface InternalEObject
** Generated **

toString

public java.lang.String toString()

** Generated **

Runtime

Guidelines for using Eclipse APIs.

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