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 13:28
No real name is currently offline No real name
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 15:15]

Report message to a moderator

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


Current Time: Wed Apr 16 18:52:24 EDT 2014

Powered by FUDForum. Page generated in 0.01528 seconds