Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » QVT-OML » Metemodel registry
Metemodel registry [message #1738834] Mon, 25 July 2016 10:24 Go to next message
pere joseph rodríguez is currently offline pere joseph rodríguezFriend
Messages: 12
Registered: October 2014
Junior Member
Hi,
I've got a collection of profiles that would use in transformations, but declaring the org.eclipse.uml2.uml.dynamic_package extension point seems not to be enough.... Could you help me to discover what I'm missing?

My plugin.xml to register them:

<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension point="org.eclipse.uml2.uml.dynamic_package">
<profile
uri="http://www.lengo.net/database.profile"
location="platform:/plugin/net.lengo.metamodels/profiles/database.profile.uml#_PqRUkCTgEeaVEc2SVZ5Fmg">
</profile>
</extension>
<extension point="org.eclipse.papyrus.uml.extensionpoints.UMLProfile">
<profile
name="database"
uri="http://www.lengo.net/database.profile"
path="platform:/plugin/net.lengo.metamodels/profiles/database.profile.uml#_PqRUkCTgEeaVEc2SVZ5Fmg">
</profile>
</extension>

....



Thanks

[Updated on: Mon, 25 July 2016 10:35]

Report message to a moderator

Re: Metemodel registry [message #1739758 is a reply to message #1738834] Thu, 28 July 2016 05:55 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 5891
Registered: July 2009
Senior Member
Hi

Sorry. Only you know what you mean by missing.

Perhaps you need an
<extension point="org.eclipse.emf.ecore.generated_package">

QVTo has its own registration via the Project Property page but that is
for models; profiles should be resolved automatically. However I have
only transformed UML using the Ecore profile. You could investigate why
an Ecore stereotype works while what you want is missing.

Regards

Ed Willink


On 25/07/2016 11:24, pere joseph rodríguez wrote:
> Hi,
> I've got a collection of profiles that would use in transformations, but
> declaring the org.eclipse.uml2.uml.dynamic_package extension point seems
> not to be enough.... Could you help me to discover what I'm missing?
>
> My plugin.xml to register them:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <?eclipse version="3.4"?>
> <plugin>
> <extension point="org.eclipse.uml2.uml.dynamic_package">
> <profile
> uri="http://www.lengo.net/database.profile"
>
> location="profiles\database.profile.uml#_PqRUkCTgEeaVEc2SVZ5Fmg">
> </profile>
> </extension>
> <extension point="org.eclipse.papyrus.uml.extensionpoints.UMLProfile">
> <profile
> name="database"
> uri="http://www.lengo.net/database.profile"
> path="profiles/database.profile.uml">
> </profile>
> </extension>
>
> ...
>
>
>
> Thanks


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
Previous Topic:QVT 1.3
Next Topic:Cannot add stereotypes when launching the QVTo transform programmatically from Java
Goto Forum:
  


Current Time: Sat May 26 04:36:25 GMT 2018

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

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

Back to the top