Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » how to display multiple instances of same model
how to display multiple instances of same model [message #1086514] Wed, 14 August 2013 05:41 Go to next message
jonas b is currently offline jonas b
Messages: 23
Registered: July 2013
Junior Member
Hello!

I want to write a plugin which can traverse statemachines modeled as emf models (they are generated by papyrus). I have some questions about this: Is it possible to display multiple instances of the same model, each having its own state? If yes, which container is better suited for this task, a view or an editor?

Here's my intended design, please tell me if that's even possible.

1) user specifies any emf-model on the filesystem
2) generate any amount of instances of the model, ie create the same tree of views multiple times
3) create the corresponding tree of Figures to be drawn somewhere
4) display all instances in the same ViewPart or EditPart, whichever is better
5) manipulate appearance of each instance individually

Re: how to display multiple instances of same model [message #1095017 is a reply to message #1086514] Mon, 26 August 2013 10:14 Go to previous message
Ralph Gerbig is currently offline Ralph Gerbig
Messages: 697
Registered: November 2009
Senior Member
Hi,

what you want to do depends on the way in which your data is present. Are the instances all in single files? If yes you could generate a view and transform them all into one model. After editing you can transform back into the original files.

Ralph
Previous Topic:GMF GRaph can't create diamond in Rectangle Figure
Next Topic:How to add Collapse All / Expand All menu option in GMF
Goto Forum:
  


Current Time: Wed Jul 23 16:20:42 EDT 2014

Powered by FUDForum. Page generated in 0.32766 seconds