1 package org.simantics.district.network.ui.nodes;
3 import java.awt.geom.Rectangle2D;
5 import org.simantics.scenegraph.g2d.G2DParentNode;
6 import org.simantics.scenegraph.utils.GeometryUtils;
9 * Customized selection parent node that returns undefined bounds instead of
10 * <code>null</code> bounds to allow parent G2DNode to ignore these selection
11 * nodes that since they do not have any children in the District scene graph
14 * @author Tuukka Lehtonen
16 public class DistrictSelectionNode extends G2DParentNode {
18 private static final long serialVersionUID = -6030674263538134789L;
21 public Rectangle2D getBoundsInLocal() {
22 return GeometryUtils.undefinedRectangle();