]> gerrit.simantics Code Review - simantics/district.git/blobdiff - org.simantics.district.network.ui/src/org/simantics/district/network/ui/techtype/table/TechTypeTable.java
Updating of component properties when type code changes
[simantics/district.git] / org.simantics.district.network.ui / src / org / simantics / district / network / ui / techtype / table / TechTypeTable.java
index f3ba54d9f790491dbe866705e4ff4a9dfe18c4aa..0c44bff0bdae48469b0edcc2d37b3995d26912d8 100644 (file)
@@ -44,7 +44,7 @@ import org.eclipse.swt.widgets.Text;
 import org.simantics.Simantics;
 import org.simantics.db.Resource;
 import org.simantics.db.exception.DatabaseException;
-import org.simantics.district.network.techtype.requests.WriteTechTypeTableRequest;
+import org.simantics.district.network.techtype.requests.WriteTechTypeTable;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -203,7 +203,7 @@ public class TechTypeTable extends Composite {
                }
 
                try {
-                       Simantics.getSession().syncRequest(new WriteTechTypeTableRequest(componentType, data));
+                       Simantics.getSession().syncRequest(new WriteTechTypeTable(componentType, data));
                } catch (DatabaseException e) {
                        LOGGER.error("Failed to write tech type table data to model", e);
                }