|
Re: constraint ocl [message #476241 is a reply to message #476213] |
Fri, 28 September 2007 11:32  |
Eclipse User |
|
|
|
Hi Briand,
In terms of why the connection does not appear in the diagram and why the
string label property is not defined .. I think that you might want to try
the GMF newsgroup.
Also, can you clarify what you mean by ... "the constraint is valid but
doesn't works correcty !". In what way does it not work correctly? The OCL
newsgroup would be appropriate for OCL type questions.
- James.
"briand" <briandwilliam@hotmail.com> wrote in message
news:fdb57e$3ac$1@build.eclipse.org...
> hi,
>
> I have an ocl constraint who is defined on a connection in my gmfmap ,
it's
> for initialise a label of my connection.
> my connection does not appear on the diagram !
> however it appears in the model !!! and the string label property is not
> defined ????
>
> my constraint ocl is applied on a link mapping of my generator model
> (gmfmap) :
>
> if
>
self.redefinitionAccrochePort.contenu.redefinitionDescripteu rDeReferencePort
> Syn.redefinitionRefDescSyn.direction->forAll(d
> | d = Direction::IN) then
> self.role='receveur'
> else
> self.role='emetteur'
> endif
>
> the constraint is valid but doesn't works correcty !
> have you got an idea ??
>
> thanks
>
>
>
>
|
|
|
Re: constraint ocl [message #625051 is a reply to message #476213] |
Fri, 28 September 2007 11:32  |
Eclipse User |
|
|
|
Hi Briand,
In terms of why the connection does not appear in the diagram and why the
string label property is not defined .. I think that you might want to try
the GMF newsgroup.
Also, can you clarify what you mean by ... "the constraint is valid but
doesn't works correcty !". In what way does it not work correctly? The OCL
newsgroup would be appropriate for OCL type questions.
- James.
"briand" <briandwilliam@hotmail.com> wrote in message
news:fdb57e$3ac$1@build.eclipse.org...
> hi,
>
> I have an ocl constraint who is defined on a connection in my gmfmap ,
it's
> for initialise a label of my connection.
> my connection does not appear on the diagram !
> however it appears in the model !!! and the string label property is not
> defined ????
>
> my constraint ocl is applied on a link mapping of my generator model
> (gmfmap) :
>
> if
>
self.redefinitionAccrochePort.contenu.redefinitionDescripteu rDeReferencePort
> Syn.redefinitionRefDescSyn.direction->forAll(d
> | d = Direction::IN) then
> self.role='receveur'
> else
> self.role='emetteur'
> endif
>
> the constraint is valid but doesn't works correcty !
> have you got an idea ??
>
> thanks
>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03351 seconds