uk.ac.ucl.cs.emofocl.jmibrowser
Class JMITreeModel

java.lang.Object
  extended by uk.ac.ucl.cs.emofocl.jmibrowser.DAGTreeModel
      extended by uk.ac.ucl.cs.emofocl.jmibrowser.JMITreeModel
All Implemented Interfaces:
TreeModel, ExtClassListener, ExtObjectListener

public class JMITreeModel
extends DAGTreeModel
implements ExtClassListener, ExtObjectListener

Author:
jwskene

Constructor Summary
JMITreeModel(boolean shownByKind, boolean abstractTypesShown, boolean componentTypesShown)
           
 
Method Summary
protected  void nodeUnreachable(Object node)
          Callback when a node becomes unreachable.
 void objectOfClassCreated(ExtClassEvent event)
          Invoked when an object of this specific class is created.
 void objectOfClassDeleted(ExtClassEvent event)
           
 void objectOfTypeCreated(ExtClassEvent event)
          Invoked when an object of this type or a subtype is created.
 void objectOfTypeDeleted(ExtClassEvent event)
           
protected  void populateNode(DAGNode node)
          This method should be overridden to find children if they are not previously known.
 void propertyValueAdded(ExtObjectEvent eOE)
           
 void propertyValueChanged(ExtObjectEvent eOE)
           
 void propertyValueRemoved(ExtObjectEvent eOE)
           
 
Methods inherited from class uk.ac.ucl.cs.emofocl.jmibrowser.DAGTreeModel
addChild, addLink, addTreeModelListener, fireNodesChanged, fireNodesInserted, fireNodesRemoved, fireStructureChanged, getChild, getChildCount, getChildren, getIndexOfChild, getPaths, getRoot, isLeaf, removeLink, removeNode, removeNode, removeTreeModelListener, setLink, setRoot, valueForPathChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMITreeModel

public JMITreeModel(boolean shownByKind,
                    boolean abstractTypesShown,
                    boolean componentTypesShown)
Method Detail

populateNode

protected void populateNode(DAGNode node)
Description copied from class: DAGTreeModel
This method should be overridden to find children if they are not previously known.

Specified by:
populateNode in class DAGTreeModel

nodeUnreachable

protected void nodeUnreachable(Object node)
Description copied from class: DAGTreeModel
Callback when a node becomes unreachable. Allows listeners to be removed.

Specified by:
nodeUnreachable in class DAGTreeModel

objectOfClassCreated

public void objectOfClassCreated(ExtClassEvent event)
Description copied from interface: ExtClassListener
Invoked when an object of this specific class is created. Never fired by abstract classes.

Specified by:
objectOfClassCreated in interface ExtClassListener

objectOfClassDeleted

public void objectOfClassDeleted(ExtClassEvent event)
Specified by:
objectOfClassDeleted in interface ExtClassListener

objectOfTypeCreated

public void objectOfTypeCreated(ExtClassEvent event)
Description copied from interface: ExtClassListener
Invoked when an object of this type or a subtype is created.

Specified by:
objectOfTypeCreated in interface ExtClassListener

objectOfTypeDeleted

public void objectOfTypeDeleted(ExtClassEvent event)
Specified by:
objectOfTypeDeleted in interface ExtClassListener

propertyValueAdded

public void propertyValueAdded(ExtObjectEvent eOE)
Specified by:
propertyValueAdded in interface ExtObjectListener

propertyValueRemoved

public void propertyValueRemoved(ExtObjectEvent eOE)
Specified by:
propertyValueRemoved in interface ExtObjectListener

propertyValueChanged

public void propertyValueChanged(ExtObjectEvent eOE)
Specified by:
propertyValueChanged in interface ExtObjectListener