Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Custom editor monitoring resource changes
Custom editor monitoring resource changes [message #323223] Fri, 14 December 2007 12:51
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

I'm working on some custom Forms-based editors. I need to monitor
changes to the underlying resources (IFiles) so that the editor can, for
example, close automatically when the file it is editing is deleted, or
update its contents if the file is changed outside the editor.
I suppose I could implement my own IResourceChangeListener but that
seems awfully low-level; I see that the various text editors handle this
so I'm hoping there is some API that I can leverage for my own editors.
Can anyone provide some pointers, either reading material or a class to
look at as an example to get started?

TIA,
Eric
Previous Topic:hyperlinkDetectorTargets for a TextEditor extension
Next Topic:How to avoid using UIThread when operating on a CompilationUnit that may be open?
Goto Forum:
  


Current Time: Wed Jul 16 06:24:14 EDT 2025

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

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

Back to the top