org.acm.seguin.ide.jbuilder
Class UMLNodeViewerFactory

java.lang.Object
  extended by org.acm.seguin.ide.jbuilder.UMLNodeViewerFactory

public class UMLNodeViewerFactory
extends java.lang.Object

Factory for node viewers

Author:
Chris Seguin

Method Summary
 boolean canDisplayNode(Node node)
          Determines if this factory can view this type of file
 NodeViewer createNodeViewer(Context context)
          Creates the node viewer
 NodeViewer createNodeViewer(PackageSummary summary)
          Creates the node viewer
static UMLNodeViewerFactory getFactory()
          Gets the Factory attribute of the UMLNodeViewerFactory class
 MultipleDirClassDiagramReloader getReloader()
          Gets the class diagram reloader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFactory

public static UMLNodeViewerFactory getFactory()
Gets the Factory attribute of the UMLNodeViewerFactory class

Returns:
The Factory value

getReloader

public MultipleDirClassDiagramReloader getReloader()
Gets the class diagram reloader

Returns:
the reloader

canDisplayNode

public boolean canDisplayNode(Node node)
Determines if this factory can view this type of file

Parameters:
node - the type of file
Returns:
true if it can be displayed

createNodeViewer

public NodeViewer createNodeViewer(Context context)
Creates the node viewer

Parameters:
context - the information about what is to be displayed
Returns:
the viewer

createNodeViewer

public NodeViewer createNodeViewer(PackageSummary summary)
Creates the node viewer

Parameters:
summary - Description of Parameter
Returns:
the viewer