Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » editor plugin color preferences question
editor plugin color preferences question [message #466216] Wed, 04 January 2006 23:17 Go to next message
Eclipse UserFriend
Originally posted by: mobab.hotmail.com

I am writing an editor plug-in with the ability to change the color of the
syntax highlighting through a preferences dialog. I can not figure out how
to handle the propertyChangeEvent though. Anyone have any ideas on what
steps I need to take to propagate the color change so that it appears in
the editor?
Thanks for any advice.
Abbie
Re: editor plugin color preferences question [message #466260 is a reply to message #466216] Thu, 05 January 2006 14:33 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
You will probably get a better response to this question in the
eclipse.platform newsgroup:

news://news.eclipse.org/eclipse.platform

"abbie" <mobab@hotmail.com> wrote in message
news:3e56b361b862d088f102a356323d63d8$1@www.eclipse.org...
>I am writing an editor plug-in with the ability to change the color of the
>syntax highlighting through a preferences dialog. I can not figure out how
>to handle the propertyChangeEvent though. Anyone have any ideas on what
>steps I need to take to propagate the color change so that it appears in
>the editor?
> Thanks for any advice.
> Abbie
>
>
Re: editor plugin color preferences question [message #466300 is a reply to message #466216] Fri, 06 January 2006 01:42 Go to previous message
Christopher Goy is currently offline Christopher GoyFriend
Messages: 38
Registered: July 2009
Member
You have to register your editor with the ThemeManager.
PlatformUI.getWorkbench().getThemeManager().addPropertyChagn eListener(this);

Chris

"abbie" <mobab@hotmail.com> wrote in message
news:3e56b361b862d088f102a356323d63d8$1@www.eclipse.org...
>I am writing an editor plug-in with the ability to change the color of the
>syntax highlighting through a preferences dialog. I can not figure out how
>to handle the propertyChangeEvent though. Anyone have any ideas on what
>steps I need to take to propagate the color change so that it appears in
>the editor?
> Thanks for any advice.
> Abbie
>
>
Previous Topic:eclipse images
Next Topic:how to put a image/icon into my composite instead of button
Goto Forum:
  


Current Time: Tue Apr 16 04:26:40 GMT 2024

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

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

Back to the top