Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Feedback layer zoom
Feedback layer zoom [message #248967] Wed, 13 May 2009 15:19 Go to next message
Tomas Trescak is currently offline Tomas TrescakFriend
Messages: 4
Registered: July 2009
Junior Member
Hello

I have modified the standard Resize policy to be able to rotate figures.
During rotate I am not using the standard Ghost shape, but I am rotating
cloned shape so user can directly see positioning of the shape.

My problem is that when the zoom is on (let's say 200%) then when creating
this clone it gets created in standard size. I have a dumb solution which
I don't like.

My question is:

How can I turn on the ZOOM for the feedback layer? (When I look into the
SWTGraphics property of the feedback layer it says that zoom is "1" and
all the other layer have zoom "2"). If I could turn on the zooming of the
feedback layer all my troubles would be gone.

Thanks!

Tomas
Re: Feedback layer zoom [message #248976 is a reply to message #248967] Thu, 14 May 2009 01:15 Go to previous messageGo to next message
Ben Vitale is currently offline Ben VitaleFriend
Messages: 247
Registered: July 2009
Senior Member
I assume that if you just use the standard ghost shape then this is not
a problem? I don't think its a matter of layers, its probably how you
are specifying the bounds of your feedback figure. I suspect there is a
scaling or coordinates translation step missing..

Just throwing some ideas out there. Hope it helps.

-Ben

Tomas Trescak wrote:
> Hello
> I have modified the standard Resize policy to be able to rotate figures.
> During rotate I am not using the standard Ghost shape, but I am rotating
> cloned shape so user can directly see positioning of the shape.
>
> My problem is that when the zoom is on (let's say 200%) then when
> creating this clone it gets created in standard size. I have a dumb
> solution which I don't like.
>
> My question is:
>
> How can I turn on the ZOOM for the feedback layer? (When I look into the
> SWTGraphics property of the feedback layer it says that zoom is "1" and
> all the other layer have zoom "2"). If I could turn on the zooming of
> the feedback layer all my troubles would be gone.
>
> Thanks!
>
> Tomas
>
Re: Feedback layer zoom [message #503265 is a reply to message #248967] Fri, 11 December 2009 11:10 Go to previous message
Eclipse UserFriend
Originally posted by: carsten.labinsky.de

Hello Tomas --

I have the same problem. Did you find a solution for it?

Thanks,
Carsten

Tomas Trescak wrote:
> Hello
> I have modified the standard Resize policy to be able to rotate figures.
> During rotate I am not using the standard Ghost shape, but I am rotating
> cloned shape so user can directly see positioning of the shape.
>
> My problem is that when the zoom is on (let's say 200%) then when
> creating this clone it gets created in standard size. I have a dumb
> solution which I don't like.
>
> My question is:
>
> How can I turn on the ZOOM for the feedback layer? (When I look into the
> SWTGraphics property of the feedback layer it says that zoom is "1" and
> all the other layer have zoom "2"). If I could turn on the zooming of
> the feedback layer all my troubles would be gone.
>
> Thanks!
>
> Tomas
>
Previous Topic:[RESOLVED] How to add SelectionListener on a PaletteEntry
Next Topic:Outline view and EMF+GEF+MultiPageEditor
Goto Forum:
  


Current Time: Sat Apr 27 02:10:20 GMT 2024

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

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

Back to the top