tmf: Bug 436491: Fix Synchronize Traces handling
authorPatrick Tasse <patrick.tasse@gmail.com>
Fri, 16 May 2014 20:12:15 +0000 (16:12 -0400)
committerPatrick Tasse <patrick.tasse@gmail.com>
Wed, 4 Jun 2014 13:53:48 +0000 (09:53 -0400)
commitf3cbd37d63414a3fed5dd3a31355789479cf1b59
treed8bde103dc6401b2e1d2aa613f2fe95573b6ca24
parent2db176a079848b9d3844208baafbb4866c814679
tmf: Bug 436491: Fix Synchronize Traces handling

- Refresh supplementary files for each element as soon as they are
created.

- Dispose traces and experiment instances when they are no longer
needed.

- Update the experiment element traces only after instances have been
disposed.

- Fix TmfTraceElement.copy() to use the correct resource according to
its element path.

- Fix TmfTraceElement.copy() to avoid manually creating a new
TmfTraceElement and return the one created by the navigator resource
handler instead.

- Temporarily move synchronization.bin file during experiment update
then restore it to its original location.

Change-Id: I87b3be4dccaf2747fed70eabf63a2f521424b3cb
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/26761
Tested-by: Hudson CI
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/project/handlers/SynchronizeTracesHandler.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/project/model/TmfTraceElement.java
This page took 0.025675 seconds and 5 git commands to generate.