Examples of create()


Examples of org.eclipse.wst.xml.ui.internal.dialogs.EditAttributeDialog.create()

  public void run() {
    Shell shell = XMLUIPlugin.getInstance().getWorkbench().getActiveWorkbenchWindow().getShell();
    if (validateEdit(manager.getModel(), shell)) {
      manager.beginNodeAction(this);
      EditAttributeDialog dialog = new EditAttributeDialog(shell, ownerElement, attr);
      dialog.create();
      dialog.getShell().setText(title);
      dialog.setBlockOnOpen(true);
      dialog.open();
 
      if (dialog.getReturnCode() == Window.OK) {

Examples of org.eclipse.wst.xml.ui.internal.dialogs.EditDoctypeDialog.create()

    }

    dialog.setComputeSystemId((doctype == null) || (doctype.getSystemId() == null) || (doctype.getSystemId().trim().length() == 0));

    dialog.setErrorChecking(false);// !model.getType().equals(IStructuredModel.HTML));
    dialog.create();
    dialog.getShell().setText(title);
    dialog.setBlockOnOpen(true);
    dialog.setResourceLocation(new Path(resourceLocation));
    dialog.open();

Examples of org.eclipse.wst.xml.ui.internal.dialogs.EditElementDialog.create()

  public void run() {
    Shell shell = XMLUIPlugin.getInstance().getWorkbench().getActiveWorkbenchWindow().getShell();
    if (validateEdit(manager.getModel(), shell)) {
      manager.beginNodeAction(this);
      EditElementDialog dialog = new EditElementDialog(shell, element);
      dialog.create();
      dialog.getShell().setText(title);
      dialog.setBlockOnOpen(true);
      dialog.open();
 
      if (dialog.getReturnCode() == Window.OK) {

Examples of org.eclipse.wst.xml.ui.internal.dialogs.EditNamespaceInfoDialog.create()

    return topComposite;
  }

  protected EditNamespaceInfoDialog invokeDialog(String title, NamespaceInfo info) {
    EditNamespaceInfoDialog dialog = new EditNamespaceInfoDialog(topComposite.getShell(), info);
    dialog.create();
    dialog.getShell().setText(title);
    dialog.setBlockOnOpen(true);
    dialog.setResourceLocation(resourceLocation);
    dialog.open();
    return dialog;

Examples of org.eclipse.wst.xml.ui.internal.dialogs.EditProcessingInstructionDialog.create()

      }
      else {
        dialog = new EditProcessingInstructionDialog(shell, XMLUIMessages._UI_PI_TARGET_VALUE, XMLUIMessages._UI_PI_DATA_VALUE);
      }
 
      dialog.create();
      dialog.getShell().setText(title);
      dialog.setBlockOnOpen(true);
      dialog.open();
 
      if (dialog.getReturnCode() == Window.OK) {

Examples of org.eclipse.wst.xml.ui.internal.dialogs.EditSchemaInfoDialog.create()

          NamespaceInfo oldCopy = new NamespaceInfo(info);
          info.setProperty("oldCopy", oldCopy); //$NON-NLS-1$
        }
 
        dialog.setNamespaceInfoList(namespaceInfoList);
        dialog.create();
        // dialog.getShell().setSize(500, 300);
        dialog.getShell().setText(XMLUIMessages._UI_MENU_EDIT_SCHEMA_INFORMATION_TITLE);
        dialog.setBlockOnOpen(true);
        dialog.open();
 

Examples of org.eclipse.wst.xml.ui.internal.dialogs.SelectFileOrXMLCatalogIdDialog.create()

    }

    protected void performBrowse() {
      String[] extensions = {".xsd"}; //$NON-NLS-1$
      SelectFileOrXMLCatalogIdDialog dialog = new SelectFileOrXMLCatalogIdDialog(getShell(), extensions);
      dialog.create();
      dialog.getShell().setText(XMLUIMessages._UI_LABEL_SELECT_FILE);
      dialog.setBlockOnOpen(true);
      dialog.open();

      if (dialog.getReturnCode() == Window.OK) {

Examples of org.ejbca.core.protocol.IResponseMessage.create()

                        ret.setStatus(ResponseStatus.FAILURE);
                        ret.setFailInfo(FailInfo.BAD_REQUEST);
                        String failText = resp.getFailInfo();
                        ret.setFailText(failText);
                      }
                      ret.create();
                      reply = ret.getResponseMessage();                       
                    } else {
                      log.debug("Request is not yet processed, status: "+msg.getStatus());
                        reply = createPendingResponseMessage(reqmsg, racert, rapriv, cryptProvider).getResponseMessage();
                        log.debug("Responding with pending response, still pending.");                    

Examples of org.ejbca.core.protocol.scep.ScepResponseMessage.create()

      // Which digest algorithm to use to create the response, if applicable
      ret.setPreferredDigestAlg(req.getPreferredDigestAlg());
      // Include the CA cert or not in the response, if applicable for the response type
      ret.setIncludeCACert(req.includeCACert());        
        ret.setStatus(ResponseStatus.PENDING);
        ret.create();
      return ret;
    }
   
    private byte[] createPKCS7(Certificate[] chain, PrivateKey pk, X509Certificate cert) throws InvalidAlgorithmParameterException, NoSuchAlgorithmException, NoSuchProviderException, CertStoreException, CMSException, IOException {
      Collection<Certificate> certList = Arrays.asList(chain);

Examples of org.ejbca.extra.db.MessageHome.create()

    // Setup a database interaction and store the request
    MessageHome messageHome = new MessageHome(Persistence.createEntityManagerFactory("ExternalRAGUIMessageDS"), MessageHome.MESSAGETYPE_EXTRA, true);
    SubMessages submessages = new SubMessages(extRaCertificate, extRaKey, racaserviceCert);
    submessages.addSubMessage(subMessage);
    String messageId = GUIDGenerator.generateGUID(this);
    messageHome.create(messageId, submessages);
    // Get response from CA
    Message response = waitForResponse(messageHome, messageId);
    if (response != null) {
      log.debug("Got processed message");
      SubMessages subMessages = response.getSubMessages(extRaKey, caCerts, null);
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.