Package org.eclipse.egit.ui.internal.repository

Examples of org.eclipse.egit.ui.internal.repository.NewRepositoryWizard


    Button createRepoWizard = new Button(externalComposite, SWT.PUSH);
    createRepoWizard.setText(UIText.ExistingOrNewPage_CreateRepositoryButton);
    createRepoWizard.addSelectionListener(new SelectionAdapter() {
      @Override
      public void widgetSelected(SelectionEvent e) {
        NewRepositoryWizard wiz = new NewRepositoryWizard(true);
        if (new WizardDialog(getShell(), wiz).open() == Window.OK) {
          v.refresh();
          selectedRepository = wiz.getCreatedRepository();
          v.setSelection(new StructuredSelection(selectedRepository));
          updateControls();
        }
      }
    });
View Full Code Here


*/
public class CreateRepositoryCommand extends
    RepositoriesViewCommandHandler<RepositoryTreeNode> {
  public Object execute(ExecutionEvent event) throws ExecutionException {
    WizardDialog dlg = new WizardDialog(getShell(event),
        new NewRepositoryWizard(false));
    dlg.setHelpAvailable(false);
    dlg.open();
    return null;
  }
View Full Code Here

TOP

Related Classes of org.eclipse.egit.ui.internal.repository.NewRepositoryWizard

Copyright © 2018 www.massapicom. 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.