|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gmt.modisco.infra.prefuse.PrefuseGraphContainer
public class PrefuseGraphContainer
Method Summary | |
---|---|
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.). |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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 nodes
public 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 view
public 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 nodes
public 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 view
public 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 nodes
public 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 view
public void createPartControl(Composite parent, javax.swing.JPanel treeview)
parent
- treeview
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |