Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » OCL check programmatically(How to call ocl checker from a plug-in)
OCL check programmatically [message #1037077] Tue, 09 April 2013 06:38 Go to next message
Rob Fri is currently offline Rob FriFriend
Messages: 1
Registered: April 2013
Junior Member
Hi everybody,

I use Topcased 5.3. I created a .ocl file for checking models.
I always call the 'OCL Check...' for the .uml file manually.
Now I want to integrate this check in a plug-in and start by an action.

Can somebody tell me if it's possible to load the .ocl file inside the plug-in and start the ocl check programmatically (including setting of markers and writing errors/warnings/.. to the problems view)?

Regards Rob
Re: OCL check programmatically [message #1037364 is a reply to message #1037077] Tue, 09 April 2013 13:10 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

It's only software. I'm sure it's possible.

However "OCL Check..." is not something I recognize, so it sounds like a
Topcased facility, and I suspect that Topcased has not kept up with many
of the improvements in Eclipse OCL. For instance there is now a Load
Complete OCL Resource action that allows the standard Validate to work.

Regards

Ed Willink

On 09/04/2013 14:05, Rob Fri wrote:
> Hi everybody,
>
> I use Topcased 5.3. I created a .ocl file for checking models.
> I always call the 'OCL Check...' for the .uml file manually.
> Now I want to integrate this check in a plug-in and start by an action.
>
> Can somebody tell me if it's possible to load the .ocl file inside the
> plug-in and start the ocl check programmatically (including setting of
> markers and writing errors/warnings/.. to the problems view)?
>
> Regards Rob
Previous Topic:[OCLInEcore] Automatic formatting in editor destroys all efforts for readable OCL
Next Topic:Operation overriding : is this a bug in pivot delegates?
Goto Forum:
  


Current Time: Thu Apr 25 21:27:13 GMT 2024

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

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

Back to the top