import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
public final static String ID = DistPlugin.ID + ".repoSyncCommand";
public final static String PARAM_TARGET_REPO = "targetRepoPath";
public final static String ID = DistPlugin.ID + ".repoSyncCommand";
public final static String PARAM_TARGET_REPO = "targetRepoPath";
- public final static String DEFAULT_LABEL = "Fetch ...";
- public final static String DEFAULT_ICON_PATH = "icons/addItem.gif";
+ public final static String DEFAULT_LABEL = "Fetch...";
+ public final static String DEFAULT_ICON_PATH = "icons/fetchRepo.png";
Node targetRepoNode = currSession.getNode(targetRepoPath);
FetchWizard wizard = new FetchWizard(keyring, repositoryFactory,
nodeRepository);
wizard.setTargetRepoNode(targetRepoNode);
Node targetRepoNode = currSession.getNode(targetRepoPath);
FetchWizard wizard = new FetchWizard(keyring, repositoryFactory,
nodeRepository);
wizard.setTargetRepoNode(targetRepoNode);
WizardDialog dialog = new WizardDialog(
HandlerUtil.getActiveShell(event), wizard);
WizardDialog dialog = new WizardDialog(
HandlerUtil.getActiveShell(event), wizard);
return null;
} catch (RepositoryException e) {
throw new SlcException("Unexpected error while fetching data", e);
return null;
} catch (RepositoryException e) {
throw new SlcException("Unexpected error while fetching data", e);