Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » Recover OCL statement String From OCLExpression Object
Recover OCL statement String From OCLExpression Object [message #1243698] Tue, 11 February 2014 10:18 Go to next message
ModelGeek Mising name is currently offline ModelGeek Mising nameFriend
Messages: 550
Registered: June 2011
Senior Member
Hi,

is there any way to get valid OCL statement in String format From OCLExpression Object?

Cheers,
Re: Recover OCL statement String From OCLExpression Object [message #1243701 is a reply to message #1243698] Tue, 11 February 2014 10:21 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

Use the org.eclipse.ocl.examples.pivot.prettyprint.PrettyPrinter.

(I'm afraid the auto-indented linewrpapping is a bit buggy.)

Regards

Ed Willink

On 11/02/2014 10:18, ModelGeek Mising name wrote:
> Hi,
>
> is there any way to get valid OCL statement in String format From
> OCLExpression Object?
>
> Cheers,
Re: Recover OCL statement String From OCLExpression Object [message #1243719 is a reply to message #1243701] Tue, 11 February 2014 10:53 Go to previous message
ModelGeek Mising name is currently offline ModelGeek Mising nameFriend
Messages: 550
Registered: June 2011
Senior Member
thank you!
it worked very nice.
Previous Topic:Help with OCL function
Next Topic:Imact Analyzer + Code Generation
Goto Forum:
  


Current Time: Tue Mar 19 03:50:22 GMT 2024

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

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

Back to the top