Interactive OCL Console Anywhere [message #574585] |
Thu, 13 April 2006 12:33 |
Eclipse User |
|
|
|
Originally posted by: cdamus.ca.ibm.com
Hi,
I have just committed Bug 134189, which adds the Interactive OCL console to
the "Open Console" menu in the Console view, so that it can be opened in
the context of any editor that supports EObject selections (such as ecore
editor) instead of only the EXTLibrary editor.
So, for example, you can evaluate the following on an EPackage in your Ecore
model, if it would help with debugging a modeling problem:
self.eClassifiers->closure(ec |
if ec.oclIsKindOf(EClass) then
ec.oclAsType(EClass).eSuperTypes
else
Set{}
endif)
The Interactive OCL console is implemented in the
org.eclipse.emf.ocl.examples.interpreter plug-in.
Cheers,
Christian
|
|
|
Powered by
FUDForum. Page generated in 0.06042 seconds