Animating a diagram editor [message #221422] |
Fri, 13 March 2009 18:11 |
Eclipse User |
|
|
|
Originally posted by: sderrienREMOVE.irisa.fr
Hello,
I am quite a newbie at GMF, and I would like to implement some kind of
graphical simulator using GMF.
I would like to "animate" my diagram so that it would reflect state
changes of the underlying model. More practically speaking, I would like
to be able to click on some 'step' button on my toolbar, and then call
some model-updating functions that will change/update some attributes of
the model.
The problem is that I really don't know how to do, I have built a GFM
editor for my model, I have some functions that performs model updates
operations (using the SwitchVisitor), and I can add a button on my toolbar.
However I have no clue on how to bring all this together (I understand
that I may need some commands objects, but again I am not too sure).
Could someone point me to the right direction ?
Thanks in advance,
Steven
|
|
|
Powered by
FUDForum. Page generated in 0.04025 seconds