lttng: Sort the entries in the Resources View
authorAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Wed, 21 May 2014 22:26:47 +0000 (18:26 -0400)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Mon, 26 May 2014 20:17:33 +0000 (16:17 -0400)
commit3e404d51a4883d9651d8d01dde2d70723aeee0fa
tree98bd40f2f11e4c6ff518784dc8582937f782702d
parentdf2b3dbb57360e3b55c389e18a8ffbd7394a5bbf
lttng: Sort the entries in the Resources View

Make the ResourcesEntry Comparable, so that the view can specify
how they should be sorted when entries are added to the list.

This also works for entries that are being added while the trace
is being read ("live" reading).

Change-Id: I5a99652b5b755ea9f2e76e32167ad0d15b76a320
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/27071
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Hudson CI
org.eclipse.linuxtools.lttng2.kernel.ui/src/org/eclipse/linuxtools/internal/lttng2/kernel/ui/views/resources/ResourcesEntry.java
This page took 0.024647 seconds and 5 git commands to generate.