Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Gmf rcp lite ...resize/move problem
Gmf rcp lite ...resize/move problem [message #70154] Thu, 26 October 2006 09:21 Go to next message
Eclipse UserFriend
Originally posted by: matroska.libero.it

Hi,

in gmf lite rich client application movement and resizing of figures is
only through fixed step (for example 5 pixels). I need single pixel
precision...What do i have to modify?


Thanks in advance
Tobia Loschiavo
Re: Gmf rcp lite ...resize/move problem [message #70174 is a reply to message #70154] Thu, 26 October 2006 09:32 Go to previous messageGo to next message
Eclipse UserFriend
Hi John,

Please file a bugzilla. I will investigate and let you know when it is
fixed.

Best regards,
Boris


"John Slave" <matroska@libero.it> wrote in message
news:ehqcp7$c9a$1@utils.eclipse.org...
> Hi,
>
> in gmf lite rich client application movement and resizing of figures is
> only through fixed step (for example 5 pixels). I need single pixel
> precision...What do i have to modify?
>
>
> Thanks in advance
> Tobia Loschiavo
Re: Gmf rcp lite ...resize/move problem [message #72621 is a reply to message #70154] Wed, 01 November 2006 08:27 Go to previous messageGo to next message
Eclipse UserFriend
Hi John,

It turns out that this is a feature, not a bug :). (Moreover, it is present
in both lite and runtime-based versions. I was a bit misled by assuming it
is a lite-only problem).

You may have single-pixel precision by pressing ALT when dragging.

An alternative way is to modify the generated code (method getAdapter() in
the edit part for the diagram and compartments) to return null when being
adapted to SnapToHelper.class

Best regards,
Boris

"John Slave" <matroska@libero.it> wrote in message
news:ehqcp7$c9a$1@utils.eclipse.org...
> Hi,
>
> in gmf lite rich client application movement and resizing of figures is
> only through fixed step (for example 5 pixels). I need single pixel
> precision...What do i have to modify?
>
>
> Thanks in advance
> Tobia Loschiavo
Re: Gmf rcp lite ...resize/move problem [message #72693 is a reply to message #72621] Wed, 01 November 2006 09:46 Go to previous messageGo to next message
Eclipse UserFriend
Boris, John:

I think the behavior you are seeing is the "snap to grid" behavior. If
you turn "snap to grid" off in the "Rulers & Grid" properties section
does it work as you would like?

- Cherie

Boris Blajer wrote:
> Hi John,
>
> It turns out that this is a feature, not a bug :). (Moreover, it is present
> in both lite and runtime-based versions. I was a bit misled by assuming it
> is a lite-only problem).
>
> You may have single-pixel precision by pressing ALT when dragging.
>
> An alternative way is to modify the generated code (method getAdapter() in
> the edit part for the diagram and compartments) to return null when being
> adapted to SnapToHelper.class
>
> Best regards,
> Boris
>
> "John Slave" <matroska@libero.it> wrote in message
> news:ehqcp7$c9a$1@utils.eclipse.org...
>> Hi,
>>
>> in gmf lite rich client application movement and resizing of figures is
>> only through fixed step (for example 5 pixels). I need single pixel
>> precision...What do i have to modify?
>>
>>
>> Thanks in advance
>> Tobia Loschiavo
>
>
Re: Gmf rcp lite ...resize/move problem [message #72716 is a reply to message #72693] Wed, 01 November 2006 10:14 Go to previous message
Eclipse UserFriend
Hi Cherie,

Unfortunately, your advice, while definitely helpful, does not apply to the
lite rcp version.

Best regards,
Boris

"Cherie Revells" <crevells@ca.ibm.com> wrote in message
news:eiac7k$f2h$2@utils.eclipse.org...
> Boris, John:
>
> I think the behavior you are seeing is the "snap to grid" behavior. If
> you turn "snap to grid" off in the "Rulers & Grid" properties section does
> it work as you would like?
>
> - Cherie
>
> Boris Blajer wrote:
>> Hi John,
>>
>> It turns out that this is a feature, not a bug :). (Moreover, it is
>> present in both lite and runtime-based versions. I was a bit misled by
>> assuming it is a lite-only problem).
>>
>> You may have single-pixel precision by pressing ALT when dragging.
>>
>> An alternative way is to modify the generated code (method getAdapter()
>> in the edit part for the diagram and compartments) to return null when
>> being adapted to SnapToHelper.class
>>
>> Best regards,
>> Boris
>>
>> "John Slave" <matroska@libero.it> wrote in message
>> news:ehqcp7$c9a$1@utils.eclipse.org...
>>> Hi,
>>>
>>> in gmf lite rich client application movement and resizing of figures is
>>> only through fixed step (for example 5 pixels). I need single pixel
>>> precision...What do i have to modify?
>>>
>>>
>>> Thanks in advance
>>> Tobia Loschiavo
>>
Previous Topic:Cannot modify resource set without a write transaction
Next Topic:Custom Actions
Goto Forum:
  


Current Time: Sun Jun 01 04:00:55 EDT 2025

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

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

Back to the top