index = Integer.parseInt(e.data.toString());
} catch (NumberFormatException e1) {
logger.error("An error occured while opening the selected resource in the web", e1); //$NON-NLS-1$
}
ShowInBrowserAction action =
(ShowInBrowserAction) ContainerDelegate.getInstance().getBean("showInBrowserAction"); //$NON-NLS-1$
StructuredSelection structuredSelection = new StructuredSelection(resources.get(index));
action.selectionChanged(action, structuredSelection);
action.execute(action);
} catch (ForceProjectException e1) {
logger.warn("An error occured while opening the selected resource in the web", e1); //$NON-NLS-1$
}
}