1 package org.simantics.selectionview;
3 import java.util.Collection;
5 import org.simantics.db.ReadGraph;
6 import org.simantics.db.exception.DatabaseException;
8 public interface TabContribution<T> {
10 boolean accept(ReadGraph graph, Object input) throws DatabaseException;
11 void contribute(ReadGraph graph, T selection, Collection<ComparableTabContributor> result) throws DatabaseException;