Skip to main content


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 06:06 Go to next message
serhat gezgin is currently offline serhat gezginFriend
Messages: 243
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 06: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 06:43 Go to previous messageGo to next message
Ralph Gerbig is currently offline Ralph GerbigFriend
Messages: 702
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 07:31 Go to previous message
serhat gezgin is currently offline serhat gezginFriend
Messages: 243
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 07: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 Apr 19 16:14:45 GMT 2024

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

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

Back to the top