This extension point is used to contribute new analysis modules to the TMF framework. Analysis modules provide new independent functionalities that can be run on traces. a fully qualified identifier of the target extension point an optional identifier of the extension instance an optional name of the extension instance The unique ID that identifies this analysis module. The trace analysis module's name as it is displayed to the end user The fully qualified name of a class that implements the <samp>IAnalysisModule</samp> interface. The icon associated to this analysis module. Whether to execute this analysis automatically when trace is opened, or wait for the user to ask for it If true, indicate that an instance of this analysis will also be added to an experiment containing one or more trace(s) it applies to. In this case, the analysis will be run on the full experiment and the result is more than just the aggregation of each trace's analysis (default false). Parameter for this module The parameter name A default value for this parameter Allow to define the tracetypes this analysis applies to. The base trace class this analysis applies to or not (it also applies to traces extending this class). Does this tracetype element mean the class applies or not (default true) Specifies a class that provides analysis modules. The fully qualified name of a class that implements the <samp>IAnalysisModuleSource</samp> interface. Associates an output with an analysis module or a class of analysis modules. The class of this output. An ID for this output. For example, for a view, it would be the view ID. The output will be associated with a single analysis identified by the ID attribute. The full ID of the analysis. The output will be associated with all modules extending or implementing the 'class' attribute. The module class or interface the modules need to extend or implement for this output to be applicable. 3.0 <p> For an example implementation of an analysis module see: <pre> plug-in: org.eclipse.linuxtools.tmf.core.tests package: org.eclipse.linuxtools.tmf.core.tests.stubs.analysis class: TestCtfAnalysis </pre> </p> <p> The following is an example of the extension point: <pre> <extension point="org.eclipse.linuxtools.tmf.core.analysis"> <module id="org.eclipse.linuxtools.tmf.core.tests.analysis.testctf" name="Test analysis ctf" analysis_module="org.eclipse.linuxtools.tmf.tests.stubs.analysis.TestCtfAnalysis" automatic="true"> </module> </extension> </pre> </p> <p> For this extension point, a class implementing IAnalysisModule must be defined (org.eclipse.linuxtools.tmf.core.analysis.IAnalysisModule). Most analysis can just extend the org.eclipse.linuxtools.tmf.core.analysis.TmfAbstractAnalysisModule class, since it already contains everything to manage the trace's, the analysis' execution, cancellation, completion, the help texts, etc. </p> <p> The key method to implement if extending TmfAbstractAnalysisModule is executeAnalysis(final IProgressMonitor monitor). It contains the code of the analysis itself and is executed inside an Eclipse job. </p> Copyright (c) 2013 École Polytechnique de Montréal All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>