use of org.eclipse.egit.ui.internal.gerrit.ConfigureGerritWizard in project egit by eclipse.
the class ConfigureGerritRemoteCommand method execute.
@Override
public Object execute(ExecutionEvent event) throws ExecutionException {
final RemoteNode node = getSelectedNodes(event).get(0);
Repository repository = node.getRepository();
final String remoteName = node.getObject();
Shell shell = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell();
ConfigureGerritWizard configureGerritWizard = new ConfigureGerritWizard(repository, remoteName);
WizardDialog dlg = new WizardDialog(shell, configureGerritWizard);
dlg.setHelpAvailable(false);
dlg.open();
return null;
}
Aggregations