Fix bad generic bound with HyperSliceImgPlus.

Following #54 on imglib/imglib (HyperSliceImgPlus Improvements),
Christian completely rewrite HyperSliceImgPlus. This caused a minor
generic bound mismatch this commit fixes.
Signed-off-by: Jean-Yves Tinevez <jean-yves.tinevez@pasteur.fr>
Code style changes.

Signed-off-by: Jean-Yves Tinevez <jean-yves.tinevez@pasteur.fr>
Nicer filter panel look. Minor imrpovment.

Signed-off-by: Jean-Yves Tinevez <jean-yves.tinevez@pasteur.fr>
Code style changes.

Signed-off-by: Jean-Yves Tinevez <jean-yves.tinevez@pasteur.fr>
Fix bugs and NPE with spot coloring in the spot filtering stage.

Signed-off-by: Jean-Yves Tinevez <jean-yves.tinevez@pasteur.fr>
Fix the load TrackMate file Fiji plugin.

Signed-off-by: Jean-Yves Tinevez <jean-yves.tinevez@pasteur.fr>
Be more verbose when loading a TrackMate file.

Signed-off-by: Jean-Yves Tinevez <jean-yves.tinevez@pasteur.fr>
Fix a nasty bug in sorted graph iterators.

The sorting method we were using was relying on TreeSet and a
comparator. The problem is that when two objects have the same value
(for the comparator), TreeSet simply prunes one of them.

Because this is what we were using in depth-first iterator, if two
branches had the same name, one of them was simply not iterated at all.
We now rely on list and Collections.sort() to build sorted iterator.

Noted by Anastasios Pavlopoulos the Great.
Signed-off-by: Jean-Yves Tinevez <jean-yves.tinevez@pasteur.fr>
Make it possible to load from a partial TrackMate XML.

For instance, MaMuT files miss a detector & tracker element, and their
GUIState is not set.
This commit makes it possible to load such a file and display the model
in a default blank view.
Signed-off-by: Jean-Yves Tinevez <jean-yves.tinevez@pasteur.fr>
Fix several issues with the zoom in TrackScheme.

- Fix the zoom issue with the simple style: when zooming out using this
  style, the scrolbars would disappear and confuse the graphComponent.
  This was caused apparently by choosing mxPerimeter.EllipsePerimeter for
  this vertex style. Replacing it with RecntaglePerimeter fixes the
  issue and conserves the look of TrackScheme.

- Make the zoom more responsive. Do not display the graphComponent
  before translating to the area of interest.

- Keep selection in view when zooming.
Signed-off-by: Jean-Yves Tinevez <jean-yves.tinevez@pasteur.fr>
Release v2.2.0-rc5

Signed-off-by: Jean-Yves Tinevez <jean-yves.tinevez@pasteur.fr>