drools-eclipse/org.guvnor.tools/src/org/guvnor/tools/actions/AddAction.java
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();
        }
    }
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();
        }
    }
/*
(non-Javadoc)
@see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)