Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » update models and redraw editor at runtime
update models and redraw editor at runtime [message #204387] Thu, 04 September 2008 07:56 Go to next message
Eclipse UserFriend
Originally posted by: heggly.gmx.net

Hey guys,

At runtime I dynamically change my underlying ecore model (e.g. add
subclasses). Now I would also like to dynamically update gmfgraph,
gmftool, gmfmap, generate the gmfgen model and finally redraw the
running gmf editor thus reflecting my model changes. Is that possible
to do at runtime? How do I get hold of all the models involved?

Thanks in advance.

Felix
Re: update models and redraw editor at runtime [message #204989 is a reply to message #204387] Wed, 10 September 2008 11:07 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Felix,

I'd say this is not an easy task.. Currently you have to _regenerate_ diagramming
code + _reload_ currently ruiinng plugin to update it's content + _reopen_
diagram editor...

-----------------
Alex Shatalin
Previous Topic:Create a diagram with a symbol as a root
Next Topic:Additional diagram initialization code
Goto Forum:
  


Current Time: Thu Apr 25 09:05:29 GMT 2024

Powered by FUDForum. Page generated in 0.03093 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top