org.eclipse.gmf.gmfgraph.impl
Class LabelImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.gmf.gmfgraph.impl.AbstractFigureImpl
org.eclipse.gmf.gmfgraph.impl.RealFigureImpl
org.eclipse.gmf.gmfgraph.impl.LabelImpl
- All Implemented Interfaces:
- Notifier, EObject, InternalEObject, AbstractFigure, Figure, Label, Layoutable, RealFigure
public class LabelImpl
- extends RealFigureImpl
- implements Label
An implementation of the model object 'Label'.
The following features are implemented:
- ** Generated **
Field Summary |
protected java.lang.String |
text
The cached value of the 'Text ' attribute |
protected static java.lang.String |
TEXT_EDEFAULT
The default value of the 'Text ' attribute |
Fields inherited from class org.eclipse.gmf.gmfgraph.impl.AbstractFigureImpl |
backgroundColor, border, font, foregroundColor, insets, layout, layoutData, location, maximumSize, minimumSize, preferredSize, size |
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)
|
java.lang.String |
getText()
|
void |
setText(java.lang.String newText)
|
java.lang.String |
toString()
|
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, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI |
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, 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, 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
TEXT_EDEFAULT
protected static final java.lang.String TEXT_EDEFAULT
- The default value of the '
Text
' attribute.
- See Also:
getText()
- ** Generated **
- Ordered:
text
protected java.lang.String text
- The cached value of the '
Text
' attribute.
- See Also:
getText()
- ** Generated **
- Ordered:
LabelImpl
protected LabelImpl()
-
- ** Generated **
eStaticClass
protected EClass eStaticClass()
-
- Overrides:
eStaticClass
in class RealFigureImpl
- ** Generated **
getText
public java.lang.String getText()
-
- Specified by:
getText
in interface Label
- Returns:
- the value of the 'Text' attribute.
- See Also:
Label.setText(String)
,
GMFGraphPackage.getLabel_Text()
- ** Generated **
setText
public void setText(java.lang.String newText)
-
- Specified by:
setText
in interface Label
- Parameters:
newText
- the new value of the 'Text' attribute.- See Also:
Label.getText()
- ** Generated **
eGet
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
-
- Specified by:
eGet
in interface InternalEObject
- Overrides:
eGet
in class RealFigureImpl
- ** Generated **
eSet
public void eSet(int featureID,
java.lang.Object newValue)
-
- Specified by:
eSet
in interface InternalEObject
- Overrides:
eSet
in class RealFigureImpl
- ** Generated **
eUnset
public void eUnset(int featureID)
-
- Specified by:
eUnset
in interface InternalEObject
- Overrides:
eUnset
in class RealFigureImpl
- ** Generated **
eIsSet
public boolean eIsSet(int featureID)
-
- Specified by:
eIsSet
in interface InternalEObject
- Overrides:
eIsSet
in class RealFigureImpl
- ** Generated **
toString
public java.lang.String toString()
-
- Overrides:
toString
in class RealFigureImpl
- ** Generated **
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.