Class KLabelImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
de.cau.cs.kieler.klighd.kgraph.impl.EMapPropertyHolderImpl
de.cau.cs.kieler.klighd.kgraph.impl.KGraphElementImpl
de.cau.cs.kieler.klighd.kgraph.impl.KLabelImpl
- All Implemented Interfaces:
EMapPropertyHolder,KGraphElement,KLabel,KLayoutData,KShapeLayout,org.eclipse.elk.graph.properties.IPropertyHolder,org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.InternalEObject
An implementation of the model object 'KLabel'.
The following features are implemented:
- EMF generated code
-
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.EPropertiesHolderImplNested 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, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterListNested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected floatThe cached value of the 'Height' attribute.protected static final floatThe default value of the 'Height' attribute.protected KInsetsThe cached value of the 'Insets' containment reference.protected StringThe cached value of the 'Text' attribute.protected static final StringThe default value of the 'Text' attribute.protected floatThe cached value of the 'Width' attribute.protected static final floatThe default value of the 'Width' attribute.protected floatThe cached value of the 'Xpos' attribute.protected static final floatThe default value of the 'Xpos' attribute.protected floatThe cached value of the 'Ypos' attribute.protected static final floatThe default value of the 'Ypos' attribute.Fields inherited from class de.cau.cs.kieler.klighd.kgraph.impl.KGraphElementImpl
dataFields inherited from class de.cau.cs.kieler.klighd.kgraph.impl.EMapPropertyHolderImpl
persistentEntries, propertiesFields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXYFields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETFields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyVector(org.eclipse.elk.core.math.KVector pos) org.eclipse.emf.common.notify.NotificationChainbasicSetInsets(KInsets newInsets, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetParent(KLabeledGraphElement newParent, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.elk.core.math.KVectorinteBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) org.eclipse.emf.common.notify.NotificationChaineBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs) inteDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) eGet(int featureID, boolean resolve, boolean coreType) org.eclipse.emf.common.notify.NotificationChaineInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChaineInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) booleaneIsSet(int featureID) voidprotected org.eclipse.emf.ecore.EClassvoideUnset(int featureID) floatgetText()floatgetWidth()floatgetXpos()floatgetYpos()booleanvoidvoidsetHeight(float newHeight) voidvoidsetParent(KLabeledGraphElement newParent) voidsetPos(float newXpos, float newYpos) voidsetSize(float newWidth, float newHeight) voidvoidsetWidth(float newWidth) voidsetXpos(float newXpos) voidsetYpos(float newYpos) toString()Methods inherited from class de.cau.cs.kieler.klighd.kgraph.impl.KGraphElementImpl
getData, getData, getDataMethods inherited from class de.cau.cs.kieler.klighd.kgraph.impl.EMapPropertyHolderImpl
copyProperties, getAllProperties, getPersistentEntries, getProperties, getProperty, hasProperty, makePersistent, setPropertyMethods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURIMethods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, 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, eVirtualValuesMethods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotifyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface de.cau.cs.kieler.klighd.kgraph.EMapPropertyHolder
getPersistentEntries, getProperties, makePersistentMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequiredMethods inherited from interface org.eclipse.elk.graph.properties.IPropertyHolder
copyProperties, getAllProperties, getProperty, hasProperty, setPropertyMethods inherited from interface de.cau.cs.kieler.klighd.kgraph.KGraphElement
getData, getData, getDataMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Field Details
-
XPOS_EDEFAULT
protected static final float XPOS_EDEFAULTThe default value of the 'Xpos' attribute.- See Also:
- EMF generated code
- EMF ordered element
-
xpos
protected float xposThe cached value of the 'Xpos' attribute.- See Also:
- EMF generated code
- EMF ordered element
-
YPOS_EDEFAULT
protected static final float YPOS_EDEFAULTThe default value of the 'Ypos' attribute.- See Also:
- EMF generated code
- EMF ordered element
-
ypos
protected float yposThe cached value of the 'Ypos' attribute.- See Also:
- EMF generated code
- EMF ordered element
-
WIDTH_EDEFAULT
protected static final float WIDTH_EDEFAULTThe default value of the 'Width' attribute.- See Also:
- EMF generated code
- EMF ordered element
-
width
protected float widthThe cached value of the 'Width' attribute.- See Also:
- EMF generated code
- EMF ordered element
-
HEIGHT_EDEFAULT
protected static final float HEIGHT_EDEFAULTThe default value of the 'Height' attribute.- See Also:
- EMF generated code
- EMF ordered element
-
height
protected float heightThe cached value of the 'Height' attribute.- See Also:
- EMF generated code
- EMF ordered element
-
insets
The cached value of the 'Insets' containment reference.- See Also:
- EMF generated code
- EMF ordered element
-
TEXT_EDEFAULT
The default value of the 'Text' attribute.- See Also:
- EMF generated code
- EMF ordered element
-
text
The cached value of the 'Text' attribute.- See Also:
- EMF generated code
- EMF ordered element
-
-
Constructor Details
-
KLabelImpl
protected KLabelImpl()- EMF generated code
-
-
Method Details
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()- Overrides:
eStaticClassin classKGraphElementImpl- EMF generated code
-
getXpos
public float getXpos()- Specified by:
getXposin interfaceKShapeLayout- Returns:
- the value of the 'Xpos' attribute.
- See Also:
- EMF generated code
-
setXpos
public void setXpos(float newXpos) - Specified by:
setXposin interfaceKShapeLayout- Parameters:
newXpos- the new value of the 'Xpos' attribute.- See Also:
- EMF generated code
-
getYpos
public float getYpos()- Specified by:
getYposin interfaceKShapeLayout- Returns:
- the value of the 'Ypos' attribute.
- See Also:
- EMF generated code
-
setYpos
public void setYpos(float newYpos) - Specified by:
setYposin interfaceKShapeLayout- Parameters:
newYpos- the new value of the 'Ypos' attribute.- See Also:
- EMF generated code
-
getWidth
public float getWidth()- Specified by:
getWidthin interfaceKShapeLayout- Returns:
- the value of the 'Width' attribute.
- See Also:
- EMF generated code
-
setWidth
public void setWidth(float newWidth) - Specified by:
setWidthin interfaceKShapeLayout- Parameters:
newWidth- the new value of the 'Width' attribute.- See Also:
- EMF generated code
-
getHeight
public float getHeight()- Specified by:
getHeightin interfaceKShapeLayout- Returns:
- the value of the 'Height' attribute.
- See Also:
- EMF generated code
-
setHeight
public void setHeight(float newHeight) - Specified by:
setHeightin interfaceKShapeLayout- Parameters:
newHeight- the new value of the 'Height' attribute.- See Also:
- EMF generated code
-
getInsets
- Specified by:
getInsetsin interfaceKShapeLayout- Returns:
- the value of the 'Insets' containment reference.
- See Also:
- EMF generated code
-
basicSetInsets
public org.eclipse.emf.common.notify.NotificationChain basicSetInsets(KInsets newInsets, org.eclipse.emf.common.notify.NotificationChain msgs) - EMF generated code
-
setInsets
- Specified by:
setInsetsin interfaceKShapeLayout- Parameters:
newInsets- the new value of the 'Insets' containment reference.- See Also:
- EMF generated code
-
getText
-
setText
-
getParent
-
basicSetParent
public org.eclipse.emf.common.notify.NotificationChain basicSetParent(KLabeledGraphElement newParent, org.eclipse.emf.common.notify.NotificationChain msgs) - EMF generated code
-
setParent
-
setPos
public void setPos(float newXpos, float newYpos) - Specified by:
setPosin interfaceKShapeLayout- Parameters:
newXpos- the new x coordinate valuenewYpos- the new y coordinate value- EMF generated code
- NOT
-
applyVector
public void applyVector(org.eclipse.elk.core.math.KVector pos) - Specified by:
applyVectorin interfaceKShapeLayout- Parameters:
pos- the vector for the new position- EMF generated code
- NOT
-
createVector
public org.eclipse.elk.core.math.KVector createVector()- Specified by:
createVectorin interfaceKShapeLayout- Returns:
- the position vector
- EMF generated code
- NOT
-
setSize
public void setSize(float newWidth, float newHeight) - Specified by:
setSizein interfaceKShapeLayout- Parameters:
newWidth- the new widthnewHeight- the new height- EMF generated code
- NOT
-
isModified
public boolean isModified()- Specified by:
isModifiedin interfaceKLayoutData- EMF generated code
- NOT
-
resetModificationFlag
public void resetModificationFlag()- Specified by:
resetModificationFlagin interfaceKLayoutData- EMF generated code
- NOT
-
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:
eInverseAddin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl- EMF generated code
-
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:
eInverseRemovein classKGraphElementImpl- EMF generated code
-
eBasicRemoveFromContainerFeature
public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs) - Overrides:
eBasicRemoveFromContainerFeaturein classorg.eclipse.emf.ecore.impl.BasicEObjectImpl- EMF generated code
-
eGet
- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classKGraphElementImpl- EMF generated code
-
eSet
- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classKGraphElementImpl- EMF generated code
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classKGraphElementImpl- EMF generated code
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classKGraphElementImpl- EMF generated code
-
eBaseStructuralFeatureID
- Specified by:
eBaseStructuralFeatureIDin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eBaseStructuralFeatureIDin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl- EMF generated code
-
eDerivedStructuralFeatureID
- Specified by:
eDerivedStructuralFeatureIDin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eDerivedStructuralFeatureIDin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl- EMF generated code
-
toString
- Overrides:
toStringin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl- EMF generated code
- NOT
-