org.ourgrid.peer.ui.gui
Class GridTreeModel

java.lang.Object
  extended by org.ourgrid.peer.ui.gui.GridTreeModel

public class GridTreeModel
extends java.lang.Object

This class generate the Grid Tree, it has a instance of StatusProvider to obtain informations to create tree.
It has too, maps to store all gums that have already been inserted in tree to prevent exhausting algorithms to verify if already had been inserted in the tree.


Method Summary
static GridTreeModel createTree()
          To obtain unique instance of this class
 javax.swing.tree.DefaultTreeModel getTreeModel()
          Returns the tree to adds in panel
 void refreshTree()
          Refresh the tree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createTree

public static GridTreeModel createTree()
To obtain unique instance of this class


getTreeModel

public javax.swing.tree.DefaultTreeModel getTreeModel()
Returns the tree to adds in panel


refreshTree

public void refreshTree()
Refresh the tree