Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Resizing subclasses of LabelEditPart
Resizing subclasses of LabelEditPart [message #683906] Tue, 14 June 2011 16:01 Go to next message
Chris is currently offline Chris
Messages: 97
Registered: July 2009
Member
Hi all,

can someone tell me what the requirements are for enabling the resize
operation on a subclass of LabelEditPart?

I installed the ResizableShapeLabelEditPolicy but when I attempt to
resize my XXXLabelEditPart, it snaps back to its original size.

Do I need to take care of anything else here?

Regards,
chris
Re: Resizing subclasses of LabelEditPart [message #685027 is a reply to message #683906] Thu, 16 June 2011 17:07 Go to previous messageGo to next message
Chris is currently offline Chris
Messages: 97
Registered: July 2009
Member
hi again,

it seems this is something that has worked in GMF 2.1 but does not work
in GMF 2.3 anymore (we skipped 2.2). Has 2.2 or 2.3 added some
additional requirements for LabelEditParts to be resizable?
Were there any other significant changes pertaining to LabelEditParts or
resizing?

Any hints are appreciated, I'm really in the dark here.

Regards,
Chris


Am 14.06.2011 18:01, schrieb Chris:
> Hi all,
>
> can someone tell me what the requirements are for enabling the resize
> operation on a subclass of LabelEditPart?
>
> I installed the ResizableShapeLabelEditPolicy but when I attempt to
> resize my XXXLabelEditPart, it snaps back to its original size.
>
> Do I need to take care of anything else here?
>
> Regards,
> chris
Re: Resizing subclasses of LabelEditPart [message #686133 is a reply to message #685027] Tue, 21 June 2011 08:18 Go to previous message
Chris is currently offline Chris
Messages: 97
Registered: July 2009
Member
The situation is that I get the resize handles and I can press down the
mouse button and resize the label but as soon as I release the mouse
button the size changes back to the original one.

any ideas would be aprreciated, really.

Regards,
chris


Am 16.06.2011 19:07, schrieb Chris:
> hi again,
>
> it seems this is something that has worked in GMF 2.1 but does not work
> in GMF 2.3 anymore (we skipped 2.2). Has 2.2 or 2.3 added some
> additional requirements for LabelEditParts to be resizable?
> Were there any other significant changes pertaining to LabelEditParts or
> resizing?
>
> Any hints are appreciated, I'm really in the dark here.
>
> Regards,
> Chris
>
>
> Am 14.06.2011 18:01, schrieb Chris:
>> Hi all,
>>
>> can someone tell me what the requirements are for enabling the resize
>> operation on a subclass of LabelEditPart?
>>
>> I installed the ResizableShapeLabelEditPolicy but when I attempt to
>> resize my XXXLabelEditPart, it snaps back to its original size.
>>
>> Do I need to take care of anything else here?
>>
>> Regards,
>> chris
>
Previous Topic:Multiple GMF Editors: modify related diagrams by code
Next Topic:Enabling drag-n-drop from palette
Goto Forum:
  


Current Time: Fri Oct 24 16:16:15 GMT 2014

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

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