* (non-Javadoc)
* @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
*/
public void run(IAction action) {
assert(targetPart != null && selectedItems != null);
AddResourceWizard wiz = new AddResourceWizard();
wiz.init(Activator.getDefault().getWorkbench(), selectedItems);
WizardDialog dialog = new WizardDialog(targetPart.getSite().getShell(), wiz);
dialog.create();
if (dialog.open() == WizardDialog.OK) {
PlatformUtils.refreshRepositoryView();
}