Package org.jdesktop.wonderland.modules.appbase.client

Examples of org.jdesktop.wonderland.modules.appbase.client.App2D


                setSize(newSize);
            }
        });

        // track changes in control state of this window
        App2D app = window.getApp();
        ControlArb arbiter = app.getControlArb();
        if (arbiter != null) {
            arbiter.addListener(this);
        }
    }
View Full Code Here


    @Override
    public boolean hasControl() {
        boolean control = false;

        if (window != null) {
            App2D app = window.getApp();
            if (app != null) {
                ControlArb arbiter = app.getControlArb();
                if (arbiter != null) {
                    control = arbiter.hasControl();
                }
            }
        }
View Full Code Here

           
            // Clicking the close button on a primary window deletes the cell
            if (isPrimary) {

                // Display a confirmation dialog to make sure we really want to delete the cell.
                App2D app = viewWindow.getApp();
                String message = BUNDLE.getString("Quit_Message");
                message = MessageFormat.format(message, app.getName());
                int result = JOptionPane.showConfirmDialog(
                        JmeClientMain.getFrame().getFrame(),
                        message, BUNDLE.getString("Confirm_Quit"),
                        JOptionPane.YES_NO_OPTION);
                if (result == JOptionPane.NO_OPTION) {
View Full Code Here

    /**
     * {@inheritDoc}
     */
    protected AppConventionalCell.StartMasterReturnInfo startMaster(String appName, String command,
                                                                    FirstVisibleInitializer fvi) {
        App2D theApp = null;
        try {
            app = new AppXrwMaster(appName, command, getCellID(), pixelScale,
                                   ProcessReporterFactory.getFactory().create(appName), session);
        } catch (InstantiationException ex) {
            return null;
View Full Code Here

    /**
     * {@inheritDoc}
     */
    protected App2D startSlave(String connectionInfo, FirstVisibleInitializer fvi) {
        App2D theApp = null;
        try {
            theApp = new AppXrwSlave(appName, pixelScale,
                                     ProcessReporterFactory.getFactory().create(appName),
                                     new AppXrwConnectionInfo(connectionInfo, secret), session,
                                     this, fvi);
View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.modules.appbase.client.App2D

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.