org.ceryle.wiki.visualizer.core.graph
Class WikiGraph

java.lang.Object
  extended by de.fzi.wim.guibase.graphview.graph.AbstractGraph
      extended by de.fzi.wim.guibase.graphview.graph.DefaultGraph
          extended by org.ceryle.wiki.visualizer.core.graph.WikiGraph
All Implemented Interfaces:
de.fzi.wim.guibase.graphview.graph.Graph

public class WikiGraph
extends de.fzi.wim.guibase.graphview.graph.DefaultGraph

A WikiGraph modifies and extends the behaviour of DefaultGraph in the following ways: It captures totally isolated "island" WikiPages and attaches them to a special "Unreferenced" DefaultNode.

WikiGraph serves as isolation layer from KAON's graphview code...


Field Summary
 
Fields inherited from class de.fzi.wim.guibase.graphview.graph.DefaultGraph
m_edges, m_nodes
 
Fields inherited from class de.fzi.wim.guibase.graphview.graph.AbstractGraph
m_listeners
 
Constructor Summary
WikiGraph(WikiModel model, WikiVisualizerParameters params)
           
 
Method Summary
 WikiModel getWikiModel()
           
 void update(WikiPage page)
          Update the graph for the given page.
 void updateEdges()
          Update the edges of the graph, mostly this will eliminate edges that are no longer part of the model.
 
Methods inherited from class de.fzi.wim.guibase.graphview.graph.DefaultGraph
addElements, clear, deleteElements, getEdges, getNodes
 
Methods inherited from class de.fzi.wim.guibase.graphview.graph.AbstractGraph
addGraphListener, fireElementsAdded, fireElementsRemoved, fireGraphContentsChanged, notifyLayoutUpdated, notifyUpdated, removeGraphListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WikiGraph

public WikiGraph(WikiModel model,
                 WikiVisualizerParameters params)
Method Detail

update

public void update(WikiPage page)
Update the graph for the given page.

Parameters:
page -

updateEdges

public void updateEdges()
Update the edges of the graph, mostly this will eliminate edges that are no longer part of the model.


getWikiModel

public WikiModel getWikiModel()
Returns:
the WikiModel


The Ceryle Project. Copyright ©2001-2007 Murray Altheim, All Rights Reserved. See LICENSE included with distribution.