de.cau.cs.kieler.core.kgraph
Interface KLabel

All Superinterfaces:
EObject, KGraphElement, Notifier
All Known Implementing Classes:
KLabelImpl

public interface KLabel
extends KGraphElement

A representation of the model object 'Label'. Each label must be assigned a parent graph element and a text string.

The following features are supported:

See Also:
KGraphPackage.getKLabel()
Rating red
Generated:
This code was automatically generated.
Model element

Method Summary
 KGraphElement getParent()
          Returns the value of the 'Parent' reference.
 String getText()
          Returns the value of the 'Text' attribute.
 void setParent(KGraphElement value)
          Sets the value of the 'Parent' reference.
 void setText(String value)
          Sets the value of the 'Text' attribute.
 
Methods inherited from interface de.cau.cs.kieler.core.kgraph.KGraphElement
getData, getData, getData
 
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
 

Method Detail

getText

String getText()
Returns the value of the 'Text' attribute.

Returns:
the value of the 'Text' attribute.
See Also:
setText(String), KGraphPackage.getKLabel_Text()
Generated:
This code was automatically generated.
Model element:
required=true

setText

void setText(String value)
Sets the value of the 'Text' attribute.

Parameters:
value - the new value of the 'Text' attribute.
See Also:
getText()
Generated:
This code was automatically generated.

getParent

KGraphElement getParent()
Returns the value of the 'Parent' reference. Each label is related to a specific graph element, such as a node, an edge, or a port.

Returns:
the value of the 'Parent' reference.
See Also:
setParent(KGraphElement), KGraphPackage.getKLabel_Parent()
Generated:
This code was automatically generated.
Model element:
required=true

setParent

void setParent(KGraphElement value)
Sets the value of the 'Parent' reference.

Parameters:
value - the new value of the 'Parent' reference.
See Also:
getParent()
Generated:
This code was automatically generated.