View Javadoc

1   /*
2    * Copyright (c) 2005, The K-Wf Grid Consortium
3    * Fraunhofer Institute for Computer Architecture and Software Technology
4    * See http://www.kwfgrid.eu and http://www.first.fraunhofer.de for more details.
5    */
6   package net.kwfgrid.gwui.graphview;
7   
8   import de.fzi.wim.guibase.graphview.graph.Graph;
9   import de.fzi.wim.guibase.graphview.layout.LayoutStrategy;
10  
11  /***
12     A factory for <code>LayoutStrategy</code> instances used by the <code>WorkflowGraphView</code>.
13   */
14  public interface LayoutFactory {
15      /***
16         Create a <code>LayoutStrategy</code> for the specified graph.
17       */
18      LayoutStrategy createLayoutStrategy(Graph graph);
19  }