Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Adding header to every class
Adding header to every class [message #1240108] Wed, 05 February 2014 18:12 Go to next message
Phil H is currently offline Phil HFriend
Messages: 267
Registered: November 2012
Senior Member
Hi,

I had a look at the doc but couddn't find any sufficient, so I'm wondering if Eugenia supports to add a comment header to every generated class? Are there any annotations for this or other ways?

Cheers,
Phil
Re: Adding header to every class [message #1240402 is a reply to message #1240108] Thu, 06 February 2014 11:17 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2163
Registered: July 2009
Location: York, UK
Senior Member

Hi Phil,

Does the "Adding Copyright" section of [1] help?

Cheers,
Dimitris

[1] http://www.eclipse.org/epsilon/doc/articles/eugenia-gmf-tutorial/
Re: Adding header to every class [message #1240431 is a reply to message #1240402] Thu, 06 February 2014 12:43 Go to previous messageGo to next message
Phil H is currently offline Phil HFriend
Messages: 267
Registered: November 2012
Senior Member
Hi Dimitris,

thank you for the link. I think that's what I'm looking for.
So I created a txt file with some plain text inside and afterwards I generated a editor out of myemf file using Eugenia . Unfortunately it didn't work, as there is no copyright information in side the generated diagram classes. What have I done wrong?

----update----

The copyright text is in my gmfgen, but not inside the classes, which I don't understand:

index.php/fa/17421/0/

Cheers,
Phil
  • Attachment: Unbenannt.JPG
    (Size: 13.25KB, Downloaded 257 times)

[Updated on: Thu, 06 February 2014 20:15]

Report message to a moderator

Re: Adding header to every class [message #1240926 is a reply to message #1240431] Fri, 07 February 2014 08:36 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2163
Registered: July 2009
Location: York, UK
Senior Member

Hi Phil,

This seems to be working fine on my setup (GMF SDK 1.7.0.20130610 / GMF Runtime 3.1.9.20130612). Could you please try on a clean project in case the GMF generator is trying to be too smart for its own good?

Cheers,
Dimitris
Re: Adding header to every class [message #1241050 is a reply to message #1240926] Fri, 07 February 2014 11:57 Go to previous messageGo to next message
Phil H is currently offline Phil HFriend
Messages: 267
Registered: November 2012
Senior Member
Hmm, you're right, it works with a clean project. It seems that GMF don't overwrite the existing comment header.

Is there a way to solve this? Otherwise I've to provide the copyright text manually..
Re: Adding header to every class [message #1244045 is a reply to message #1241050] Tue, 11 February 2014 20:58 Go to previous message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2163
Registered: July 2009
Location: York, UK
Senior Member

Hi Phil,

In case it helps, in the past I've used the Copyright Wizard [1] plugin without problems.

Cheers,
Dimitris

[1] http://www.wdev91.com/?p=cpw
Previous Topic:Validation with .evl
Next Topic:Concordance documentation
Goto Forum:
  


Current Time: Fri Apr 26 17:28:49 GMT 2024

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

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

Back to the top