]> gerrit.simantics Code Review - simantics/sysdyn.git/blob
a671b6baf6bc84b3d0924fd549c61022e342e3d1
[simantics/sysdyn.git] /
1 package org.simantics.sysdyn.ui.adapters;\r
2 \r
3 import org.simantics.db.Resource;\r
4 import org.simantics.db.WriteGraph;\r
5 import org.simantics.db.exception.DatabaseException;\r
6 import org.simantics.diagram.synchronization.graph.ElementWriter;\r
7 import org.simantics.g2d.element.IElement;\r
8 \r
9 public class VariableElementWriter implements ElementWriter {\r
10 \r
11         @Override\r
12         public void addToGraph(WriteGraph graph, IElement element,\r
13                         Resource elementResource) throws DatabaseException {\r
14                 System.out.println("addToGraph");               \r
15         }\r
16 \r
17         @Override\r
18         public void removeFromGraph(WriteGraph graph, Resource elementResource)\r
19                         throws DatabaseException {\r
20                 System.out.println("removeFromGraph");          \r
21         }\r
22 \r
23 }\r