Examples of open()


Examples of com.subgraph.vega.ui.macros.macrodialog.MacroDialog.open()

public class CreateMacro extends AbstractHandler {

  @Override
  public Object execute(ExecutionEvent event) throws ExecutionException {
    MacroDialog dialog = MacroDialog.createDialog(HandlerUtil.getActiveWorkbenchWindow(event).getShell());
    dialog.open();
    return null;
  }

}
View Full Code Here

Examples of com.subgraph.vega.ui.scanner.dialogs.ScanConfigDialog.open()

  @Override
  public Object execute(ExecutionEvent event) throws ExecutionException {
    ScanConfigDialog dialog = new ScanConfigDialog(HandlerUtil.getActiveWorkbenchWindow(event).getShell());
    dialog.create();
    dialog.open();
    return null;
  }


}
View Full Code Here

Examples of com.subgraph.vega.ui.scanner.scope.EditScopeDialog.open()

  }
 
  private void handleEditScopes() {
    final EditScopeDialog dialog = new EditScopeDialog(getShell());
    dialog.create();
    dialog.open();
    refreshScopeCombo();
  }
 
  private void refreshScopeCombo() {
    final ITargetScopeManager scopeManager = workspace.getTargetScopeManager();
View Full Code Here

Examples of com.subgraph.vega.ui.scanner.wizards.NewWizardDialog.open()

    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 com.subgraph.vega.ui.tags.tageditor.TagEditorDialog.open()

    return new SelectionAdapter() {
      @Override
      public void widgetSelected(SelectionEvent e) {
        TagModifier tag = new TagModifier(tagModel.createTag());
        TagEditorDialog dialog = TagEditorDialog.createDialog(getShell(), tag, TaggableEditorDialog.this);
        if (dialog.open() == IDialogConstants.OK_ID) {
          tagList.add(tag);
          tagTableViewer.refresh();
          tagTableViewer.setSelection(new StructuredSelection(tag));
          setTagSelected(tag);
        }
View Full Code Here

Examples of com.sun.enterprise.connectors.deployment.util.ConnectorArchivist.open()

            //fileArchive.entries("META-INF/ra.xml");
            //TODO V3 need to check whether ra.xml is present, if so, check the version. process annotations
            //only if its 1.6 or above ?
            connectorArchivist.setAnnotationProcessingRequested(true);

            return connectorArchivist.open(fileArchive);
        } catch (IOException ex) {
            ConnectorRuntimeException cre = new ConnectorRuntimeException(
                    "Failed to read the connector deployment descriptors");
            cre.initCause(ex);
            _logger.log(Level.SEVERE, "rardeployment.connector_descriptor_read_error", moduleDir);
View Full Code Here

Examples of com.sun.enterprise.deploy.shared.FileArchive.open()

            }

            // Collect the names of all entries in or below the
            // dedicated wsdl directory.
            FileArchive archive = new FileArchive();
            archive.open(sourceDir.toURI());


            Enumeration entries = archive.entries(bundle.getWsdlDir());

View Full Code Here

Examples of com.sun.enterprise.deployment.archivist.AppClientArchivist.open()

                    } else {
                        // for client jar case, do not process annotations.
                        // use AppClientArchivist.open(String) instead of
                        // AppClientArchivist.open(AbstractArchive) since the
                        // open(String) method calls validate.
                        appDesc = (ApplicationClientDescriptor) arch.open(appClientFile.getAbsolutePath());
                    }

                    if (className!=null) {
                        // post masssaging
                        AbstractArchive archive;
View Full Code Here

Examples of com.sun.enterprise.deployment.archivist.ApplicationArchivist.open()

                    arch.setAnnotationProcessingRequested(true);

                    // Set class loader here before opening archive
                    // to enable validation.
                    arch.setClassLoader(jcl);
                    app = (Application) arch.open(appClientFile);

                } catch (Throwable t) {
                   _logger.log(Level.WARNING, "acc.failed_load_client_desc",
                        clientJar);
                    throw t;
View Full Code Here

Examples of com.sun.enterprise.deployment.archivist.Archivist.open()

                ReadableArchive embeddedArchive = archive.getSubArchive(lib);
                try {
                    if (embeddedArchive != null &&
                            wfArchivist.hasStandardDeploymentDescriptor(embeddedArchive)) {
                        try {
                            wfDesc = (WebFragmentDescriptor)wfArchivist.open(embeddedArchive);
                        } catch(SAXParseException ex) {
                            IOException ioex = new IOException();
                            ioex.initCause(ex);
                            throw ioex;
                        }
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.