IWorkbenchWindowActionDelegate {
private IWorkbenchWindow workbenchWindow;
public void run(IAction action) {
BeanListSelectionDialog dialog = new BeanListSelectionDialog(
workbenchWindow.getShell());
if (Window.OK == dialog.open()) {
IBean bean = (IBean) dialog.getFirstResult();
BeansUIUtils.openInEditor(bean);
}
}