edu.wpi.ebob.internal.inspect
Class RootNode

java.lang.Object
  extended by edu.wpi.ebob.internal.inspect.AbstractNode
      extended by edu.wpi.ebob.internal.inspect.RootNode
All Implemented Interfaces:
Node

public class RootNode
extends AbstractNode

Represents the very top node in the table tree viewer in PropertiesView.

Author:
Liam Morley

Field Summary
 
Fields inherited from class edu.wpi.ebob.internal.inspect.AbstractNode
children
 
Constructor Summary
RootNode(IClass type, IObject result)
          adds a ReturnValueNode as a child of this node.
RootNode(Instance instance)
          adds an InstanceNodeas a child of this node.
 
Method Summary
 java.lang.String getName()
          does nothing.
 IClass getType()
          returns the Class object associated with this node.
 IObject getValue()
          does nothing.
 
Methods inherited from class edu.wpi.ebob.internal.inspect.AbstractNode
addChild, getChildren, getImage, getParent, getValueAsString, hasChildren, setParent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RootNode

public RootNode(Instance instance)
adds an InstanceNodeas a child of this node.


RootNode

public RootNode(IClass type,
                IObject result)
adds a ReturnValueNode as a child of this node.

Parameters:
result -
Method Detail

getName

public java.lang.String getName()
does nothing.

Returns:
null.
See Also:
Node.getName()

getValue

public IObject getValue()
does nothing.

Returns:
null.
See Also:
Node.getValue()

getType

public IClass getType()
Description copied from interface: Node
returns the Class object associated with this node.

Returns:
null
See Also:
Node.getType()