org.acm.seguin.ide.jbuilder
Class RefactoryNodeViewerFactory

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

public class RefactoryNodeViewerFactory
extends java.lang.Object

Factory for node viewers for Refactoring editor

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
static RefactoryNodeViewerFactory getFactory()
          Gets the Factory attribute of the RefactoryNodeViewerFactory class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFactory

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

Returns:
The Factory value

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