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


public interface CellSelectionSPI

An interface that determine which Cell to use for creation. This is used if more than one Cell exists to support a given extension.

Author:
Jordan Slott

Method Summary
 CellFactorySPI getCellSelection(java.lang.String extension)
          Returns the Cell factory that creates the Cell based upon the given extension.
 

Method Detail

getCellSelection

CellFactorySPI getCellSelection(java.lang.String extension)
                                throws CellCreationException
Returns the Cell factory that creates the Cell based upon the given extension. It is up to this method to determine the proper Cell factory if the system supports more than one Cell per file extension type. Returns null if the action was Canceled and throws CellCreationException if not Cell type supports the extension.

Parameters:
extension - The file extension
Returns:
A CellFactorySPI to use that supports the given extension
Throws:
CellCreationException


Open Wonderland - http://openwonderland.org