Hashtable table = getProviderMapping();
Hashtable table = getProviderMapping(getSelectedResources());
	public void execute(IAction action) throws InterruptedException, InvocationTargetException {		// first we ask the user if he really want to add the selected resources if some of them are marked as ignored        if (!promptForAddOfIgnored()) {             return;        }		run(new WorkspaceModifyOperation() {			public void execute(IProgressMonitor monitor) throws InvocationTargetException {				try {                    // associate the resources with their respective RepositoryProvider										Hashtable table = getProviderMapping();					Set keySet = table.keySet();					monitor.beginTask("", keySet.size() * 1000); //$NON-NLS-1$					monitor.setTaskName(Policy.bind("AddAction.adding")); //$NON-NLS-1$					Iterator iterator = keySet.iterator();					while (iterator.hasNext()) {						IProgressMonitor subMonitor = Policy.subMonitorFor(monitor, 1000);						SVNTeamProvider provider = (SVNTeamProvider)iterator.next();						List list = (List)table.get(provider);						IResource[] providerResources = (IResource[])list.toArray(new IResource[list.size()]);						provider.add(providerResources, IResource.DEPTH_INFINITE, subMonitor);					}				} catch (TeamException e) {					throw new InvocationTargetException(e);				} finally {					monitor.done();				}			}		}, true /* cancelable */, PROGRESS_DIALOG);	}