}
break;
case REPARENT_CELL:
{
CellReparentMessage msg = (CellReparentMessage) editMessage;
CellMO childMO = CellManagerMO.getCell(msg.getCellID());
if (childMO==null)
break;
Resource child = crm.getCellResource(msg.getCellID());
Resource oldParent = null;
Resource newParent = null;
CellMO oldParentMO = childMO.getParent();
if (oldParentMO!=null)
oldParent = crm.getCellResource(oldParentMO.getCellID());
CellMO newParentMO = CellManagerMO.getCell(msg.getParentCellID());
if (newParentMO!=null)
newParent = crm.getCellResource(msg.getParentCellID());
if (child!=null || oldParent!=null || newParent!=null)
out = new ReparentCellResource(msg.getCellID().toString(), child, oldParent, newParent);
}
break;
}