[Teneo] Creating/Opening several GMF diagrams [message #615982] |
Wed, 26 March 2008 10:38 |
Matthias Treitler Messages: 117 Registered: July 2009 |
Senior Member |
|
|
Hi Martin!
I followed your (very good) GMF Tutorial and got everything working!
But I have a certain use case and I hope it is feasable with Teneo ;)!
I want to open one or more graphical editors, each with there own domain
model instance and GMF diagram instance: so (technically speaking)
URIEditorInput shall be not equal between the model instances.
I think this line can help me (copied from the tutorial):
public static final URI DATABASE_URI =
URI.createURI("hbxml://?dsname=mindmap&query1=from Map&query2=from
Diagram");
But certainly I dont know how. Ok, it would be possible to create for each
new diagram editor a DataStore, but ..hmm... answer yourself.
Is there another way to select a specific domain element and the related
diagram element from the Database?! Or is it only possible to store
exactly *one* domain and diagram element to a database?!
Maybe, the solution is rather easy, but I am really new to Teneo...
Thank you in advance!
Best regards,
Matthias
|
|
|
Powered by
FUDForum. Page generated in 0.03205 seconds