import org.eclipse.jface.viewers.ISelection;
import org.eclipse.swt.widgets.Control;
+import org.simantics.Simantics;
import org.simantics.browsing.ui.GraphExplorer;
import org.simantics.browsing.ui.common.node.IDoubleClickableNode;
import org.simantics.db.common.procedure.adapter.ProcedureAdapter;
-import org.simantics.ui.SimanticsUI;
import org.simantics.ui.workbench.action.ChooseActionRequest;
import org.simantics.utils.ui.AdaptionUtils;
import org.simantics.utils.ui.ErrorLogger;
// Try the doubleClick-extensions
final String perspectiveId = WorkbenchUtils.getCurrentPerspectiveId();
- SimanticsUI.getSession().asyncRequest(new ChooseActionRequest(tree.getShell(), ge, selection, perspectiveId), new ProcedureAdapter<Object>() {
+ Simantics.getSession().asyncRequest(new ChooseActionRequest(tree.getShell(), ge, selection, perspectiveId), new ProcedureAdapter<Object>() {
@Override
public void exception(Throwable t) {
ErrorLogger.defaultLogError(ChooseActionRequest.class.getName() + " failed, see exception for details.", t);