]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.browsing.ui.swt/src/org/simantics/browsing/ui/swt/DefaultMouseListener.java
Sync git svn branch with SVN repository r33144.
[simantics/platform.git] / bundles / org.simantics.browsing.ui.swt / src / org / simantics / browsing / ui / swt / DefaultMouseListener.java
index bc639ab9a4511120f10896b9fc1c026f0b631101..f8299ff60a7be898e0557168ed12ab966ca72cde 100644 (file)
@@ -12,7 +12,7 @@
 package org.simantics.browsing.ui.swt;\r
 \r
 import org.eclipse.jface.viewers.ISelection;\r
-import org.eclipse.swt.widgets.Tree;\r
+import org.eclipse.swt.widgets.Control;\r
 import org.simantics.browsing.ui.GraphExplorer;\r
 import org.simantics.browsing.ui.common.node.IDoubleClickableNode;\r
 import org.simantics.db.common.procedure.adapter.ProcedureAdapter;\r
@@ -45,7 +45,7 @@ public class DefaultMouseListener extends GraphExplorerMouseAdapter {
     }\r
 \r
     @Override\r
-    protected void handleContextDoubleClick(Tree tree, ISelection selection) {\r
+    protected void handleContextDoubleClick(Control tree, ISelection selection) {\r
         // First see if node is an IDoubleClickableNode\r
         IDoubleClickableNode doubleClickable = AdaptionUtils.adaptToSingle(selection, IDoubleClickableNode.class);\r
         if (doubleClickable != null) {\r