IAction action = (IAction) actions.get(id);
if (action == null) {
IWizardDescriptor wizardDesc = WorkbenchPlugin.getDefault()
.getNewWizardRegistry().findWizard(id);
if (wizardDesc != null) {
action = new NewWizardShortcutAction(window, wizardDesc);
actions.put(id, action);
IConfigurationElement element = (IConfigurationElement) wizardDesc
.getAdapter(IConfigurationElement.class);
if (element != null)
window.getExtensionTracker().registerObject(