|
Re: Importing OMG's Profiles [message #871356 is a reply to message #871202] |
Sat, 12 May 2012 10:26 |
Ed Willink Messages: 7670 Registered: July 2009 |
Senior Member |
|
|
Hi
Your SPEM file uses "http://schema.omg.org/spec/UML/2.1.1" which is an
OMG nsURI recognised by MDT/UML2. But:
When using OMG nsURIs, you must use *.xmi rather than *.uml extensions
unless you take care to revise the content registrations.
Similarly, when using MDT/UML2 nsURIs, you must use *.uml rather than
*.xmi extensions.
When having trouble with models, don't try to user advanced modeling
tools until your files load successfully in the Sample Ecore Editor or
UML Model Editor.
Regards
Ed Willink
On 11/05/2012 13:35, nicolas h wrote:
> Hi,
>
> I try to use the http://www.omg.org/spec/SPEM/20070801/SPEM%202.0%20UML%202%20Profile.xmi from the OMG into Papyrus, but I don't see the way to do this.
>
> Here are the steps I follow, based on http://www.eclipse.org/forums/index.php/m/819764/#msg_819764 :
>
> 1) I download the SPEM profile and rename into "spem.profile.uml"
> 2) I right-click on the profile and select new/papyrus model
> Default name proposed by papyrus is "spem.di" so I have an error message to advise me to use the same name as domain model file name (spem.profile.di)
> 3) I rename the file "spem.profile.di" so as to move on the next stage
> 4) I check the Profile radio button in the "Select language of the diagram" page
> 5) I check the checkbox "UML Profile Diagram" so as to create a UML Profile Diagram once the wizard is finished. I don't know why, but in this case I can't create new UML Profile Diagram from the right-click inside the Model Explorer
> 6) The last page lets me select the root element. There is a bug on the labels (see Figure below)
> 7) Finally, I click on the Finish button and nothing is being done.
>
> Is there any way to use the SPEM profile inside Papyrus ?
>
>
> I use Papyrus 0.8.2 on Eclipse Indigo Service Release 1.
>
>
> Thank you,
>
>
> regards,
>
>
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04840 seconds