Examples of CellServerState


Examples of org.jdesktop.wonderland.common.cell.state.CellServerState

     * @inheritDoc()
     */
    public void open() {
        // Fetch the current state from the Cell. If none exist, then just
        // return.
        CellServerState cellServerState = editor.getCellServerState();
        PortalComponentServerState state = (PortalComponentServerState)
                cellServerState.getComponentServerState(
                PortalComponentServerState.class);
        if (state == null) {
            return;
        }

View Full Code Here

Examples of org.jdesktop.wonderland.common.cell.state.CellServerState

        origAudioSourceType = audioSourceType;
        origVolume = volumeConverter.getVolume(volumeSlider.getValue());
       
        // Figure out whether there already exists a server state for the
        // component. If not, then create one.
        CellServerState cellServerState = editor.getCellServerState();
        PortalComponentServerState state =
                (PortalComponentServerState) cellServerState.getComponentServerState(
                PortalComponentServerState.class);
        if (state == null) {
            //state = new PortalComponentServerState();
      return;
        }
View Full Code Here

Examples of org.jdesktop.wonderland.common.cell.state.CellServerState

    /**
     * @inheritDoc()
     */
    public void open() {
        CellServerState cellServerState = editor.getCellServerState();
        PlacemarkComponentServerState state =
                (PlacemarkComponentServerState) cellServerState.getComponentServerState(
                PlacemarkComponentServerState.class);
        if (state != null) {
            origName = state.getPlacemarkName();
            origRotation = state.getPlacemarkRotation();
            origMessage = state.getMessage();
View Full Code Here

Examples of org.jdesktop.wonderland.common.cell.state.CellServerState

     * @inheritDoc()
     */
    public void apply() {
        // Figure out whether there already exists a server state for the
        // component.
        CellServerState cellServerState = editor.getCellServerState();
        PlacemarkComponentServerState state =
                (PlacemarkComponentServerState) cellServerState.getComponentServerState(
                PlacemarkComponentServerState.class);
        if (state == null) {
            state = new PlacemarkComponentServerState();
        }

View Full Code Here

Examples of org.jdesktop.wonderland.common.cell.state.CellServerState

                CellFactorySPI factory = factories.iterator().next();

                // Create the cell, inject the content uri
                Properties props = new Properties();
                props.put("content-uri", uri);
                CellServerState state =
                        factory.getDefaultCellServerState(props);

                // Create the new cell at a distance away from the avatar
                try {
                    // OWL issue #224: api update
View Full Code Here

Examples of org.jdesktop.wonderland.common.cell.state.CellServerState

    /**
     * @inheritDoc()
     */
    public void open() {
        CellServerState state = editor.getCellServerState();
        CellComponentServerState compState = state.getComponentServerState(
                ModelCellComponentServerState.class);
        if (state != null) {
            ModelCellComponentServerState mState =
                    (ModelCellComponentServerState) compState;
            origState = (ModelCellComponentServerState) mState.clone(null);
View Full Code Here

Examples of org.jdesktop.wonderland.common.cell.state.CellServerState

    /**
     * @inheritDoc()
     */
    public void apply() {
        // Fetch the latest from the info text field and set it.
        CellServerState state = editor.getCellServerState();
        ModelCellComponentServerState compState =
                (ModelCellComponentServerState) state.getComponentServerState(
                ModelCellComponentServerState.class);
        compState.setPickingEnable(pickingEnabledCB.isSelected());
        compState.setLightingEnabled(lightingEnabledCB.isSelected());
        compState.setBackfaceCullingEnabled(backfaceCullingEnabledCB.isSelected());
        compState.setGraphOptimizationEnabled(graphOptimizationEnabledCB.isSelected());
View Full Code Here

Examples of org.jdesktop.wonderland.common.cell.state.CellServerState

    /**
     * @{inheritDoc}
     */
    public void open() {
        CellServerState cellServerState = editor.getCellServerState();
        ConeOfSilenceComponentServerState state =
                (ConeOfSilenceComponentServerState) cellServerState.getComponentServerState(
                ConeOfSilenceComponentServerState.class);

        if (state == null) {
            return;
        }
View Full Code Here

Examples of org.jdesktop.wonderland.common.cell.state.CellServerState

     */
    public void apply() {
        // Figure out whether there already exists a server state for the
        // component. If it does not exist, then return, but we could always
        // create a new one really.
        CellServerState cellServerState = editor.getCellServerState();
        ConeOfSilenceComponentServerState state =
                (ConeOfSilenceComponentServerState) cellServerState.getComponentServerState(
                ConeOfSilenceComponentServerState.class);
        if (state == null) {
            return;
        }

View Full Code Here

Examples of org.jdesktop.wonderland.common.cell.state.CellServerState

    /**
     * @{inheritDoc}
     */
    public void open() {
        CellServerState state = editor.getCellServerState();

        AudioTreatmentComponentServerState compState =
                (AudioTreatmentComponentServerState) state.getComponentServerState(
                AudioTreatmentComponentServerState.class);

        if (state == null || compState == null) {
            return;
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.