de.cau.cs.kieler.kiml.ui.service
Class LayoutOptionManager

java.lang.Object
  extended by de.cau.cs.kieler.kiml.ui.service.LayoutOptionManager

public class LayoutOptionManager
extends Object

The main class for configuration of KGraph instances.

Rating red

Field Summary
static Property<Boolean> USE_ECLIPSE_LAYOUT_CONFIG
          the option for the usage of the Eclipse layout config.
 
Constructor Summary
LayoutOptionManager()
           
 
Method Summary
 void configure(LayoutMapping<?> layoutMapping)
          Configure the layout graph in the given layout mapping.
 IMutableLayoutConfig createConfig(EObject domainElement, ILayoutConfig... extraConfigs)
          Create a layout configuration that can be used to access all actual values of layout options.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USE_ECLIPSE_LAYOUT_CONFIG

public static final Property<Boolean> USE_ECLIPSE_LAYOUT_CONFIG
the option for the usage of the Eclipse layout config.

Constructor Detail

LayoutOptionManager

public LayoutOptionManager()
Method Detail

configure

public void configure(LayoutMapping<?> layoutMapping)
Configure the layout graph in the given layout mapping.

Parameters:
layoutMapping - a layout mapping

createConfig

public IMutableLayoutConfig createConfig(EObject domainElement,
                                         ILayoutConfig... extraConfigs)
Create a layout configuration that can be used to access all actual values of layout options.

Parameters:
domainElement - a domain model element
extraConfigs - optional additional layout configurations to include
Returns:
a complete layout configuration