]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.browsing.ui.swt/src/org/simantics/browsing/ui/swt/DoubleClickableNodeMouseListener.java
Sync git svn branch with SVN repository r33144.
[simantics/platform.git] / bundles / org.simantics.browsing.ui.swt / src / org / simantics / browsing / ui / swt / DoubleClickableNodeMouseListener.java
index 1ba37c11d3361109eaf8375a9fa25f5ebfabd3d1..d60506974e08b6eaf077f6f0a911e3f59c5333c1 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.utils.ui.AdaptionUtils;\r
@@ -29,7 +29,7 @@ public class DoubleClickableNodeMouseListener extends GraphExplorerMouseAdapter
     }\r
 \r
     @Override\r
-    protected void handleContextDoubleClick(Tree tree, ISelection context) {\r
+    protected void handleContextDoubleClick(Control tree, ISelection context) {\r
         IDoubleClickableNode doubleClickable = AdaptionUtils.adaptToSingle(context, IDoubleClickableNode.class);\r
         if (doubleClickable != null) {\r
             doubleClickable.handleDoubleClick();\r