super(WorkbenchMessages.ImportResourcesAction_text);
if (window == null) {
throw new IllegalArgumentException();
}
this.workbenchWindow = window;
tracker = new PerspectiveTracker(window, this);
setToolTipText(WorkbenchMessages.ImportResourcesAction_toolTip);
setId("import"); //$NON-NLS-1$
window.getWorkbench().getHelpSystem().setHelp(this,
IWorkbenchHelpContextIds.IMPORT_ACTION);
// self-register selection listener (new for 3.0)