How can I make a runtime environment / simulator with gmf? [message #163441] |
Fri, 30 November 2007 13:14 |
Eclipse User |
|
|
|
Originally posted by: manja.wolf.web.de
Hello,
I want to make a runtime environment for special nets. How can I start
with that in gmf?
I finished the creation of nets with gmf successfully. Now I want to
open in a second editor a simulator, where the user can change states of
his created net.
How can I make such a second editor using gmf? How can I get access to
the created objects like nodes or subgraphes. Are they only stored in
the default.xxx_diagram or default.xxx files?
Can you suggest documentation about it?
Thanks for any help.
Manja Wolf
|
|
|
|
Re: How can I make a runtime environment / simulator with gmf? [message #163702 is a reply to message #163454] |
Mon, 03 December 2007 13:10 |
Eclipse User |
|
|
|
Originally posted by: manja.wolf.web.de
Hello Alex,
Thank you for your help.
I'm a total beginner with gmf and so I'm confused how to go on with my
graphical partial solution I have completed. It would be great if you
could give some recommendation how I can start. Therefor I give you some
information about the "thing" (not mathematically correct) I have to create:
With the editor I built with gmf, I create a net which has two kinds of
nodes: places and transitions. Places hold token. Transition initiate an
action if there are enaugh token on preplaces. These action should be
initiated automatically after doubleclicking the transition and then
autoatically something is happen.
So I have to work with information about the nodes in the net and save
states with information about the number of token on places.
What do you mean, is it better to implement this in gmf or should I do
it better in EMF? Finally it is a graphical editor with some
on-click-activities...
I'm totally in the beginning of my troubleshooting and don't know where
to start with my code. Should I write an own package? Or is it better to
write somewhere in the generated code? But if you prefer this where
should I start?
How can I get access to the file, where the created net is saved?
Is there any documentation about something like this?
Thanks a lot for your help.
Regards,
Manja
|
|
|
|
Powered by
FUDForum. Page generated in 0.03758 seconds