org.eclipse.gmf.gmfgraph.impl
Class GridLayoutDataImpl

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.GridLayoutDataImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, GridLayoutData, LayoutData

public class GridLayoutDataImpl
extends org.eclipse.emf.ecore.impl.EObjectImpl
implements GridLayoutData

An implementation of the model object 'Grid Layout Data'.

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 boolean GRAB_EXCESS_HORIZONTAL_SPACE_EDEFAULT
          The default value of the 'Grab Excess Horizontal Space' attribute.
protected static boolean GRAB_EXCESS_VERTICAL_SPACE_EDEFAULT
          The default value of the 'Grab Excess Vertical Space' attribute.
protected  boolean grabExcessHorizontalSpace
          The cached value of the 'Grab Excess Horizontal Space' attribute.
protected  boolean grabExcessVerticalSpace
          The cached value of the 'Grab Excess Vertical Space' attribute.
protected static Alignment HORIZONTAL_ALIGNMENT_EDEFAULT
          The default value of the 'Horizontal Alignment' attribute.
protected static int HORIZONTAL_INDENT_EDEFAULT
          The default value of the 'Horizontal Indent' attribute.
protected static int HORIZONTAL_SPAN_EDEFAULT
          The default value of the 'Horizontal Span' attribute.
protected  Alignment horizontalAlignment
          The cached value of the 'Horizontal Alignment' attribute.
protected  int horizontalIndent
          The cached value of the 'Horizontal Indent' attribute.
protected  int horizontalSpan
          The cached value of the 'Horizontal Span' attribute.
protected  Dimension sizeHint
          The cached value of the 'Size Hint' containment reference.
protected static Alignment VERTICAL_ALIGNMENT_EDEFAULT
          The default value of the 'Vertical Alignment' attribute.
protected static int VERTICAL_SPAN_EDEFAULT
          The default value of the 'Vertical Span' attribute.
protected  Alignment verticalAlignment
          The cached value of the 'Vertical Alignment' attribute.
protected  int verticalSpan
          The cached value of the 'Vertical Span' attribute.
 
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 GridLayoutDataImpl()
           
 
Method Summary
 org.eclipse.emf.common.notify.NotificationChain basicSetOwner(Layoutable newOwner, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetSizeHint(Dimension newSizeHint, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
           
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 Alignment getHorizontalAlignment()
           
 int getHorizontalIndent()
           
 int getHorizontalSpan()
           
 Layoutable getOwner()
           
 Dimension getSizeHint()
           
 Alignment getVerticalAlignment()
           
 int getVerticalSpan()
           
 boolean isGrabExcessHorizontalSpace()
           
 boolean isGrabExcessVerticalSpace()
           
 void setGrabExcessHorizontalSpace(boolean newGrabExcessHorizontalSpace)
           
 void setGrabExcessVerticalSpace(boolean newGrabExcessVerticalSpace)
           
 void setHorizontalAlignment(Alignment newHorizontalAlignment)
           
 void setHorizontalIndent(int newHorizontalIndent)
           
 void setHorizontalSpan(int newHorizontalSpan)
           
 void setOwner(Layoutable newOwner)
           
 void setSizeHint(Dimension newSizeHint)
           
 void setVerticalAlignment(Alignment newVerticalAlignment)
           
 void setVerticalSpan(int newVerticalSpan)
           
 String toString()
           
 
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, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, 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.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.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

GRAB_EXCESS_HORIZONTAL_SPACE_EDEFAULT

protected static final boolean GRAB_EXCESS_HORIZONTAL_SPACE_EDEFAULT
The default value of the 'Grab Excess Horizontal Space' attribute.

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

grabExcessHorizontalSpace

protected boolean grabExcessHorizontalSpace
The cached value of the 'Grab Excess Horizontal Space' attribute.

See Also:
isGrabExcessHorizontalSpace()
Generated
Ordered

GRAB_EXCESS_VERTICAL_SPACE_EDEFAULT

protected static final boolean GRAB_EXCESS_VERTICAL_SPACE_EDEFAULT
The default value of the 'Grab Excess Vertical Space' attribute.

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

grabExcessVerticalSpace

protected boolean grabExcessVerticalSpace
The cached value of the 'Grab Excess Vertical Space' attribute.

See Also:
isGrabExcessVerticalSpace()
Generated
Ordered

VERTICAL_ALIGNMENT_EDEFAULT

protected static final Alignment VERTICAL_ALIGNMENT_EDEFAULT
The default value of the 'Vertical Alignment' attribute.

See Also:
getVerticalAlignment()
Generated
Ordered

verticalAlignment

protected Alignment verticalAlignment
The cached value of the 'Vertical Alignment' attribute.

See Also:
getVerticalAlignment()
Generated
Ordered

HORIZONTAL_ALIGNMENT_EDEFAULT

protected static final Alignment HORIZONTAL_ALIGNMENT_EDEFAULT
The default value of the 'Horizontal Alignment' attribute.

See Also:
getHorizontalAlignment()
Generated
Ordered

horizontalAlignment

protected Alignment horizontalAlignment
The cached value of the 'Horizontal Alignment' attribute.

See Also:
getHorizontalAlignment()
Generated
Ordered

VERTICAL_SPAN_EDEFAULT

protected static final int VERTICAL_SPAN_EDEFAULT
The default value of the 'Vertical Span' attribute.

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

verticalSpan

protected int verticalSpan
The cached value of the 'Vertical Span' attribute.

See Also:
getVerticalSpan()
Generated
Ordered

HORIZONTAL_SPAN_EDEFAULT

protected static final int HORIZONTAL_SPAN_EDEFAULT
The default value of the 'Horizontal Span' attribute.

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

horizontalSpan

protected int horizontalSpan
The cached value of the 'Horizontal Span' attribute.

See Also:
getHorizontalSpan()
Generated
Ordered

HORIZONTAL_INDENT_EDEFAULT

protected static final int HORIZONTAL_INDENT_EDEFAULT
The default value of the 'Horizontal Indent' attribute.

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

horizontalIndent

protected int horizontalIndent
The cached value of the 'Horizontal Indent' attribute.

See Also:
getHorizontalIndent()
Generated
Ordered

sizeHint

protected Dimension sizeHint
The cached value of the 'Size Hint' containment reference.

See Also:
getSizeHint()
Generated
Ordered
Constructor Detail

GridLayoutDataImpl

protected GridLayoutDataImpl()

Generated
Method Detail

eStaticClass

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

Overrides:
eStaticClass in class org.eclipse.emf.ecore.impl.EObjectImpl
Generated

isGrabExcessHorizontalSpace

public boolean isGrabExcessHorizontalSpace()

Specified by:
isGrabExcessHorizontalSpace in interface GridLayoutData
Returns:
the value of the 'Grab Excess Horizontal Space' attribute.
See Also:
GridLayoutData.setGrabExcessHorizontalSpace(boolean), GMFGraphPackage.getGridLayoutData_GrabExcessHorizontalSpace()
Generated

setGrabExcessHorizontalSpace

public void setGrabExcessHorizontalSpace(boolean newGrabExcessHorizontalSpace)

Specified by:
setGrabExcessHorizontalSpace in interface GridLayoutData
Parameters:
newGrabExcessHorizontalSpace - the new value of the 'Grab Excess Horizontal Space' attribute.
See Also:
GridLayoutData.isGrabExcessHorizontalSpace()
Generated

isGrabExcessVerticalSpace

public boolean isGrabExcessVerticalSpace()

Specified by:
isGrabExcessVerticalSpace in interface GridLayoutData
Returns:
the value of the 'Grab Excess Vertical Space' attribute.
See Also:
GridLayoutData.setGrabExcessVerticalSpace(boolean), GMFGraphPackage.getGridLayoutData_GrabExcessVerticalSpace()
Generated

setGrabExcessVerticalSpace

public void setGrabExcessVerticalSpace(boolean newGrabExcessVerticalSpace)

Specified by:
setGrabExcessVerticalSpace in interface GridLayoutData
Parameters:
newGrabExcessVerticalSpace - the new value of the 'Grab Excess Vertical Space' attribute.
See Also:
GridLayoutData.isGrabExcessVerticalSpace()
Generated

getVerticalAlignment

public Alignment getVerticalAlignment()

Specified by:
getVerticalAlignment in interface GridLayoutData
Returns:
the value of the 'Vertical Alignment' attribute.
See Also:
Alignment, GridLayoutData.setVerticalAlignment(Alignment), GMFGraphPackage.getGridLayoutData_VerticalAlignment()
Generated

setVerticalAlignment

public void setVerticalAlignment(Alignment newVerticalAlignment)

Specified by:
setVerticalAlignment in interface GridLayoutData
Parameters:
newVerticalAlignment - the new value of the 'Vertical Alignment' attribute.
See Also:
Alignment, GridLayoutData.getVerticalAlignment()
Generated

getHorizontalAlignment

public Alignment getHorizontalAlignment()

Specified by:
getHorizontalAlignment in interface GridLayoutData
Returns:
the value of the 'Horizontal Alignment' attribute.
See Also:
Alignment, GridLayoutData.setHorizontalAlignment(Alignment), GMFGraphPackage.getGridLayoutData_HorizontalAlignment()
Generated

setHorizontalAlignment

public void setHorizontalAlignment(Alignment newHorizontalAlignment)

Specified by:
setHorizontalAlignment in interface GridLayoutData
Parameters:
newHorizontalAlignment - the new value of the 'Horizontal Alignment' attribute.
See Also:
Alignment, GridLayoutData.getHorizontalAlignment()
Generated

getVerticalSpan

public int getVerticalSpan()

Specified by:
getVerticalSpan in interface GridLayoutData
Returns:
the value of the 'Vertical Span' attribute.
See Also:
GridLayoutData.setVerticalSpan(int), GMFGraphPackage.getGridLayoutData_VerticalSpan()
Generated

setVerticalSpan

public void setVerticalSpan(int newVerticalSpan)

Specified by:
setVerticalSpan in interface GridLayoutData
Parameters:
newVerticalSpan - the new value of the 'Vertical Span' attribute.
See Also:
GridLayoutData.getVerticalSpan()
Generated

getHorizontalSpan

public int getHorizontalSpan()

Specified by:
getHorizontalSpan in interface GridLayoutData
Returns:
the value of the 'Horizontal Span' attribute.
See Also:
GridLayoutData.setHorizontalSpan(int), GMFGraphPackage.getGridLayoutData_HorizontalSpan()
Generated

setHorizontalSpan

public void setHorizontalSpan(int newHorizontalSpan)

Specified by:
setHorizontalSpan in interface GridLayoutData
Parameters:
newHorizontalSpan - the new value of the 'Horizontal Span' attribute.
See Also:
GridLayoutData.getHorizontalSpan()
Generated

getHorizontalIndent

public int getHorizontalIndent()

Specified by:
getHorizontalIndent in interface GridLayoutData
Returns:
the value of the 'Horizontal Indent' attribute.
See Also:
GridLayoutData.setHorizontalIndent(int), GMFGraphPackage.getGridLayoutData_HorizontalIndent()
Generated

setHorizontalIndent

public void setHorizontalIndent(int newHorizontalIndent)

Specified by:
setHorizontalIndent in interface GridLayoutData
Parameters:
newHorizontalIndent - the new value of the 'Horizontal Indent' attribute.
See Also:
GridLayoutData.getHorizontalIndent()
Generated

getSizeHint

public Dimension getSizeHint()

Specified by:
getSizeHint in interface GridLayoutData
Returns:
the value of the 'Size Hint' containment reference.
See Also:
GridLayoutData.setSizeHint(Dimension), GMFGraphPackage.getGridLayoutData_SizeHint()
Generated

basicSetSizeHint

public org.eclipse.emf.common.notify.NotificationChain basicSetSizeHint(Dimension newSizeHint,
                                                                        org.eclipse.emf.common.notify.NotificationChain msgs)

Generated

setSizeHint

public void setSizeHint(Dimension newSizeHint)

Specified by:
setSizeHint in interface GridLayoutData
Parameters:
newSizeHint - the new value of the 'Size Hint' containment reference.
See Also:
GridLayoutData.getSizeHint()
Generated

eInverseAdd

public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                   int featureID,
                                                                   org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseAdd in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
Generated

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseRemove in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
Generated

eBasicRemoveFromContainerFeature

public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eBasicRemoveFromContainerFeature in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
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 org.eclipse.emf.ecore.impl.BasicEObjectImpl
Generated

eSet

public void eSet(int featureID,
                 Object newValue)

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

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

toString

public String toString()

Overrides:
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
Generated

getOwner

public Layoutable getOwner()

Specified by:
getOwner in interface LayoutData
Returns:
the value of the 'Owner' container reference.
See Also:
LayoutData.setOwner(Layoutable), GMFGraphPackage.getLayoutData_Owner(), Layoutable.getLayoutData()
Generated

basicSetOwner

public org.eclipse.emf.common.notify.NotificationChain basicSetOwner(Layoutable newOwner,
                                                                     org.eclipse.emf.common.notify.NotificationChain msgs)

Generated

setOwner

public void setOwner(Layoutable newOwner)

Specified by:
setOwner in interface LayoutData
Parameters:
newOwner - the new value of the 'Owner' container reference.
See Also:
LayoutData.getOwner()
Generated


Copyright © 2012. All Rights Reserved.