X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.browsing.ui%2Fsrc%2Forg%2Fsimantics%2Fbrowsing%2Fui%2FGraphExplorer.java;h=4136cec0425295cde7010cd50b4bed1ff72fb60a;hb=refs%2Fchanges%2F02%2F2502%2F3;hp=0bc3e02158018f79da1b9c24e2b4229fe1644a56;hpb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.browsing.ui/src/org/simantics/browsing/ui/GraphExplorer.java b/bundles/org.simantics.browsing.ui/src/org/simantics/browsing/ui/GraphExplorer.java index 0bc3e0215..4136cec04 100644 --- a/bundles/org.simantics.browsing.ui/src/org/simantics/browsing/ui/GraphExplorer.java +++ b/bundles/org.simantics.browsing.ui/src/org/simantics/browsing/ui/GraphExplorer.java @@ -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 f); + void setSelectionTransformation(BiFunction f); //ISelectionProvider getSelectionProvider();