Hi Selva,

news <[EMAIL PROTECTED]> wrote on 05/04/2006 06:19:58 AM:

> Sorry for the mistake i have done in earlier mail thomas. Actually i 
want 
> both 'undo/redo' cases. 
> 
> 1. want 'undo/redo' moves of your group with lines? 

    This requires a totally separate system to track this.  You
will need to track this yourself.  Probably recording the original
group transform on mouse down (or what ever starts the move
operation).

> 2. want 'undo/redo' moves of the canvas (whole canvas pan)? 

    This should work fine with the code below.  However you will
need to come up with your own system for managing the group moves
and canvas moves together so they are undone and redone in the
correct order.

> To achieve this, i have added GVTTreeRendererListener for my SVGCanvas. 
While 
> doing zoom in,zoom out and moving group elements , it's not executing 
> RenderingTransform's gvtRenderingCompleted(). Why it's not executing 
> RenderingCompleted even GVTTreeRendererListener added??

    This works fine for me, so without a stand-alone example that shows 
your
problem I can't help you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to