1 package org.simantics.district.network.ui.participants;
3 import java.awt.geom.AffineTransform;
5 import org.simantics.district.network.ui.nodes.ElevationServerNode;
6 import org.simantics.g2d.canvas.impl.SGNodeReflection.SGInit;
7 import org.simantics.g2d.diagram.participant.AbstractDiagramParticipant;
8 import org.simantics.scenegraph.g2d.G2DParentNode;
10 public class ElevationServerParticipant extends AbstractDiagramParticipant {
12 private ElevationServerNode node;
14 private AffineTransform transform;
16 public ElevationServerParticipant(AffineTransform transform) {
17 this.transform = transform;
21 public void initSG(G2DParentNode parent) {
22 node = parent.addNode(ElevationServerNode.ID, ElevationServerNode.class);
23 node.setTransform(transform);