org.firebirdsql.squirrel.exp
Class DatabaseExpander

java.lang.Object
  extended by org.firebirdsql.squirrel.exp.DatabaseExpander
All Implemented Interfaces:
INodeExpander

public class DatabaseExpander
extends Object
implements INodeExpander


Constructor Summary
DatabaseExpander(FirebirdPlugin plugin)
           
 
Method Summary
 List<ObjectTreeNode> createChildren(ISession session, ObjectTreeNode parentNode)
          Create the child nodes for the passed parent node and return them.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseExpander

public DatabaseExpander(FirebirdPlugin plugin)
Method Detail

createChildren

public List<ObjectTreeNode> createChildren(ISession session,
                                           ObjectTreeNode parentNode)
Create the child nodes for the passed parent node and return them. Note that this method should not actually add the child nodes to the parent node as this is taken care of in the caller.

Specified by:
createChildren in interface INodeExpander
Parameters:
session - Current session.
node - Node to be expanded.
Returns:
A list of ObjectTreeNode objects representing the child nodes for the passed node.


Copyright © 2001-2010. All Rights Reserved.