Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Problem with applied profiles
Problem with applied profiles [message #895058] Wed, 11 July 2012 14:54 Go to next message
Stefan Kuehnlein is currently offline Stefan KuehnleinFriend
Messages: 1
Registered: July 2012
Junior Member
Hallo everybody

I have some problems in using a registered profile.

I have done following steps:
1. Creating a Plugin-Project
2. Creating a new profile in the folder Profile
3. Defining some stereotypes
4. Defining the extention points

<extension
point="org.eclipse.gmf.runtime.emf.core.Pathmaps">
<pathmap
name="RGF_Profiles"
path="Profile">
</pathmap>
</extension>
<extension
point="org.eclipse.papyrus.uml.extensionpoints.UMLProfile">
<profile
name="Entity_Profiles"
path="pathmap://RGF_Profiles/entity.profile.uml"
qualifiednames="Entity_Profiles">
</profile>
</extension>

5. Exporting the plugin and restarting eclipse
6. Opening the new UML-model and try to apply the registered profile

The dialog for selecting an applied profile from the papyrus repository shows the new registered profile. After selecting the registered profile the dialog ends and nothing else happens. I cannot choose any profiles and I cannot apply a stereotype to any uml-elements.
The EMFTree shows the applied profile but no childs has been display.

Have someone any idea what is wrong?

Stefan
Re: Problem with applied profiles [message #960181 is a reply to message #895058] Sat, 27 October 2012 08:43 Go to previous messageGo to next message
Gunter Schranz is currently offline Gunter SchranzFriend
Messages: 3
Registered: July 2012
Junior Member
Hello,

I have the same problem. Any clue why that happens?
Re: Problem with applied profiles [message #960240 is a reply to message #960181] Sat, 27 October 2012 09:45 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 4154
Registered: July 2009
Senior Member
Hi

Have you checked the error log? It might give a clue as to why
processing short-circuited.

Have you opened the UML model with the UML Model Editor and validated it?

Regards

Ed Willink

On 27/10/2012 10:43, Gunter Schranz wrote:
> Hello,
>
> I have the same problem. Any clue why that happens?
>
Re: Problem with applied profiles [message #961882 is a reply to message #960240] Sun, 28 October 2012 17:33 Go to previous messageGo to next message
Gunter Schranz is currently offline Gunter SchranzFriend
Messages: 3
Registered: July 2012
Junior Member
I've found the problem:
I set the wrong target at the org.eclipse.emf.ecore.uri_mapping extension.
The problem was that I couldn't see any error when I tried to load the profile.

Thanks...
Re: Problem with applied profiles [message #961955 is a reply to message #961882] Sun, 28 October 2012 18:55 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 4154
Registered: July 2009
Senior Member
Hi

Sounds like a bug. Please raise a Bugzilla.

Regards

Ed Willink

On 28/10/2012 17:33, Gunter Schranz wrote:
> I've found the problem:
> I set the wrong target at the org.eclipse.emf.ecore.uri_mapping
> extension.
> The problem was that I couldn't see any error when I tried to load the
> profile.
>
> Thanks...
>
Previous Topic:How to define a stereotype which subsets a meta-class association / redefine an attribute
Next Topic:how to create a sequence diagram with time modeling
Goto Forum:
  


Current Time: Fri Nov 28 11:27:15 GMT 2014

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

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