public CloneCommand(String presetURI) {
this.presetURI = presetURI;
}
public Object execute(ExecutionEvent event) throws ExecutionException {
GitCloneWizard wizard;
if (presetURI == null)
wizard = new GitCloneWizard();
else
wizard = new GitCloneWizard(presetURI);
wizard.setShowProjectImport(true);
WizardDialog dlg = new WizardDialog(getShell(event), wizard);
dlg.setHelpAvailable(true);
dlg.open();
return null;
}