- SimanticsUI.getSession().asyncRequest(new ChooseActionRequest(shell, control, component, perspectiveId));
+ Simantics.getSession().asyncRequest(
+ new ChooseActionRequest(shell, control, input, perspectiveId),
+ new ProcedureAdapter<Object>() {
+ @Override
+ public void exception(Throwable t) {
+ Activator.getDefault().getLog().log(
+ new Status(IStatus.ERROR, Activator.PLUGIN_ID,
+ "Failed to choose action for input " + input + ", see exception for details.", t));
+ }
+ });