Working with the Custom Content Provider Extension sample

This sample demonstrates how to extend the content provider to display additional file types in the Profiling Monitor Navigator of the Profiling and Logging Perspective.

If you have not already done so, create the example by selecting File > New > Example... > Custom Content Provider Sample.

The sample contains the following elements which allow a new file type to be displayed in the Navigator:

The following procedure outlines the steps needed to view the contributions to the TPTP Profiling Monitor Navigator of the Profiling and Logging Perspective for files containing an html file extension made by this sample extension:

  1. Launch an instance of a runtime workbench by selecting Run > Run As > Eclipse Application.
  2. Create a new Project by selecting File > New > Project... > General > Project and entering a name for the Project.
  3. Create a new File in the Project by selecting File > New > File, choosing the project created in the previous step for the destination and a file name ending with the .html file extension.
  4. Open the Profiling and Logging Perspective, switch to the Monitoring Navigator if it is not already open, and verify the newly created file is viewable.