org.jdesktop.wonderland.client.cell.utils
Class CellCreationParentRegistry

java.lang.Object
  extended by org.jdesktop.wonderland.client.cell.utils.CellCreationParentRegistry

public class CellCreationParentRegistry
extends java.lang.Object

A registry for CellCreationParentSPI objects.

Author:
Jonathan Kaplan

Method Summary
static Cell getCellCreationParent()
          Get the current creation parent
static void register(CellCreationParentSPI spi)
          Add a cell creation parent
static void unregister(CellCreationParentSPI spi)
          Remove a cell creation parent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

register

public static void register(CellCreationParentSPI spi)
Add a cell creation parent

Parameters:
spi - the spi to add

unregister

public static void unregister(CellCreationParentSPI spi)
Remove a cell creation parent

Parameters:
spi - the spi to remove

getCellCreationParent

public static Cell getCellCreationParent()
Get the current creation parent

Returns:
the cell to use as a parent for cell creation, or null to use the root


Open Wonderland - http://openwonderland.org