Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » OCL constraint
OCL constraint [message #202104] Fri, 15 August 2008 14:38 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:ERROR Message
Next Topic:[Announce] GMF 2.1.1 is available
Goto Forum:
  


Current Time: Fri Apr 26 07:35:17 GMT 2024

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

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

Back to the top