use of org.eclipse.egit.ui.internal.push.PushToGerritWizard in project egit by eclipse.
the class PushHeadToGerritCommand method execute.
@Override
public Object execute(ExecutionEvent event) throws ExecutionException {
Repository repository = getRepository(event);
if (repository == null)
return null;
PushToGerritWizard wiz = new PushToGerritWizard(repository);
WizardDialog dlg = new WizardDialog(HandlerUtil.getActiveShellChecked(event), wiz);
dlg.setHelpAvailable(false);
dlg.open();
return null;
}
Aggregations