Graph Common

pl.psnc.graph.gui
Interface IWorkflowPane

All Known Implementing Classes:
WorkflowDesignPane

public interface IWorkflowPane

IWorkflowPane interface - used for outside world to access Workflow Design Pane.

Author:
Dominik Stoklosa (~osa~)
Email address
osa@man.poznan.pl

Method Summary
 void addLeftPane(javax.swing.JPanel panel)
          Add given panel to the left side of the split pane of the Workflow Editor Design pane
 CustomGraph getGraph()
          Get instance of CustomGraph
 javax.swing.JPanel getGraphPane()
          Returns an instance of graph pane JPanel
 void insert(java.awt.geom.Point2D point, org.jgraph.graph.DefaultGraphCell vertex)
          Insert a new Vertex at the given point
 

Method Detail

getGraph

CustomGraph getGraph()
Get instance of CustomGraph

Returns:
the graph instance of CustomGraph

getGraphPane

javax.swing.JPanel getGraphPane()
Returns an instance of graph pane JPanel

Returns:
an instance of graph pane JPanel

addLeftPane

void addLeftPane(javax.swing.JPanel panel)
Add given panel to the left side of the split pane of the Workflow Editor Design pane

Parameters:
panel - instance of JPanel

insert

void insert(java.awt.geom.Point2D point,
            org.jgraph.graph.DefaultGraphCell vertex)
            throws GraphException
Insert a new Vertex at the given point

Parameters:
point - insertion location, an instance of Point
vertex - node to be inserted, an instance of DefaultGraphCell
Throws:
GraphException - thrown when insertion fails

Graph Common

Copyright 2008 by VLAB Dominik Stoklosa