Synchronized GEF-Editors [message #214898] |
Tue, 25 April 2006 08:47 |
Eclipse User |
|
|
|
Originally posted by: adam.giemza.gmx.de
Hi all,
I have build an discussion editor, that is synchronized via network with
another instance. A change is send through an socket to an
snychronisation plugin an the discussion modell listens for events. On
an event it adds a new topic node and so on. Everything works so far,
but I do not use the commandstack, so I can not use undo redo for the
actions I get over the network.
So here is my question? How can I create new Command objects outside my
editparts and add them to the command stack, so that the commands were
executed like commands from the editor!
greets
adam
|
|
|
Request and Command [message #214987 is a reply to message #214898] |
Tue, 25 April 2006 10:28 |
Eclipse User |
|
|
|
Originally posted by: adam.giemza.gmx.de
Another question:
How to generate a Request outside an EditPart and send it to a EditPart
to execute it?
It could be es solution for my problem. My client would receive events
from the other participant and then would fire requests to the EditParts
to perform an action (resize, move...).
Does this work?
|
|
|
Powered by
FUDForum. Page generated in 0.03523 seconds