tmf: remove open trace directory and use open trace file instead
authorBernd Hufmann <Bernd.Hufmann@ericsson.com>
Fri, 14 Mar 2014 11:22:19 +0000 (07:22 -0400)
committerBernd Hufmann <bernd.hufmann@ericsson.com>
Thu, 8 May 2014 15:15:32 +0000 (11:15 -0400)
commit1aec2e929f788ee0cb100c5448f0488d11164982
tree2bb12fac63876146f6ad582dd42a0c9456f92f8c
parent282218e9c407963dd1b41b2495706e0d645049a9
tmf: remove open trace directory and use open trace file instead

For directory traces like CTF the user has to select one of the
files of the directory trace. The open procedure will first verify
that the parent directory is a valid directory trace. If yes, then it
will be opened with the corresponding trace type. To cover the index
file of CTF which is in a subdirectory of the trace directory, also
the grandparent directory of the selected file will be checked for
a directory trace type. If neither parent or grandparent directory
is a valid directory the file will be imported as before.

Change-Id: Id6b4d8b177875b5c018cbbed82816f3ba52b067a
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23386
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
12 files changed:
org.eclipse.linuxtools.lttng.help/doc/User-Guide.mediawiki
org.eclipse.linuxtools.lttng.help/doc/images/OpenTraceFile.png
org.eclipse.linuxtools.lttng.help/doc/images/ProjectImportTraceAction.png
org.eclipse.linuxtools.lttng.help/doc/images/importImages/importBatchImport.png
org.eclipse.linuxtools.tmf.ui/plugin.properties
org.eclipse.linuxtools.tmf.ui/plugin.xml
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/commands/OpenDirHandler.java [deleted file]
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/commands/OpenFileHandler.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/project/model/TmfOpenTraceHelper.java
org.eclipse.linuxtools.tracing.rcp.help/doc/User-Guide.mediawiki
org.eclipse.linuxtools.tracing.rcp.ui/plugin.properties
org.eclipse.linuxtools.tracing.rcp.ui/plugin.xml
This page took 0.028808 seconds and 5 git commands to generate.