Hallvard Traetteberg Messages: 536 Registered: July 2009 Location: Trondheim, Norway
Senior Member
Hi,
I guess the titles says it all: A DoubleClickFeature receives a
DoubleClickContext object with x and y fields, but these are not set to
where the user clicked. The fix to the performRequest method in
ShapeEditPart and ConnectionEditpart is trivial:
if (request instanceof LocationRequest) {
Point location = ((LocationRequest) request).getLocation();
dcc.setLocation(location.x, location.y);
}
Michael Wenz Messages: 1267 Registered: July 2009 Location: Walldorf, Germany
Senior Member
Hallvard,
thanks for pointing this out and also providing the solution.
Could you please add that coding to the bug? Reason is that we need every
code contribution (even such small ones) correctly marked for IP reasons and
this is only possible either by Gerrit and Bugzilla.