O'Reilly logo

Eclipse: Building Commercial-Quality Plug-ins, Second Edition by Dan Rubel, Eric Clayberg

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Image 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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required