- try {
- ISelection input = new StructuredSelection(resource);
- String perspectiveId = WorkbenchUtils.getCurrentPerspectiveId();
- // Try the doubleClick-extensions
- Simantics.getSession().asyncRequest(new ChooseActionRequest(shell, input, perspectiveId, false, true));
- } catch (NumberFormatException e) {
- return;
- }