Package org.jdesktop.wonderland.common.cell

Examples of org.jdesktop.wonderland.common.cell.CellID


                        LoginManager.getPrimary().getPrimarySession();
                CellEditChannelConnection connection =
                        (CellEditChannelConnection) session.getConnection(
                        CellEditConnectionType.CLIENT_TYPE);
                for (DeployedModel info : deploymentInfo) {
                    CellID parentCellID = null;
                    CellCreateMessage msg = new CellCreateMessage(
                            parentCellID, info.getCellServerState());
                    connection.send(msg);
                }
View Full Code Here


    }

    private void handleTransformRequest(WonderlandClientSender sender,
      WonderlandClientID clientID, CellTransformRequestMessage message)
    {
        CellID cellID = ((CellTransformRequestMessage) message).getRequestCellID();
        CellMO cell = CellManagerMO.getCell(cellID);
        if (cell == null || !cell.isLive()) {
            sender.send(clientID, new ErrorMessage(message.getMessageID(),
                        "Cell " + cellID + " not found"));
        } else {
View Full Code Here

        bystandersDialog.setVisible(true);
        return;
    }

    CellID cellID = orbCell.getCellID();
    if (ATTACH.equals(text)) {
        attachButton.setText(DETACH);
        channelComp.send(new OrbAttachMessage(cellID, avatarCellID, true));
    } else {
        attachButton.setText(ATTACH);
View Full Code Here

private void okButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_okButtonActionPerformed
    setVisible(false);
}//GEN-LAST:event_okButtonActionPerformed

private void muteButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_muteButtonActionPerformed
    CellID cellID = orbCell.getCellID();
    if (MUTE.equals(muteButton.getText())) {
        muteButton.setText(UNMUTE);
        channelComp.send(new OrbMuteCallMessage(cellID, true));
    } else {
        muteButton.setText(MUTE);
View Full Code Here

     */
    public static CellID createCell(CellServerState state)
            throws CellCreationException
    {
        // Find the parent cell for this creation (may be null)
        CellID parentID = null;
        Cell parent = CellCreationParentRegistry.getCellCreationParent();
        if (parent != null) {
            parentID = parent.getCellID();
            logger.info("Using parent with Cell ID " + parentID.toString());
        }
       
        return createCell(state, parentID)
    }
View Full Code Here

    private VolumeControlJFrame volumeControlJFrame;

    public void menuItemSelected(ContextMenuItemEvent event) {
        String label = event.getContextMenuItem().getLabel();
        CellID cellID = cell.getCellID();
        if (PLAY.equals(label) || RESUME.equals(label)) {

            addMenuItems(new String[] {STOP, PAUSE, VOLUME});
            channelComp.send(new AudioTreatmentRequestMessage(cellID, false, false));
            return;
View Full Code Here

        // But for now we need to set the connection info to null.
        ProviderCellsLaunched cellList = getProviderCellsLaunched();
        Iterator<CellID> it = cellList.getIterator();
        while (it.hasNext()) {
           
            CellID cellID = it.next();
            CellMO cell = CellManagerMO.getCell(cellID);
            if (cell == null) {
                logger.warning("Cannot find cell " + cellID);
                continue;
            }
View Full Code Here

                             String command)
        throws InstantiationException
    {
        logger.info("***** appLaunch, command = " + command);

        CellID cellID = cell.getCellID();

        // Construct the launch request
        // TODO: someday: allow multiple apps to be launched per cell.
        LaunchRequest launchReq = new LaunchRequest(cellID, executionCapability, appName, command);

View Full Code Here

        cell = localAvatar.getViewCell();
        if (cell == null) {
            logger.severe("TODO - Implement AudioManager.viewConfigured for the case when the primary view cell disconnects");
        } else {
            //System.out.println("LOCAL AVATAR BOUNDS:  " + cell.getLocalBounds());
            final CellID cellID = cell.getCellID();

            /*
             * We require the PresenceManager so by the time we get here,
             * our presenceInfo has to be available.
             */
 
View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.common.cell.CellID

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.