org.jdesktop.wonderland.common.cell.messages
Class CellDuplicateMessage

java.lang.Object
  extended by org.jdesktop.wonderland.common.messages.Message
      extended by org.jdesktop.wonderland.common.cell.messages.CellEditMessage
          extended by org.jdesktop.wonderland.common.cell.messages.CellDuplicateMessage
All Implemented Interfaces:
java.io.Serializable

public class CellDuplicateMessage
extends CellEditMessage

Message sent to duplicate a cell hierarchy.

Author:
Jordan Slott
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jdesktop.wonderland.common.cell.messages.CellEditMessage
CellEditMessage.EditType
 
Constructor Summary
CellDuplicateMessage(CellID cellID, java.lang.String cellName)
          Create a new cell delete message for the given cellID.
 
Method Summary
 CellID getCellID()
          Get the ID of the cell
 java.lang.String getCellName()
          Returns the desired name of the new cell.
 
Methods inherited from class org.jdesktop.wonderland.common.cell.messages.CellEditMessage
getEditType, setEditType
 
Methods inherited from class org.jdesktop.wonderland.common.messages.Message
getMessageID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CellDuplicateMessage

public CellDuplicateMessage(CellID cellID,
                            java.lang.String cellName)
Create a new cell delete message for the given cellID.

Parameters:
cellID - the id of the cell
Method Detail

getCellID

public CellID getCellID()
Get the ID of the cell

Returns:
The unique cell ID

getCellName

public java.lang.String getCellName()
Returns the desired name of the new cell.

Returns:
The name of the new (duplicated) cell


Open Wonderland - http://openwonderland.org