Compare support

If your plug-in defines and manipulates its own resource types, you may have special requirements for comparing resources.  Resources are often compared when working with local history or with files from a repository.  The compare plug-in supports the implementation of advanced compare views:

These services are used in the platform to assist with user tasks such as integrating patch files and comparing/merging the workspace with local history.

All compare viewers are standard JFace viewers that expect an input object implementing the ICompareInput interface.

Compare viewers are said to be content-oriented if they compare flat inputs such as text or images and structure-oriented if they compare hierarchically structured input elements.

Copyright IBM Corporation and others 2000, 2003.