Move the legacy-compatible editor plugin into its own package

While at it, also give it a higher priority than its superclass so that
a future version of scijava-common will not complain about duplicate
menu entries anymore.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Add imagej-plugins-commands as dependency

... just so that we can mark a couple commands as legacy-compatible.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Add a legacy-compatible marker for the SampleImageUploader plugin

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
TO-UNDO

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
IJ1Helper: only set main window title and icon if there is a main window

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
IJ1Helper: be more careful when adding menu items

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Invert the LegacyCompatibleCommand logic

Instead of having to mark commands that are legacy-compatible, we now
require that commands that want to be marked as legacy-incompatible
*explicitly* by adding a 'no-legacy' attr.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Remove the LegacyCompatibleCommand

It is no longer needed.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
TODO

less out.txt | sed -n 's/^.INFO. Not overriding.*; class: //p' | sed 's/;
jar: file:.home.gene099.fiji.modules.imagej2.ImageJ.app.jars./ /' | sed -e
's/-[0-9\.]*.jar$//' -e 's/-[0-9\.]*-SNAPSHOT.jar$//' | sed 's/\(.*\)
\(.*\)/\2 \1/' | sort -k 1

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
fixup! Invert the LegacyCompatibleCommand logic
wip