logo       

Re: Move selected graph lib2: msg#00052

java.netbeans.modules.graph.user

Subject: Re: Move selected graph lib2

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
>
> --
> Chris Johnston


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise