X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.modeling.ui%2Fsrc%2Forg%2Fsimantics%2Fmodeling%2Fui%2FcomponentTypeEditor%2FComponentTypeViewerSection.java;fp=bundles%2Forg.simantics.modeling.ui%2Fsrc%2Forg%2Fsimantics%2Fmodeling%2Fui%2FcomponentTypeEditor%2FComponentTypeViewerSection.java;h=ede3f1d8333e24c351550e253d58001cdead6d98;hb=969bd23cab98a79ca9101af33334000879fb60c5;hp=0000000000000000000000000000000000000000;hpb=866dba5cd5a3929bbeae85991796acb212338a08;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/componentTypeEditor/ComponentTypeViewerSection.java b/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/componentTypeEditor/ComponentTypeViewerSection.java new file mode 100644 index 000000000..ede3f1d83 --- /dev/null +++ b/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/componentTypeEditor/ComponentTypeViewerSection.java @@ -0,0 +1,16 @@ +package org.simantics.modeling.ui.componentTypeEditor; + +import org.eclipse.ui.forms.widgets.Section; +import org.simantics.db.ReadGraph; +import org.simantics.db.exception.DatabaseException; + +public interface ComponentTypeViewerSection { + + void setReadOnly(boolean readOnly); + Section getSection(); + void update(ComponentTypePropertiesResult result); + double getPriority(); + Object getSectionSpecificData(ReadGraph graph, ComponentTypeViewerPropertyInfo info) throws DatabaseException; + double getDataPriority(); + +}