public class PrefuseGraphContainer
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
createPartControl(Composite parent,
javax.swing.JPanel treeview)
To embed a Swing component into an SWT component.
|
static PrefuseGraphContainer |
getInstance() |
javax.swing.JPanel |
initializeGraphViewContainer(Graph graph,
java.lang.String label)
From a prefuse graph, it initializes a GraphView container,
composed of a radial graph (deduced from graph informations), a search
area and custom navigation (left click on an element will center
the view on it, right click will zoom out to fit the graph into
the window, left press and move will move the graph, etc.).
|
javax.swing.JPanel |
initializeGraphViewContainer(Graph graph,
java.lang.String label,
Control controlAdapter)
From a prefuse graph, it initializes a GraphView container,
composed of a radial graph (deduced from graph informations), a search
area and custom navigation (left click on an element will center
the view on it, right click will zoom out to fit the graph into
the window, left press and move will move the graph, etc.).
|
javax.swing.JPanel |
initializeRadialGraphViewContainer(Graph graph,
java.lang.String label)
From a prefuse graph, it initializes a RadialGraphView container,
composed of a radial graph (deduced from graph informations), a search
area and custom navigation (left click on an element will center
the view on it, right click will zoom out to fit the graph into
the window, left press and move will move the graph, etc.).
|
javax.swing.JPanel |
initializeRadialGraphViewContainer(Graph graph,
java.lang.String label,
Control controlAdapter)
From a prefuse graph, it initializes a RadialGraphView container,
composed of a radial graph (deduced from graph informations), a search
area and custom navigation (left click on an element will center
the view on it, right click will zoom out to fit the graph into
the window, left press and move will move the graph, etc.).
|
javax.swing.JPanel |
initializeTreeViewContainer(Graph graph,
java.lang.String label,
java.lang.String image)
From a prefuse graph, it initializes a TreeView container,
composed of a tree (deduced from graph informations, so the
graph shall not contain cyclic links, in this case you should
use the initializeRadialGraphViewContainer method instead), a search
area and custom navigation (left click on an element will center
the view on it, right click will zoom out to fit the graph into
the window, left press and move will move the graph, etc.).
|
javax.swing.JPanel |
initializeTreeViewContainer(Graph graph,
java.lang.String label,
java.lang.String image,
Control controlAdapter)
From a prefuse graph, it initializes a TreeView container,
composed of a tree (deduced from graph informations, so the
graph shall not contain cyclic links, in this case you should
use the initializeRadialGraphViewContainer method instead), a search
area and custom navigation (left click on an element will center
the view on it, right click will zoom out to fit the graph into
the window, left press and move will move the graph, etc.).
|
public static PrefuseGraphContainer getInstance()
public javax.swing.JPanel initializeTreeViewContainer(Graph graph, java.lang.String label, java.lang.String image)
graph
- informations to build the treelabel
- the name of the attribute which will be used to render text of nodespublic javax.swing.JPanel initializeTreeViewContainer(Graph graph, java.lang.String label, java.lang.String image, Control controlAdapter)
graph
- informations to build the treelabel
- the name of the attribute which will be used to render text of nodesimage
- the name of the attribute which will be used to render image of nodescontrolAdapter
- to add a specific listener on tree viewpublic javax.swing.JPanel initializeRadialGraphViewContainer(Graph graph, java.lang.String label)
graph
- informations to build the radial graphlabel
- the name of the attribute which will be used to render text of nodespublic javax.swing.JPanel initializeRadialGraphViewContainer(Graph graph, java.lang.String label, Control controlAdapter)
graph
- informations to build the radial graphlabel
- the name of the attribute which will be used to render text of nodescontrolAdapter
- to add a specific listener on radial graph viewpublic javax.swing.JPanel initializeGraphViewContainer(Graph graph, java.lang.String label)
graph
- informations to build the radial graphlabel
- the name of the attribute which will be used to render text of nodespublic javax.swing.JPanel initializeGraphViewContainer(Graph graph, java.lang.String label, Control controlAdapter)
graph
- informations to build the radial graphlabel
- the name of the attribute which will be used to render text of nodescontrolAdapter
- to add a specific listener on radial graph viewpublic void createPartControl(Composite parent, javax.swing.JPanel treeview)
parent
- treeview
-