From: Jean-Christian Kouame Date: Mon, 29 Feb 2016 18:47:14 +0000 (-0500) Subject: doc : Add documentation for XML analyses manager X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;ds=sidebyside;h=d570387a0ea3a5344b710b2e7ba33a5a0642aa08;p=deliverable%2Ftracecompass.git doc : Add documentation for XML analyses manager Change-Id: Ie3a603e813ebd94023d4d93fd6a210b96d5af47e Signed-off-by: Jean-Christian Kouame Reviewed-on: https://git.eclipse.org/r/67565 Reviewed-by: Matthew Khouzam Tested-by: Matthew Khouzam Reviewed-by: Patrick Tasse Tested-by: Patrick Tasse Reviewed-by: Hudson CI --- diff --git a/doc/org.eclipse.tracecompass.doc.user/doc/User-Guide.mediawiki b/doc/org.eclipse.tracecompass.doc.user/doc/User-Guide.mediawiki index da969158a3..5f3e30f872 100644 --- a/doc/org.eclipse.tracecompass.doc.user/doc/User-Guide.mediawiki +++ b/doc/org.eclipse.tracecompass.doc.user/doc/User-Guide.mediawiki @@ -2262,6 +2262,31 @@ You will be prompted to select the file. It will be validated before importing i Right now, there is no way to "unimport" analyses from within the application. A UI to manage the imported analyses is currently being worked on. In the meantime, you can navigate to your workspace directory, and delete the files in .metadata/.plugins/org.eclipse.tracecompass.tmf.analysis.xml.core/xml_files . +== Managing XML files containing analyses == + +The '''Manage XML Analyses''' dialog is used to manage the list of XML files containing analysis. To open the dialog: + +* Open the '''Project Explorer''' view. +* Select '''Manage XML Analyses...''' from the '''Traces''' folder context menu. + +[[Image:images/ManageXMLAnalysis.png]] + +The list of currently defined XML analyses is displayed on the left side of the dialog. + +The following actions can be performed from this dialog: + +* Import + +Click the '''Import''' button and select a file from the opened file dialog to import an XML file containing an analysis. The file will be validated before importing it and if successful, the new analysis and views will be shown under the traces for which they apply. You will need to close any already opened traces and re-open them before the new analysis can be executed. If an invalid file is selected, an error message will be displayed to the user. + +* Export + +Select an XML file from the list, click the '''Export''' button and enter or select a file in the opened file dialog to export the XML analysis. Note that if an existing file containing an analysis is selected, its content will be replaced with the analysis to export. + +* Delete + +Select an XML file from the list and click the '''Delete''' button to remove the XML file. Deleting an XML file will close all the traces for which this analysis applies and remove the analysis. + == Defining XML components == To define XML components, you need to create a new XML file and use the XSD that comes with the XML plugin. diff --git a/doc/org.eclipse.tracecompass.doc.user/doc/images/ManageXMLAnalysis.png b/doc/org.eclipse.tracecompass.doc.user/doc/images/ManageXMLAnalysis.png new file mode 100644 index 0000000000..0e5601cd7c Binary files /dev/null and b/doc/org.eclipse.tracecompass.doc.user/doc/images/ManageXMLAnalysis.png differ