Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How to propagate preferences changes to all plugin editors (open and closed)
How to propagate preferences changes to all plugin editors (open and closed) [message #262945] Wed, 21 July 2004 14:14 Go to next message
Eclipse UserFriend
Originally posted by: cyberlync.gmail.com

Guys,

I have search the forumn and google (I've also looked at source for a few
other plugins) and I have yet to come up with a strait foreward solution.
Basically I need to know the best way to propagate changes in color
choices to editors that are currently opened (of course editors that
arn't open will get the changes with they open). Any help is appreciated.

thanks,
eric
Re: How to propagate preferences changes to all plugin editors (open and closed) [message #262960 is a reply to message #262945] Wed, 21 July 2004 16:28 Go to previous messageGo to next message
Eclipse UserFriend
The way that I was able to do this was to call the
invalidateTextPresentation() method in the SourceViewer for the editor. I'm
not certain if there's a better way, but it worked for me.

- Adam

> I have search the forumn and google (I've also looked at source for a few
> other plugins) and I have yet to come up with a strait foreward solution.
> Basically I need to know the best way to propagate changes in color
> choices to editors that are currently opened (of course editors that
> arn't open will get the changes with they open). Any help is appreciated.
Re: How to propagate preferences changes to all plugin editors (open and close [message #263312 is a reply to message #262960] Thu, 22 July 2004 14:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cyberlync.gmail.com

Adam Vartanian wrote:

> The way that I was able to do this was to call the
> invalidateTextPresentation() method in the SourceViewer for the editor. I'm
> not certain if there's a better way, but it worked for me.

> - Adam

> > I have search the forumn and google (I've also looked at source for a few
> > other plugins) and I have yet to come up with a strait foreward solution.
> > Basically I need to know the best way to propagate changes in color
> > choices to editors that are currently opened (of course editors that
> > arn't open will get the changes with they open). Any help is appreciated.

Yea, I finally found the right documentation and figured it out. Thanks
for your answer though.
Re: How to propagate preferences changes to all plugin editors (open and close [message #264684 is a reply to message #263312] Fri, 30 July 2004 09:31 Go to previous message
Eclipse UserFriend
Originally posted by: waltereo.hotmail.com

Hi,

Can you share the document you found, at least a pointer where I can read
it too ! I m looking for the same info too


Thanks

Walt
"Eric Merritt" <cyberlync@gmail.com> wrote in message
news:cdp10g$vm5$1@eclipse.org...
> Adam Vartanian wrote:
>
> > The way that I was able to do this was to call the
> > invalidateTextPresentation() method in the SourceViewer for the editor.
I'm
> > not certain if there's a better way, but it worked for me.
>
> > - Adam
>
> > > I have search the forumn and google (I've also looked at source for a
few
> > > other plugins) and I have yet to come up with a strait foreward
solution.
> > > Basically I need to know the best way to propagate changes in color
> > > choices to editors that are currently opened (of course editors that
> > > arn't open will get the changes with they open). Any help is
appreciated.
>
> Yea, I finally found the right documentation and figured it out. Thanks
> for your answer though.
>
Previous Topic:IPerspectiveListener.perspectiveActivated not visited for 1st perspective
Next Topic:Lightweight decorators and persistent properties
Goto Forum:
  


Current Time: Fri May 09 18:11:49 EDT 2025

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

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

Back to the top