Examples of create()


Examples of org.eclipse.jface.wizard.WizardDialog.create()

          return;
        }

        org.eclipse.update.internal.ui.wizards.InstallWizard2 wizard = new org.eclipse.update.internal.ui.wizards.InstallWizard2(fJob.getSearchRequest(), fJob.getUpdates(), fJob.isUpdate());
        WizardDialog dialog = new org.eclipse.update.internal.ui.wizards.ResizableInstallWizardDialog(getValidShell(), wizard, Messages.FindExtensionsAction_RSSOWL_ADDONS);
        dialog.create();

        /* A little hack to improve the UI of the Add-on Wizard */
        if (dialog.getCurrentPage() != null) {
          Control control = dialog.getCurrentPage().getControl();
          if (control != null && !control.isDisposed() && control instanceof Composite) {

Examples of org.eclipse.jgit.internal.storage.file.FileRepository.create()

   */
  private FileRepository createRepository(boolean bare) throws IOException {
    File gitdir = createUniqueTestGitDir(bare);
    FileRepository db = new FileRepository(gitdir);
    assertFalse(gitdir.exists());
    db.create();
    toClose.add(db);
    return db;
  }

  /**
 

Examples of org.eclipse.jgit.junit.TestRepository.CommitBuilder.create()

    Merger merger = MergeStrategy.SIMPLE_TWO_WAY_IN_CORE.newMerger(repo);
    merger.merge(b1Tip, b2Tip);
    CommitBuilder cb = tr.commit();
    cb.parent(b1Tip).parent(b2Tip);
    cb.setTopLevelTree(merger.getResultTreeId());
    RevCommit mergeCommit = cb.create();
    RefUpdate u = repo.updateRef("refs/heads/b1");
    u.setNewObjectId(mergeCommit);
    u.update();

    RefUpdate update = repo.updateRef("refs/heads/b2");

Examples of org.eclipse.jgit.lib.Repository.create()

          d = new File(d, Constants.DOT_GIT);
        builder.setGitDir(d);
      }
      Repository repository = builder.build();
      if (!repository.getObjectDatabase().exists())
        repository.create(bare);
      return new Git(repository);
    } catch (IOException e) {
      throw new JGitInternalException(e.getMessage(), e);
    }
  }

Examples of org.eclipse.jgit.pgm.CommandRef.create()

    // Force option parsing to stop. Everything after us should
    // be arguments known only to this command and must not be
    // recognized by the current parser.
    //
    owner.stopOptionParsing();
    setter.addValue(cr.create());
    return 1;
  }

  @Override
  public String getDefaultMetaVariable() {

Examples of org.eclipse.jgit.storage.dht.DhtRepository.create()

        .setURI(uri) //
        .setDatabase(db) //
        .setMustExist(false);

    DhtRepository repository = builder.build();
    repository.create(true);

    System.out.println("Created " + repository.getRepositoryKey().asString() + ":");
    System.out.println("  cluster:    " + builder.getClusterName());
    System.out.println("  keyspace:   " + builder.getKeyspaceName());
    System.out.println("  repository: " + builder.getRepositoryName());

Examples of org.eclipse.jgit.storage.file.FileRepository.create()

    String gitdirName = "test" + uniqueId + (bare ? "" : "/") + Constants.DOT_GIT;
    File gitdir = new File(trash, gitdirName).getCanonicalFile();
    FileRepository db = new FileRepository(gitdir);

    assertFalse(gitdir.exists());
    db.create();
    toClose.add(db);
    return db;
  }

  /**
 

Examples of org.eclipse.jst.jsf.common.ui.internal.dialogs.CommonWizardDialog.create()

        }
        CommonWizardDialog wizardDialog = new CommonWizardDialog(
            getShell(), wizard);
        wizardDialog.setTitle(Messages
            .getString("LocalDropCommand.DropHandler")); //$NON-NLS-1$
        wizardDialog.create();
        wizardDialog.open();
      } else {
        if (_widget != null) {
          handler.doUpdateWidget(_localObject, _widget, _viewer);
        } else {

Examples of org.eclipse.jst.jsf.context.symbol.source.AbstractContextSymbolFactory.create()

                if (factory.supports(context))
                {
                    final List problems = new ArrayList();
                    final ISymbol symbol =
                        factory.create(symbolName,
                                      ISymbolConstants.SYMBOL_SCOPE_REQUEST, //TODO:
                                      context,
                                      problems,
                                      // TODO: add meta-data for signature
                                      new AdditionalContextSymbolInfo(aggregator.getStaticType(), aggregator.getValueExpressionAttr()));

Examples of org.eclipse.jst.jsf.core.jsflibraryregistry.PluginProvidedJSFLibraryCreationHelper.create()

      IExtension[] extensions = point.getExtensions();
      for (int i=0;i < extensions.length;i++){
        IExtension ext = extensions[i];
        for (int j=0;j < ext.getConfigurationElements().length;j++){
          PluginProvidedJSFLibraryCreationHelper newLibCreator = new PluginProvidedJSFLibraryCreationHelper(ext.getConfigurationElements()[j]);           
          JSFLibrary newLib = newLibCreator.create();
         
          /**
           * Additional check on if a plug-in contributes jsflibraries is an expanded folder.
           * Fix related to bug 144954. 
           *
 
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.