OCL constraint [message #202104] |
Fri, 15 August 2008 14:38 |
Eclipse User |
|
|
|
Originally posted by: daylmer.opencloud.com
Hello,
I just wrote
State.allInstances()->isUnique(name)
as an OCL constraint for my state transition diagram and now none of the
states show up on the canvas. Might somebody know what I am doing wrong?
Thank you,
David Aylmer
|
|
|
Re: OCL constraint [message #202109 is a reply to message #202104] |
Fri, 15 August 2008 15:39 |
Eclipse User |
|
|
|
Originally posted by: cdamus.zeligsoft.com
Hi, David,
Do you see anything in the Error Log? I don't know why the diagram
wouldn't show any contents because of a constraint (OCL or otherwise),
but if the constraint has any problems, you can debug its execution
using the org.eclipse.ocl/debug/evaluation tracing option. This will
emit the results of the evaluation of OCL expressions sub-expression by
sub-expression on the console.
HTH,
Christian
David Aylmer wrote:
> Hello,
>
> I just wrote
>
> State.allInstances()->isUnique(name)
>
> as an OCL constraint for my state transition diagram and now none of the
> states show up on the canvas. Might somebody know what I am doing wrong?
>
> Thank you,
>
> David Aylmer
|
|
|
Powered by
FUDForum. Page generated in 0.03454 seconds