Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Mint] preference page and class file colouring
[Mint] preference page and class file colouring [message #526178] Fri, 09 April 2010 07:06 Go to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
(this time with a real subject :-)

Hi,
I have tried out Mint (version 0.8.0) and I like the colouring of generatedNot methods and classes also the navigation
from the genmodel to the generated classes is nice. I have a few questions:
- I could not find a preference page (it wasn't under java > appearance), I think it was mentioned somewhere in the wiki.
- Is it somehow possible to define the 'generated NOT' pattern so that also generatedNOT would work?
- If a generated class has a method with 'generated NOT' then the method is coloured red but the class is coloured blue.
Is there a way to give a class a different colour (orange or something) if it has manual changes (so without setting the
whole class to 'generated NOT')?
--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: [Mint] preference page and class file colouring [message #526279 is a reply to message #526178] Fri, 09 April 2010 12:57 Go to previous messageGo to next message
Peter Nehrer is currently offline Peter NehrerFriend
Messages: 241
Registered: July 2009
Senior Member
Hi Martin,

> I have tried out Mint (version 0.8.0) and I like the colouring of
> generatedNot methods and classes also the navigation
> from the genmodel to the generated classes is nice.

Awesome, glad to hear you find it useful.

> I have a few questions:
> - I could not find a preference page (it wasn't under java >
> appearance), I think it was mentioned somewhere in the wiki.

Try General -> Appearance -> Colors and Fonts, JDT Extensions for EMF
(legacy label, should rename to Mint)

> - Is it somehow possible to define the 'generated NOT' pattern so that
> also generatedNOT would work?

Not yet, but it's doable. Can you please file a bug/feature request? I
think the intention was to use @generated vs. @generated<anything else>,
basically the same logic used by the merger.

> - If a generated class has a method with 'generated NOT' then the method
> is coloured red but the class is coloured blue.
> Is there a way to give a class a different colour (orange or something)
> if it has manual changes (so without setting the
> whole class to 'generated NOT')?

Likewise -- not yet but it should be possible to implement relatively
easily. Please file lots of bugs (so I'm not the only one doing it) :-)
Thanks!

--Peter
Re: [Mint] preference page and class file colouring [message #526346 is a reply to message #526279] Fri, 09 April 2010 18:08 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Peter,
Here they are:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=308680
https://bugs.eclipse.org/bugs/show_bug.cgi?id=308681

I entered them on 0.8.0 but as Helios (and Mint 0.9.0) is around the corner for me 0.9.0 is also fine.

Thanks!

gr. Martin

Peter Nehrer wrote:
> Hi Martin,
>
>> I have tried out Mint (version 0.8.0) and I like the colouring of
>> generatedNot methods and classes also the navigation
>> from the genmodel to the generated classes is nice.
>
> Awesome, glad to hear you find it useful.
>
>> I have a few questions:
>> - I could not find a preference page (it wasn't under java >
>> appearance), I think it was mentioned somewhere in the wiki.
>
> Try General -> Appearance -> Colors and Fonts, JDT Extensions for EMF
> (legacy label, should rename to Mint)
>
>> - Is it somehow possible to define the 'generated NOT' pattern so that
>> also generatedNOT would work?
>
> Not yet, but it's doable. Can you please file a bug/feature request? I
> think the intention was to use @generated vs. @generated<anything else>,
> basically the same logic used by the merger.
>
>> - If a generated class has a method with 'generated NOT' then the method
>> is coloured red but the class is coloured blue.
>> Is there a way to give a class a different colour (orange or something)
>> if it has manual changes (so without setting the
>> whole class to 'generated NOT')?
>
> Likewise -- not yet but it should be possible to implement relatively
> easily. Please file lots of bugs (so I'm not the only one doing it) :-)
> Thanks!
>
> --Peter


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: [Mint] preference page and class file colouring [message #622444 is a reply to message #526178] Fri, 09 April 2010 12:57 Go to previous message
Peter Nehrer is currently offline Peter NehrerFriend
Messages: 241
Registered: July 2009
Senior Member
Hi Martin,

> I have tried out Mint (version 0.8.0) and I like the colouring of
> generatedNot methods and classes also the navigation
> from the genmodel to the generated classes is nice.

Awesome, glad to hear you find it useful.

> I have a few questions:
> - I could not find a preference page (it wasn't under java >
> appearance), I think it was mentioned somewhere in the wiki.

Try General -> Appearance -> Colors and Fonts, JDT Extensions for EMF
(legacy label, should rename to Mint)

> - Is it somehow possible to define the 'generated NOT' pattern so that
> also generatedNOT would work?

Not yet, but it's doable. Can you please file a bug/feature request? I
think the intention was to use @generated vs. @generated<anything else>,
basically the same logic used by the merger.

> - If a generated class has a method with 'generated NOT' then the method
> is coloured red but the class is coloured blue.
> Is there a way to give a class a different colour (orange or something)
> if it has manual changes (so without setting the
> whole class to 'generated NOT')?

Likewise -- not yet but it should be possible to implement relatively
easily. Please file lots of bugs (so I'm not the only one doing it) :-)
Thanks!

--Peter
Re: [Mint] preference page and class file colouring [message #622450 is a reply to message #526279] Fri, 09 April 2010 18:08 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Peter,
Here they are:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=308680
https://bugs.eclipse.org/bugs/show_bug.cgi?id=308681

I entered them on 0.8.0 but as Helios (and Mint 0.9.0) is around the corner for me 0.9.0 is also fine.

Thanks!

gr. Martin

Peter Nehrer wrote:
> Hi Martin,
>
>> I have tried out Mint (version 0.8.0) and I like the colouring of
>> generatedNot methods and classes also the navigation
>> from the genmodel to the generated classes is nice.
>
> Awesome, glad to hear you find it useful.
>
>> I have a few questions:
>> - I could not find a preference page (it wasn't under java >
>> appearance), I think it was mentioned somewhere in the wiki.
>
> Try General -> Appearance -> Colors and Fonts, JDT Extensions for EMF
> (legacy label, should rename to Mint)
>
>> - Is it somehow possible to define the 'generated NOT' pattern so that
>> also generatedNOT would work?
>
> Not yet, but it's doable. Can you please file a bug/feature request? I
> think the intention was to use @generated vs. @generated<anything else>,
> basically the same logic used by the merger.
>
>> - If a generated class has a method with 'generated NOT' then the method
>> is coloured red but the class is coloured blue.
>> Is there a way to give a class a different colour (orange or something)
>> if it has manual changes (so without setting the
>> whole class to 'generated NOT')?
>
> Likewise -- not yet but it should be possible to implement relatively
> easily. Please file lots of bugs (so I'm not the only one doing it) :-)
> Thanks!
>
> --Peter


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Previous Topic:[EEF] EEF architecture generation fails
Next Topic:[EEF] Generate Architecture error
Goto Forum:
  


Current Time: Fri Sep 20 04:04:44 GMT 2024

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

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

Back to the top