Package org.eclipse.draw2d

Examples of org.eclipse.draw2d.Polyline.removeAllPoints()


    }
  }

  protected void refreshFigure() {
    final Polyline polyline = (Polyline) getFigure();
    polyline.removeAllPoints();
    for (final MapNodeRef ref : ((MapObjectNodes) getModel()).getObject().getNodes()) {
      final MapNode node = ref.getNode();
      final Point p = getCoordinateSystem().toPoint(node.getPosition());
      polyline.addPoint(p);
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.