|allInstances not working [message #563617]
||Sat, 21 January 2006 04:11
Originally posted by: info.dfm2html.com|
For the interpreter example applied on the library example,
the expression "Book->allInstances()" yields following error:
illegal operation signature: (Set(null).allInstances())
Although for the library example I could use the expression "books" with the
library EObject as context
to print out all books (using the EReference),
I need something like "Book->allInstances()" for other metamodels in
I saw "allInstances" used in the GMF tutorial "OCL Interpreter Tutorial"
used withing some other methods,
but I thought this would work with the Interpreter example, too.
(I tested this on the latest build.)
Powered by FUDForum
. Page generated in 0.01213 seconds