DATA VIEWERS FIND

The package "org.eclipse.linuxtools.dataviewers.findreplace" added into the plugin "org.eclipse.linuxtools.dataviewers" allows to enable the "FIND" action of the standard workbench adapting to the dataviewers.
If the developer want to use this new feature, he has to create an instance of the interface
ISTFindReplaceTarget.
The interface
ISTFindReplaceTarget  adapts  the original IFindReplaceTarget to the dataviewers. In particular way, it uses  the class  ViewerCell to get the searched string position into the dataviewer.

There are two classes that implement ISTFindReplaceTarget:
Both have to extend an AbstractSTViewer because the "FIND" targert work on a viewer.
When a developer want to use the "FIND", he has to create your customer data viewer extending:
or

Briefly

In order to enable the "FIND" action, the developer has to:
  • create an instance of  ISTFindReplaceTarget doing the overrideing of createSTFindReplaceTarget() into the AbstractSTDataView
  • extend your custom viewer with STTableFindReplaceTarget or STTreeFindReplaceTargert