Examples of runModal()


Examples of org.antlr.works.debugger.remote.DBRemoteConnectDialog.runModal()

    }

    public void launchRemoteDebugger() {
        StatisticsAW.shared().recordEvent(StatisticsAW.EVENT_REMOTE_DEBUGGER);
        DBRemoteConnectDialog dialog = new DBRemoteConnectDialog(getWindowContainer());
        if(dialog.runModal() == XJDialog.BUTTON_OK) {
            debuggerLaunch(dialog.getAddress(), dialog.getPort(), true);
        }
    }

    public boolean debuggerLaunch(String address, int port, boolean remote) {
View Full Code Here

Examples of org.antlr.works.dialog.DebuggerInputDialog.runModal()

                public void run() {
                    hideProgress();

                    DebuggerInputDialog dialog = new DebuggerInputDialog(debuggerTab, debuggerTab.getContainer());
                    dialog.setInputText(rawInputText);
                    if(dialog.runModal() == XJDialog.BUTTON_OK) {
                        rawInputText = dialog.getRawInputText();
                        inputText = dialog.getInputText();
                        inputFile = dialog.getInputFile();
                        inputMode = dialog.getInputMode();
                        startRule = dialog.getRule();
View Full Code Here

Examples of org.antlr.works.dialog.DialogReports.runModal()

                AWPrefs.setUserRegistered(true);
            }

            DialogReports reports = new DialogReports(null, false);
            reports.setDelegate(this);
            reports.runModal();
        }
    }

    public void reportsCancelled() {
        System.exit(0);
View Full Code Here

Examples of org.antlr.works.dialog.DialogTestTemplate.runModal()

        return (options & DebuggerTab.OPTION_RUN) > 0;
    }

    public void showEditTestRig() {
        DialogTestTemplate dialog = new DialogTestTemplate(debuggerTab, debuggerTab.getContainer());
        dialog.runModal();
    }

    public void prepareAndLaunch(int options) {
        this.options = options;
        cancelled = false;
View Full Code Here

Examples of org.antlr.works.dialog.NewWizardDialog.runModal()

    public boolean displayNewDocumentWizard(XJDocument document) {
        // only display for grammar (*.g) files
        if (document != null && document instanceof GrammarDocument) {
            NewWizardDialog dialog = new NewWizardDialog(document.getWindow().getJavaContainer());

            if(dialog.runModal() == XJDialog.BUTTON_OK) {
                ((GrammarWindow)document.getWindow()).loadText(dialog.getGeneratedText());
                return true;
            }
        }
        return false;
View Full Code Here

Examples of org.antlr.xjlib.appkit.swing.XJColorChooser.runModal()

        public void mousePressed(MouseEvent e) {
            if(e == null) {
                setColor(key, component.getBackground());
            } else {
                XJColorChooser cc = new XJColorChooser(component.getParent(), true, component);
                if(cc.runModal() == XJDialog.BUTTON_OK) {
                    setColor(key, cc.getColor());
                }
            }
        }
    }
View Full Code Here

Examples of org.eclipse.equinox.p2.operations.ProvisioningJob.runModal()

    {
        if (operation == null)
            checkForUpdates(monitor);

        ProvisioningJob job = operation.getProvisioningJob(null);
        IStatus status = job.runModal(monitor);
        if (status.getSeverity() == IStatus.CANCEL)
            throw new OperationCanceledException();
    }

    private <T> T getService(Class<T> type, String name)
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.