Color method\class source on editor [message #323578] |
Tue, 01 January 2008 06:05  |
Eclipse User |
|
|
|
Originally posted by: automatic.javalobby.org
Hi
I am trying to write small plug in that allows the user to lock\unlock some pieces of code (field, method, class)
After getting the method element (as java element) I want to see that her source on the editor is colored in some other color that I choose (red for example), other then the default (black).
I have tried to find the mechanism to do that, with no success.
I have followed the java editor example plug-in and the xml editor example plug-in (supplied by eclipse) - it does not fit to my scenario since the color is done there according to some parsing rules - which I don't have.
Is there a way to do that (there must be...) ?
Thanks in advance for your help
Aviad
|
|
|
Re: Color method\class source on editor [message #323866 is a reply to message #323578] |
Thu, 10 January 2008 12:29  |
Eclipse User |
|
|
|
aviad wrote:
>Hi
>I am trying to write small plug in that allows the user to lock\unlock some pieces of code (field, method, class)
>
>After getting the method element (as java element) I want to see that her source on the editor is colored in some other color that I choose (red for example), other then the default (black).
>
>I have tried to find the mechanism to do that, with no success.
>I have followed the java editor example plug-in and the xml editor example plug-in (supplied by eclipse) - it does not fit to my scenario since the color is done there according to some parsing rules - which I don't have.
>
>Is there a way to do that (there must be...) ?
>
>
No, this is not available out of the box.
Dani
>Thanks in advance for your help
>Aviad
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.09241 seconds