This sample demonstrates the extending of navigators for the Eclipse Test and Performance Tools Platform, or TPTP (e.g. Profiling Monitor, Log Navigator) to contribute additional content to the navigators. This can include new items, both top-level and children of existing items, and context menu contributions to both new and existing items.
If you have not already done so, create the example by File > New > Example... > Navigator Extension Sample.
The sample contains code that implements a simple extension to the Profiling Monitor navigator. A new action "Add Sample Item" is contributed to the context menu of every existing type containing data (i.e., Monitor, Node, Process, and Agent). This action creates a new item under the selected one, which contains the same data as its parent. The sample items can be viewed with the Memory Statistics view, and are non-persistent (they cannot be saved).
The following procedure outlines the steps needed to view the contributions to the Profiling Monitor navigator made by this sample extension:
Related Tasks:
Profiling an application
Importing profiling resources
Using the Profiling Monitor view
Using the Memory Statistics view
(C) Copyright IBM Corporation 2000, 2010. All Rights Reserved.