Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » OCLinEcore editor and comment lines
OCLinEcore editor and comment lines [message #826091] Wed, 21 March 2012 16:43 Go to next message
Aran A is currently offline Aran AFriend
Messages: 22
Registered: January 2011
Junior Member

Hi,

I'm using the OCLinEcore editor to write some OCL invariants in my ecore model. That's fine, but when I write a comment line (i.e. a line starting with --), everything is OK, but the next time I open the file, that line has disappeared. Is there any menu option to put the comments visible?

Thanks in advance,

Aran
Re: OCLinEcore editor and comment lines [message #826124 is a reply to message #826091] Wed, 21 March 2012 17:35 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 4154
Registered: July 2009
Senior Member
Hi

If you use the *.oclinecore extension you save a texzt fle witrh
comments. The workflow for dual *.ecore, *.oclinecore is hopefully
goping to be improved for Juno.

The current Juno milestone has support for /** ... */ comment
persistence as standard Ecore genmodel documentation annotations.

Regards

Ed Willink


On 21/03/2012 12:43, Missing name Mising name wrote:
>
> Hi,
>
> I'm using the OCLinEcore editor to write some OCL invariants in my
> ecore model. That's fine, but when I write a comment line (i.e. a line
> starting with --), everything is OK, but the next time I open the
> file, that line has disappeared. Is there any menu option to put the
> comments visible?
>
> Thanks in advance,
>
> Aran
Previous Topic:Method OCL.parse(OCLInput input) in pivot
Next Topic:[Announce] Eclipse OCL 4.0.0 (Juno) M6 is now available
Goto Forum:
  


Current Time: Fri Nov 28 09:06:19 GMT 2014

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

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