Custom editor monitoring resource changes [message #323223] |
Fri, 14 December 2007 12:51 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03636 seconds