org.jdesktop.wonderland.client.cell.utils.spi
Interface CellCreationParentSPI


public interface CellCreationParentSPI

Interface to a specific implementation of a cell creation parent. A CellCreationParentSPI implementation determines what cell should be used as a newly-created cell's parent cell.

Author:
Jonathan Kaplan

Method Summary
 Cell getCellCreationParent()
          Determine the current parent cell.
 

Method Detail

getCellCreationParent

Cell getCellCreationParent()
Determine the current parent cell. Any time a cell creation is requested, all CellCreationParentSPI implementations will be' queried in registration order. The first non-null return value will be used as the cell's parent. If there are no CellCreationParentSPIs or all of them return null, then the cell will be rooted at the origin.

Returns:
the cell to use as a parent for this cell creation


Open Wonderland - http://openwonderland.org