Chapter 9. Resource Change Tracking
The Eclipse system generates resource change events indicating, for example, the files and folders that have been added, modified, and removed during the course of an operation. Interested objects can subscribe to these events and take whatever action is necessary to keep themselves synchronized with Eclipse.
To demonstrate resource change tracking, the Favorites view will be modified (see Chapter 7, Views) so that whenever a resource is deleted, you can remove the corresponding element from the Favorites view.
9.1 IResourceChangeListener
Eclipse uses the interface org.eclipse.core.resources.IResourceChangeListener ...
Get Eclipse: Building Commercial-Quality Plug-ins, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.