Examples of NewWizardDialog


Examples of com.subgraph.vega.ui.scanner.wizards.NewWizardDialog

    final IScanner scanner = Activator.getDefault().getScanner();
    final IScan scan = scanner.createScan();
    final Collection<IIdentity> identities = Activator.getDefault().getModel().getCurrentWorkspace().getIdentityModel().getAllIdentities();

    NewScanWizard wizard = new NewScanWizard(target, identities, scan.getModuleList(), scan.getConfig().getDefaultExcludedParameterNames());
    WizardDialog dialog = new NewWizardDialog(shell, wizard);
    if(dialog.open() == IDialogConstants.OK_ID) {
      return maybeLaunchScanFromWizard(shell, wizard, scanner, scan);
    } else {
      // REVISIT: delete the scan so the ID can be used in the future?
      scan.stopScan(); // stop to unlock workspace
    }
View Full Code Here

Examples of org.antlr.works.dialog.NewWizardDialog

    }

    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
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.