Package de.cau.cs.kieler.klighd.kgraph
Interface KLabel
- All Superinterfaces:
EMapPropertyHolder,org.eclipse.emf.ecore.EObject,org.eclipse.elk.graph.properties.IPropertyHolder,KGraphElement,KLayoutData,KShapeLayout,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
KLabelImpl
A representation of the model object 'KLabel'.
Each label must be assigned a parent graph element and a text string.
The following features are supported:
- See Also:
- EMF generated code
- EMF model element
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Parent' container reference.getText()Returns the value of the 'Text' attribute.voidsetParent(KLabeledGraphElement value) Sets the value of the 'Parent' container reference.voidSets the value of the 'Text' attribute.Methods 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.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 de.cau.cs.kieler.klighd.kgraph.KLayoutData
isModified, resetModificationFlagMethods inherited from interface de.cau.cs.kieler.klighd.kgraph.KShapeLayout
applyVector, createVector, getHeight, getInsets, getWidth, getXpos, getYpos, setHeight, setInsets, setPos, setSize, setWidth, setXpos, setYposMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getText
String getText()Returns the value of the 'Text' attribute.If the meaning of the 'Text' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Text' attribute.
- See Also:
- EMF generated code
- EMF model element
-
setText
Sets the value of the 'Text' attribute.- Parameters:
value- the new value of the 'Text' attribute.- See Also:
- EMF generated code
-
getParent
KLabeledGraphElement getParent()Returns the value of the 'Parent' container reference. It is bidirectional and its opposite is 'Labels'.If the meaning of the 'Parent' container reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Parent' container reference.
- See Also:
- EMF generated code
- EMF model element
- opposite="labels" required="true" transient="false"
-
setParent
Sets the value of the 'Parent' container reference.- Parameters:
value- the new value of the 'Parent' container reference.- See Also:
- EMF generated code
-