Skip to main content

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 09:41 Go to next message
jonas b is currently offline jonas bFriend
Messages: 23
Registered: July 2013
Junior Member

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 14:14 Go to previous message
Ralph Gerbig is currently offline Ralph GerbigFriend
Messages: 702
Registered: November 2009
Senior Member

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.

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: Thu Feb 25 02:55:04 GMT 2021

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

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

Back to the top