]> gerrit.simantics Code Review - simantics/district.git/blobdiff - org.simantics.district.network.ui/src/org/simantics/district/network/ui/techtype/table/TechTypeTable.java
Editor adapter for tech type table entities
[simantics/district.git] / org.simantics.district.network.ui / src / org / simantics / district / network / ui / techtype / table / TechTypeTable.java
index 3b3d4a7014f13cbdc924ef46368f3111db828dfa..296d9af38058e288aec15a5ec853619dacbba72d 100644 (file)
@@ -208,8 +208,17 @@ public class TechTypeTable extends Composite {
                        LOGGER.error("Failed to write tech type table data to model", e);
                }
 
+               setTechTypeData(data);
+       }
+
+       public void setTechTypeData(String data) {
                bodyDataProvider.setData(data);
                table.refresh(true);
        }
 
+       public void setComponentType(Resource componentType) {
+               this.componentType = componentType;
+       }
+
 }
+