3 messages in org.netbeans.graph.usersRe: Move selected graph lib2
FromSent OnAttachments
chris johnstonMay 27, 2007 7:27 pm 
David KasparMay 28, 2007 7:46 am 
chris johnstonMay 29, 2007 2:43 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Move selected graph lib2Actions...
From:chris johnston (ct.j@theiet.org)
Date:May 29, 2007 2:43:46 pm
List:org.netbeans.graph.users

Thanks for you help David.

Chris.

On 5/29/07, David Kaspar <Davi@sun.com> wrote:

Hi,

There is a single implementation of MoveAction currently available in the library. It is moving only one (the dragged one) widget only.

There is an issue #101910 ( http://graph.netbeans.org/issues/show_bug.cgi?id=101910 ). It request a possibility to move multiple (the selected ones) widgets at the same time. I hope I will create a patch for it in +- a week.

The MoveStrategy just defines how a particular new location of a widget is restricted. E.g. you can implement snap-to-grid, align with, lock-x, lock-y, ... move strategies.

Regards, David

chris johnston wrote:

Hello, I am trying to move a number of selected widgets (selected using createRectangularSelectAction ) . Is there a MoveStrategy for doing this? If not how would I write one for the MoveAction ?

Thanks Chirs