This sample demonstrates the analyzer extension which can be used to associate views with trace association types. For example, the analyzer extension can be used to associate the Log view with the logging agent trace association type.
If you have not already done so, create the example by File > New > Example... > Analyzer Extension Sample.
The sample contains code that implements a simple analyzer extension for the logging agent type association and profiling agent type association. An action named Open Analyzer Extension Sample View is available from the context menu of the logging agent and profiling agent. Right clicking on any log file or profiling agent and selecting Open With will show this action. The action opens a sample view, which shows the name of the object selected.
To see the trace associations, select Window > Preferences.. and view the Trace Associations preference page under Profiling and Logging. Select Logging Agent under trace types. The new sample view is added under Views. Select Profiling Agent under trace types. The new sample view is added under Views.
The following procedure outlines the steps needed to view the contributions to the logging agent:
The following procedure outlines the steps needed to view the contributions to the profiling agent:
(C) Copyright IBM Corporation 2005. All Rights Reserved.