]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.selectionview/src/org/simantics/selectionview/TabContribution.java
Revert "Default property editing restores assertions"
[simantics/platform.git] / bundles / org.simantics.selectionview / src / org / simantics / selectionview / TabContribution.java
1 package org.simantics.selectionview;
2
3 import java.util.Collection;
4
5 import org.simantics.db.ReadGraph;
6 import org.simantics.db.exception.DatabaseException;
7
8 public interface TabContribution<T> {
9
10         boolean accept(ReadGraph graph, Object input) throws DatabaseException;
11         void contribute(ReadGraph graph, T selection, Collection<ComparableTabContributor> result) throws DatabaseException;    
12         
13 }