tmf: Add the possibility to choose the root node for synchronization
authorCédric Biancheri <cdc.biancheri@gmail.com>
Fri, 25 Sep 2015 15:31:43 +0000 (11:31 -0400)
committerPatrick Tasse <patrick.tasse@gmail.com>
Thu, 15 Oct 2015 01:34:15 +0000 (21:34 -0400)
commitdc62dbee303b377f5d7a502f712090a37db0b435
tree1acab4ae779984ec219b33411a15651ce2f60581
parenta6ee8643e4056511fed95a99ac57fdb2cebc2eaf
tmf: Add the possibility to choose the root node for synchronization

The root node in the spanning tree used for synchronization was
always the first hostId in lexicographic order.
Now the user can choose the trace that will be used as reference
for the synchronization.

When the user wants to synchronize an experiment a window similar
as the one used to add a trace to an experiment is shown.

The first trace is selected by default.

Change-Id: Iaaeb4c7905dc6171d9f8a40c4dbf4e8ba65d5ebd
Signed-off-by: Cédric Biancheri <cdc.biancheri@gmail.com>
Reviewed-on: https://git.eclipse.org/r/56769
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/internal/tmf/core/synchronization/SyncAlgorithmFullyIncremental.java
tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/internal/tmf/core/synchronization/graph/SyncSpanningTree.java
tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/synchronization/SynchronizationAlgorithm.java
tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/internal/tmf/ui/project/handlers/SynchronizeTracesHandler.java
tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/project/model/TmfExperimentElement.java
tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/project/wizards/Messages.java
tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/project/wizards/SelectRootNodeWizard.java [new file with mode: 0644]
tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/project/wizards/SelectRootNodeWizardPage.java [new file with mode: 0644]
tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/project/wizards/messages.properties
This page took 0.027028 seconds and 5 git commands to generate.