static profil definition [message #476242] |
Fri, 28 September 2007 15:34 |
Eclipse User |
|
|
|
Originally posted by: firstname.name.gmail.com
Hello,
I tried to create a static profile thanks to the short tutorial, given by James
Bruck in[1].
I succeeded in generating my editor from my uml profile and I have created the
extension (btw, the generated_package.exsd is missing and so it is not easy to
guess the attributes). My extension point is as follow:
<extension
point="org.eclipse.uml2.uml.generated_package">
<profile
uri="http://org.myfirm/MyProfile"
location=" /home/myHome/static.profile/MyStaticProfile.uml#_lvxGcG2hEdy -Dr8kHOSVhg "/>
</extension>
However when I start a new session and create a new UML model, I can't apply my
profile. It seems that the profile is not loaded. I looked at
org.eclipse.uml2.uml.editor.actions.ApplyProfileAction::run( ). I certainly
misunderstand something because I can't see how my static profile could be
loaded. The UML profile and ECORE profile is loaded explicitly.
I have no log errors.
Your help is much appreciated!
Reference(s):
[1] http://dev.eclipse.org/newslists/news.eclipse.modeling.mdt.u ml2/msg00817.html
--
F. Lagarde
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03034 seconds