Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » How can i get Loadded Resource Instances
How can i get Loadded Resource Instances [message #1064401] Wed, 19 June 2013 02:06 Go to next message
serhat gezgin is currently offline serhat gezgin
Messages: 236
Registered: January 2013
Location: Izmir
Senior Member
Hi all,

I generate a diagram from gmf with metamodel A. And on generation i import and

reference another ecore metamodel B. So i want to referance A metamodel models to B

metamodel models. But i dont know how can i do this with java code anyone can help me?

Regards. (i load resourse as right click and load resource command). But i need to

manipulate B's instance from code So how can i reach loaded resource instances ?

Pic added as description.

[Updated on: Wed, 19 June 2013 02:07]

Report message to a moderator

Re: How can i get Loadded Resource Instances [message #1064408 is a reply to message #1064401] Wed, 19 June 2013 02:43 Go to previous messageGo to next message
Ralph Gerbig is currently offline Ralph Gerbig
Messages: 697
Registered: November 2009
Senior Member
Hi,

if you want to find out which code is executed in on a button of this dialog you can use this http://www.eclipse.org/pde/incubator/spy/ .

Ralph
Re: How can i get Loadded Resource Instances [message #1064415 is a reply to message #1064408] Wed, 19 June 2013 03:31 Go to previous message
serhat gezgin is currently offline serhat gezgin
Messages: 236
Registered: January 2013
Location: Izmir
Senior Member
OK i see the code with plug-in spy but e.x. i dont understand how can i reach loaded

resource on XXXCreateCommand ? I need to access loaded resource instance on that

commands ?

Regards

[Updated on: Wed, 19 June 2013 03:32]

Report message to a moderator

Previous Topic:Custom Node
Next Topic:GMF Editor hasn't "Connection Creation Assistants" in MultiPageEditor
Goto Forum:
  


Current Time: Fri Jul 25 16:04:10 EDT 2014

Powered by FUDForum. Page generated in 0.04445 seconds