]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.browsing.ui/src/org/simantics/browsing/ui/GraphExplorer.java
Externalize strings in org.simantics.db.procore.ui
[simantics/platform.git] / bundles / org.simantics.browsing.ui / src / org / simantics / browsing / ui / GraphExplorer.java
index 0bc3e02158018f79da1b9c24e2b4229fe1644a56..4136cec0425295cde7010cd50b4bed1ff72fb60a 100644 (file)
@@ -14,6 +14,7 @@ package org.simantics.browsing.ui;
 import java.util.Collection;
 import java.util.Map;
 import java.util.Set;
+import java.util.function.BiFunction;
 import java.util.function.Consumer;
 
 import org.eclipse.core.runtime.IAdaptable;
@@ -22,7 +23,6 @@ import org.simantics.browsing.ui.NodeContext.PrimitiveQueryKey;
 import org.simantics.browsing.ui.NodeContext.QueryKey;
 import org.simantics.browsing.ui.content.Labeler;
 import org.simantics.browsing.ui.content.Labeler.Modifier;
-import org.simantics.utils.datastructures.BinaryFunction;
 import org.simantics.utils.threads.IThreadWorkQueue;
 
 /**
@@ -34,7 +34,7 @@ public interface GraphExplorer extends IAdaptable {
      * A key that can be used to associate GraphExplorer instances with other
      * objects in, e.g. SWT widgets using Widget.setData(String, Object).
      */
-    public static final String KEY_GRAPH_EXPLORER = "GraphExplorer";
+    public static final String KEY_GRAPH_EXPLORER = "GraphExplorer"; //$NON-NLS-1$
 
     /**
      * @see #setAutoExpandLevel(int)
@@ -44,7 +44,7 @@ public interface GraphExplorer extends IAdaptable {
     public static final Object EMPTY_INPUT = new Object() {
 
         @Override
-        public String toString() { return "GraphExplorer.EMPTY_INPUT"; };
+        public String toString() { return "GraphExplorer.EMPTY_INPUT"; }; //$NON-NLS-1$
 
     };
 
@@ -205,7 +205,7 @@ public interface GraphExplorer extends IAdaptable {
      */
     void setSelectionFilter(SelectionFilter f);
 
-    void setSelectionTransformation(BinaryFunction<Object[], GraphExplorer, Object[]> f);
+    void setSelectionTransformation(BiFunction<GraphExplorer, Object[], Object[]> f);
 
     //ISelectionProvider getSelectionProvider();