[go: up one dir, main page]

Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » AMW » [AMW] weave a metamodel in the registry
[AMW] weave a metamodel in the registry [message #550754] Wed, 04 August 2010 09:18 Go to next message
Eclipse UserFriend
Originally posted by: ivanomalavolta.gmail.com

Hi all, I am developing a plugin extending AMW in which all the
metamodels are woven to the same metamodel (it is a kind of semantic
anchoring). So I would like to have that metamodel in my plugin and be
able to reference it directly from the EMF registry, is it possible?

In other words, I am trying to refer to a woven model by its uri in the
EMF registry, something like this in the amw.prop file:

<woven id="1">
<model-relative-path>null</model-relative-path>
<metamodel-relative-path>uri:<THE URI OF MY
METAMODEL></metamodel-relative-path>
<reference>rightMetamodel</reference>
<title>rightMetamodel</title>
<panel>DefaultWovenPanelExtension</panel>
<wmodelref>ModelRef</wmodelref>
</woven>

Is it feasible?

Thanks and best regards,
Ivano
Re: [AMW] weave a metamodel in the registry [message #551088 is a reply to message #550754] Thu, 05 August 2010 07:54 Go to previous message
Sylvain EVEILLARD is currently offline Sylvain EVEILLARDFriend
Messages: 556
Registered: July 2009
Senior Member
AMW don't know how to use Java-EMF generated metamodels.
So you can use a uri if your metamodel is registered using the extension point org.eclipse.emf.ecore.dynamic_package (which maps an uri to a physical ecore file in contrary to org.eclipse.emf.ecore.generated_package which maps an uri to an EMF-generated Package)
Previous Topic:An internal error occurred during: "Launching"
Next Topic:Problem installing AMW and AM3 plugins.
Goto Forum:
  


Current Time: Thu Dec 12 16:35:34 GMT 2024

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

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

Back to the top