]> gerrit.simantics Code Review - simantics/district.git/blobdiff - org.simantics.district.network.ui/src/org/simantics/district/network/ui/techtype/adapters/TechTypeEditorAdapter.java
Add enable/disable feature for tech type tables
[simantics/district.git] / org.simantics.district.network.ui / src / org / simantics / district / network / ui / techtype / adapters / TechTypeEditorAdapter.java
index 5ebe6ed479060d086b9c30783c0b3ef71ef17e53..6ab176ede84979537a7b1dc303cbcfcf8984afd7 100644 (file)
@@ -64,11 +64,9 @@ public class TechTypeEditorAdapter extends AbstractResourceEditorAdapter impleme
                                public void run(ReadGraph graph) throws DatabaseException {
                                        DistrictNetworkResource DN = DistrictNetworkResource.getInstance(graph);
                                        Resource componentType = graph.getPossibleObject(table, DN.TechType_TechTypeTable_HasComponentType);
-                                       String data = graph.getPossibleRelatedValue2(table, DN.TechType_TechTypeTable_HasData);
 
                                        TechTypeTableView.table.getDisplay().asyncExec(() -> {
                                                TechTypeTableView.table.setComponentType(componentType);
-                                               TechTypeTableView.table.setTechTypeData(data);
                                        });
                                }
                        });