Skip to main content



      Home
Home » Eclipse Projects » GEF » [draw2d] translate broken for Polyline?
[draw2d] translate broken for Polyline? [message #119885] Mon, 01 March 2004 11:29
Eclipse UserFriend
Originally posted by: news.eclipse.org.VictorLewisIII.com

org.eclipse.draw2d.Polyline.translate(int,int) does not work the way I
expect it to. It uses the implementation from Figure.

Shouldn't org.eclipse.draw2d.Polyline override primTranslate(int,int) to
be something along the lines of

public void primTranslate(int x, int y) {
getPoints().performTranslate(x, y);
setPoints(getPoints());
}

Then again, I may be very confused. If so could someone straighten me out?

Thanks,
Victor
Previous Topic:Simple GEF editor
Next Topic:Model Serialization/De-serialization
Goto Forum:
  


Current Time: Sun Jul 13 15:44:32 EDT 2025

Powered by FUDForum. Page generated in 0.03063 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top