Runtime

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

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.runtime.notation.impl.NotationEObjectImpl
                  extended by org.eclipse.gmf.runtime.notation.impl.DiagramStyleImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, DescriptionStyle, DiagramStyle, GuideStyle, PageStyle, Style

public class DiagramStyleImpl
extends NotationEObjectImpl
implements DiagramStyle

An implementation of the model object 'Diagram Style'.

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 java.lang.Object & org.eclipse.emf.common.notify.Adapter>
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected  java.lang.String description
          The cached value of the 'Description' attribute
protected static java.lang.String DESCRIPTION_EDEFAULT
          The default value of the 'Description' attribute
protected  org.eclipse.emf.common.util.EList horizontalGuides
          The cached value of the 'Horizontal Guides' containment reference list
protected static int PAGE_HEIGHT_EDEFAULT
          The default value of the 'Page Height' attribute
protected static int PAGE_WIDTH_EDEFAULT
          The default value of the 'Page Width' attribute
protected static int PAGE_X_EDEFAULT
          The default value of the 'Page X' attribute
protected static int PAGE_Y_EDEFAULT
          The default value of the 'Page Y' attribute
protected  int pageHeight
          The cached value of the 'Page Height' attribute
protected  int pageWidth
          The cached value of the 'Page Width' attribute
protected  int pageX
          The cached value of the 'Page X' attribute
protected  int pageY
          The cached value of the 'Page Y' attribute
protected  org.eclipse.emf.common.util.EList verticalGuides
          The cached value of the 'Vertical Guides' containment reference list
 
Fields inherited from class org.eclipse.gmf.runtime.notation.impl.NotationEObjectImpl
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 DiagramStyleImpl()
           
 
Method Summary
 int eBaseStructuralFeatureID(int derivedFeatureID, java.lang.Class baseClass)
           
 int eDerivedStructuralFeatureID(int baseFeatureID, java.lang.Class baseClass)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 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, java.lang.Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 java.lang.String getDescription()
           
 org.eclipse.emf.common.util.EList getHorizontalGuides()
           
 int getPageHeight()
           
 int getPageWidth()
           
 int getPageX()
           
 int getPageY()
           
 org.eclipse.emf.common.util.EList getVerticalGuides()
           
 void setDescription(java.lang.String newDescription)
           
 void setPageHeight(int newPageHeight)
           
 void setPageWidth(int newPageWidth)
           
 void setPageX(int newPageX)
           
 void setPageY(int newPageY)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.gmf.runtime.notation.impl.NotationEObjectImpl
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, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, 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, 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.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.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.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

PAGE_X_EDEFAULT

protected static final int PAGE_X_EDEFAULT
The default value of the 'Page X' attribute.

See Also:
getPageX(), Constant Field Values
** Generated **
Ordered:

pageX

protected int pageX
The cached value of the 'Page X' attribute.

See Also:
getPageX()
** Generated **
Ordered:

PAGE_Y_EDEFAULT

protected static final int PAGE_Y_EDEFAULT
The default value of the 'Page Y' attribute.

See Also:
getPageY(), Constant Field Values
** Generated **
Ordered:

pageY

protected int pageY
The cached value of the 'Page Y' attribute.

See Also:
getPageY()
** Generated **
Ordered:

PAGE_WIDTH_EDEFAULT

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

See Also:
getPageWidth(), Constant Field Values
** Generated **
Ordered:

pageWidth

protected int pageWidth
The cached value of the 'Page Width' attribute.

See Also:
getPageWidth()
** Generated **
Ordered:

PAGE_HEIGHT_EDEFAULT

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

See Also:
getPageHeight(), Constant Field Values
** Generated **
Ordered:

pageHeight

protected int pageHeight
The cached value of the 'Page Height' attribute.

See Also:
getPageHeight()
** Generated **
Ordered:

horizontalGuides

protected org.eclipse.emf.common.util.EList horizontalGuides
The cached value of the 'Horizontal Guides' containment reference list.

See Also:
getHorizontalGuides()
** Generated **
Ordered:

verticalGuides

protected org.eclipse.emf.common.util.EList verticalGuides
The cached value of the 'Vertical Guides' containment reference list.

See Also:
getVerticalGuides()
** Generated **
Ordered:

DESCRIPTION_EDEFAULT

protected static final java.lang.String DESCRIPTION_EDEFAULT
The default value of the 'Description' attribute.

See Also:
getDescription(), Constant Field Values
** Generated **
Ordered:

description

protected java.lang.String description
The cached value of the 'Description' attribute.

See Also:
getDescription()
** Generated **
Ordered:
Constructor Detail

DiagramStyleImpl

protected DiagramStyleImpl()

** Generated **
Method Detail

eStaticClass

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

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

getPageX

public int getPageX()

Specified by:
getPageX in interface PageStyle
Returns:
the value of the 'Page X' attribute.
See Also:
PageStyle.setPageX(int), NotationPackage.getPageStyle_PageX()
** Generated **

setPageX

public void setPageX(int newPageX)

Specified by:
setPageX in interface PageStyle
Parameters:
newPageX - the new value of the 'Page X' attribute.
See Also:
PageStyle.getPageX()
** Generated **

getPageY

public int getPageY()

Specified by:
getPageY in interface PageStyle
Returns:
the value of the 'Page Y' attribute.
See Also:
PageStyle.setPageY(int), NotationPackage.getPageStyle_PageY()
** Generated **

setPageY

public void setPageY(int newPageY)

Specified by:
setPageY in interface PageStyle
Parameters:
newPageY - the new value of the 'Page Y' attribute.
See Also:
PageStyle.getPageY()
** Generated **

getPageWidth

public int getPageWidth()

Specified by:
getPageWidth in interface PageStyle
Returns:
the value of the 'Page Width' attribute.
See Also:
PageStyle.setPageWidth(int), NotationPackage.getPageStyle_PageWidth()
** Generated **

setPageWidth

public void setPageWidth(int newPageWidth)

Specified by:
setPageWidth in interface PageStyle
Parameters:
newPageWidth - the new value of the 'Page Width' attribute.
See Also:
PageStyle.getPageWidth()
** Generated **

getPageHeight

public int getPageHeight()

Specified by:
getPageHeight in interface PageStyle
Returns:
the value of the 'Page Height' attribute.
See Also:
PageStyle.setPageHeight(int), NotationPackage.getPageStyle_PageHeight()
** Generated **

setPageHeight

public void setPageHeight(int newPageHeight)

Specified by:
setPageHeight in interface PageStyle
Parameters:
newPageHeight - the new value of the 'Page Height' attribute.
See Also:
PageStyle.getPageHeight()
** Generated **

getHorizontalGuides

public org.eclipse.emf.common.util.EList getHorizontalGuides()

Specified by:
getHorizontalGuides in interface GuideStyle
Returns:
the value of the 'Horizontal Guides' containment reference list.
See Also:
NotationPackage.getGuideStyle_HorizontalGuides()
** Generated **

getVerticalGuides

public org.eclipse.emf.common.util.EList getVerticalGuides()

Specified by:
getVerticalGuides in interface GuideStyle
Returns:
the value of the 'Vertical Guides' containment reference list.
See Also:
NotationPackage.getGuideStyle_VerticalGuides()
** Generated **

getDescription

public java.lang.String getDescription()

Specified by:
getDescription in interface DescriptionStyle
Returns:
the value of the 'Description' attribute.
See Also:
DescriptionStyle.setDescription(String), NotationPackage.getDescriptionStyle_Description()
** Generated **

setDescription

public void setDescription(java.lang.String newDescription)

Specified by:
setDescription in interface DescriptionStyle
Parameters:
newDescription - the new value of the 'Description' attribute.
See Also:
DescriptionStyle.getDescription()
** 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 **

eGet

public java.lang.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,
                 java.lang.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 **

eBaseStructuralFeatureID

public int eBaseStructuralFeatureID(int derivedFeatureID,
                                    java.lang.Class baseClass)

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

eDerivedStructuralFeatureID

public int eDerivedStructuralFeatureID(int baseFeatureID,
                                       java.lang.Class baseClass)

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

toString

public java.lang.String toString()

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

Runtime

Guidelines for using Eclipse APIs.

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