Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Interactive OCL Console Anywhere
Interactive OCL Console Anywhere [message #574585] Thu, 13 April 2006 12:33
Eclipse UserFriend
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
Previous Topic:Interactive OCL Console Anywhere
Next Topic:[Announce] EMFT OCL 1.0.0M6a is available
Goto Forum:
  


Current Time: Fri Mar 29 13:55:59 GMT 2024

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

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

Back to the top