Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Changing the size of a EditPart without affecting the Figure
Changing the size of a EditPart without affecting the Figure [message #650623] Tue, 25 January 2011 18:28
No real name is currently offline No real nameFriend
Messages: 1
Registered: August 2010
Junior Member
Hello everybody. First of all, sorry for my bad English.

Second and last: the dimensions of an EditPart (width and height) in GEF are always equal to the dimensions of the Figure that it contains.
If I rotate the Figure (Graphics.rotate) without enlarge the EditPart, some portions of the figure may do not appear. Because of this, I would like to enlarge an EditPart without enlarge the Figure that it contains.

It is possible?

I already tried do not execute the GraphicalEditPart.setLayoutConstraint method in this occasions (rotated Figure), but the size of the EditPart do not change visually.

[Updated on: Tue, 25 January 2011 20:15]

Report message to a moderator

Previous Topic:Rendering SVG Image in GEF
Next Topic:Invoking a Direct Edit Action
Goto Forum:
  


Current Time: Fri Nov 28 16:11:48 GMT 2014

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

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