]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/componentTypeEditor/ComponentTypeViewerSection.java
Support for creating shared ontology dump to git
[simantics/platform.git] / bundles / org.simantics.modeling.ui / src / org / simantics / modeling / ui / componentTypeEditor / ComponentTypeViewerSection.java
1 package org.simantics.modeling.ui.componentTypeEditor;
2
3 import org.eclipse.ui.forms.widgets.Section;
4 import org.simantics.db.ReadGraph;
5 import org.simantics.db.exception.DatabaseException;
6 import org.simantics.modeling.utils.ComponentTypePropertiesResult;
7 import org.simantics.modeling.utils.ComponentTypeViewerPropertyInfo;
8
9 public interface ComponentTypeViewerSection {
10
11     void setReadOnly(boolean readOnly);
12     Section getSection();
13     void update(ComponentTypePropertiesResult result);
14     double getPriority();
15     Object getSectionSpecificData(ReadGraph graph, ComponentTypeViewerPropertyInfo info) throws DatabaseException;
16     double getDataPriority();
17
18 }