de.cau.cs.kieler.kiml.klayoutdata
Interface KLayoutData

All Superinterfaces:
EObject, KGraphData, Notifier
All Known Subinterfaces:
KEdgeLayout, KShapeLayout
All Known Implementing Classes:
KEdgeLayoutImpl, KLayoutDataImpl, KShapeLayoutImpl

public interface KLayoutData
extends KGraphData

A representation of the model object 'Layout Data'. Layout data can be attached to any graph element and may contain layout options to customize the behavior of layout algorithms.

The following features are supported:

See Also:
KLayoutDataPackage.getKLayoutData()
Rating red
Generated:
This code was automatically generated.
Model element:
abstract=true

Method Summary
 KOption getOption(String key)
          Retrieves the first option of given key in the list of layout options.
 EList<KOption> getOptions()
          Returns the value of the 'Options' containment reference list.
 
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

getOptions

EList<KOption> getOptions()
Returns the value of the 'Options' containment reference list. The list contents are of type KOption.

Layout options specify how a layout algorithm shall handle the related graph element or its children. Options are defined in LayoutOptions and consist of a key-value pair of specific type.

Returns:
the value of the 'Options' containment reference list.
See Also:
KLayoutDataPackage.getKLayoutData_Options()
Generated:
This code was automatically generated.
Model element:
containment=true

getOption

KOption getOption(String key)
Retrieves the first option of given key in the list of layout options.

Returns:
layout option for the given key, or null if there is none
Generated:
This code was automatically generated.
Model element