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;
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;
/**
* 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)
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$
};
*/
void setSelectionFilter(SelectionFilter f);
- void setSelectionTransformation(BinaryFunction<Object[], GraphExplorer, Object[]> f);
+ void setSelectionTransformation(BiFunction<GraphExplorer, Object[], Object[]> f);
//ISelectionProvider getSelectionProvider();