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 #31273] 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:Running into Deadlocks using EMF Transaction API?
Next Topic:Interactive OCL Console Anywhere
Goto Forum:
  


Current Time: Wed May 22 15:10:34 GMT 2024

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

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

Back to the top