DESCRIPTION

TMF: Add utility method to return trace set, including experiment

And add the experiment state systems in the state system explorer

Change-Id: I0470804d2057b25a778f04c195661d505fdaf7be
Signed-off-by: Aryana Jones xxx@xxx.xxx


COMMENTS

author: Annalise Jimenez
date: 2014-07-07 15:12:22.000000000

Uploaded patch set 6.

-------------------------------------
author: Brenden Conley
date: 2014-07-07 15:34:21.000000000

Patch Set 6:

Build Started https://hudson.eclipse.org/linuxtools/job/linuxtools-gerrit/7624/

-------------------------------------
author: Brenden Conley
date: 2014-07-07 16:15:28.000000000

Patch Set 6: Verified+1

Build Successful 

https://hudson.eclipse.org/linuxtools/job/linuxtools-gerrit/7624/ : SUCCESS

-------------------------------------
author: Luciana Barry
date: 2014-07-08 17:24:40.000000000

Patch Set 6:

Just a thought

HashSet<ITmfTrace> traces = new HashSet<>(Collections.singleton(trace));
traces.addAll(Arrays.asList(TmfTraceManager.getTraceSet(trace)));

-------------------------------------
author: Annalise Jimenez
date: 2014-07-08 19:11:39.000000000

Patch Set 6:

Patrick, indeed, since it's a set, the trace won't be added twice. I'll try along those lines.

-------------------------------------
author: Braxton Mccarthy
date: 2014-07-08 19:16:04.000000000

Patch Set 6: Code-Review+1

It's the same thing in the end. And no need to do the Collections.singleton... part, this creates another set you throw away right away. Simpler to do a .add()

-------------------------------------
