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 10:54 Go to next message
Stefan Kuehnlein is currently offline Stefan Kuehnlein
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 04:43 Go to previous messageGo to next message
Gunter Schranz is currently offline Gunter Schranz
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 05:45 Go to previous messageGo to next message
Ed Willink is currently offline Ed Willink
Messages: 3844
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 13:33 Go to previous messageGo to next message
Gunter Schranz is currently offline Gunter Schranz
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 14:55 Go to previous message
Ed Willink is currently offline Ed Willink
Messages: 3844
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:Juno class diagram - no assist to add attributes
Next Topic:how to create a sequence diagram with time modeling
Goto Forum:
  


Current Time: Sat Apr 19 03:13:17 EDT 2014

Powered by FUDForum. Page generated in 0.05708 seconds