1 package org.simantics.g2d.element.handler.impl;
4 import java.util.Collection;
6 import org.simantics.g2d.diagram.handler.Topology.Terminal;
7 import org.simantics.g2d.element.ElementUtils;
8 import org.simantics.g2d.element.IElement;
11 * @author Tuukka Lehtonen
13 public class WholeElementTerminals extends Terminals {
15 private static final long serialVersionUID = -1366493887226451146L;
17 public WholeElementTerminals(Collection<ObjectTerminal> ts) {
22 public Shape getTerminalShape(IElement node, Terminal t) {
23 // For each terminal, return the shape of the element.
24 return ElementUtils.getElementShapeOrBounds(node);