I cannot find the associations 'namespace' and 'ownedMember' in activities and parameter nodes [message #693205] |
Tue, 05 July 2011 22:35  |
Eclipse User |
|
|
|
Hello everybody.
I created a simple activity diagram containing two input parameter nodes and one output parameter node (instances of ActivityParameterNode). Each of these modeling elements has an associated parameter (instance of Parameter). All of these components are attached to an activity (instance of Activity).
When I validated my model I got the following error:
The opposite features 'namespace' of '<Activity Parameter Node> input' and 'ownedMember' of '<Activity> MainActivity' do not refer to each other.
According to the meta-model, Activity is a subclass of Namespace and ActivityParameterNode is a subclass of NamedElement. Also, there is an association between those abstract meta-classes whose roles are named namespace and ownedMember.
My problem is that I cannot see, and therefore modify, namespace and ownedMember in the Properties view of Papyrus. I have done a search in the options and the view but haven't found them yet.
Does any of you know how to reach and modify those attributes so I can fix my model and complete the validation successfully?
Thanks. Kindest regards.
|
|
|
|
|
Re: I cannot find the associations 'namespace' and 'ownedMember' in activities and parameter nodes [message #731233 is a reply to message #731095] |
Fri, 30 September 2011 06:08  |
Eclipse User |
|
|
|
Hi
Looks like https://bugs.eclipse.org/bugs/show_bug.cgi?id=323000 which
was fixed for Indigo.
EMF validation is normally performed on demand, rather than by a
builder, so the problem markers persist until manually deleted, or a
revalidation.
Regards
Ed Willink
On 30/09/2011 00:24, Balderas wrote:
> In previous models the messages like this one:
>
> Quote:
>> The opposite features 'namespace' of '<Activity Parameter Node>
>> input' and 'ownedMember' of '<Activity> MainActivity' do not refer to
>> each other
>
>
> disappeard by themselves after a modification or when closing and
> opening the project.
>
> However, in my current project they keep displaying after validating
> the model. I am getting similar messages like:
>
> Quote:
>> The opposite featueres 'owner' of '<Trigger> temporizationTrigger'
>> and 'ownedElement' of '<AcceptEventAcion> wait' do not refer to each
>> other
>
>
> and do not know how to make them disappear. Is this a normal behavior
> of Papyrus? Those associations should be assigned automatically, but
> they are not.
>
> /T
>
|
|
|
Powered by
FUDForum. Page generated in 0.03134 seconds