]> gerrit.simantics Code Review - simantics/interop.git/blob - org.simantics.interop/src/org/simantics/interop/browsing/INode.java
473af201213066d461a61234f48b169c3734c624
[simantics/interop.git] / org.simantics.interop / src / org / simantics / interop / browsing / INode.java
1 package org.simantics.interop.browsing;\r
2 \r
3 import java.util.Collection;\r
4 \r
5 import org.eclipse.core.runtime.IAdaptable;\r
6 import org.eclipse.jface.resource.ImageDescriptor;\r
7 import org.simantics.db.ReadGraph;\r
8 import org.simantics.db.exception.DatabaseException;\r
9 \r
10 public interface INode extends IAdaptable {\r
11     String getLabel(ReadGraph graph) throws DatabaseException;\r
12     int getCategory(ReadGraph graph) throws DatabaseException;\r
13     Collection<?> getChildren(ReadGraph graph) throws DatabaseException;\r
14     boolean hasChildren(ReadGraph graph) throws DatabaseException;\r
15     ImageDescriptor getImage(ReadGraph graph) throws DatabaseException;\r
16 \r
17 \r
18 }\r