Add Beanshell and Javascript dependencies for testing

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Fix compiler warnings

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
POM: add dependency section headers
POM: add imagej-ui-awt as a runtime dependency

The imagej-ui-awt project contains certain crucial plugins,
particularly the AWTRenderingService. To function properly,
the Swing UI needs this service available in the context.
Bump to next development cycle

Signed-off-by: Curtis Rueden <ctrueden@wisc.edu>
Remove Fiji-specific File>New Plugin

When Fiji was still developed mostly using the script editor, it made
sense to create new plugins in the src-plugins/ subdirectory of the
top-level directory.

However, most of Fiji is now developed using more modern techniques
(using IDEs such as Eclipse, making Maven projects, using fiji-lib's
Debug class to call ImageJ 1.x plugins from inside Eclipse, etc) and
the src-plugins/ directory was deprecated in favor of stand-alone
source code repositories.

Therefore, let's just get rid of this command and instead rely on
templates to support users who want to write new plugins or scripts.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
ScriptEditorTestDrive: default to Beanshell

It is pretty annoying if you're testing the script editor and have to
select a script language every *single* time you restart, especially on
MacOSX where the "Alt+L B" shortcut does not work as everywhere else.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Remove the 'Show deprecation' flag

Not sure what to do about it; we let the JavaEngine compile as it sees
fit; maybe in a future version we'll put this back in, triggered via
the engine scope bindings, much like 'verbose' and 'debug'...

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

Sometimes, the file is in the current directory (so that
getParentFile() returns null).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Hide Make .jar for non-compileable languages

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Remove completely obsolete comment

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Pass the path of the file to evaluate to the script engine

Before, we only passed the file name. This is not enough, not when the
JavaEngine wants to determine whether the file is part of a Maven project
so that it can use MiniMaven to compile that project instead of just
a single file.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Add the current scripting-java artifact as dependency

We will want to make use of the methods added to scripting-java for the
express purpose of supporting the Make .jar and the Compile functions.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Use JavaEngine's implementations of makeJar() and compile()

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Merge branch 'script-editor'

This branch most notably brings the File>Make .jar and the Run>Compile
functions to the script editor.

These functions used to be supported by the Fiji script editor, but were
really enmeshed with the Fiji build and the previous way Fiji was
developed (in one giant source code repository).

In contrast, they have been now reimplemented in a way that is very
modular: the real work is actually performed by the scripting-java
component, via APIs that are useful even outside the editor.

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

Conflicts:
	pom.xml
Bump to next development cycle

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
TEMP: update to SNAPSHOT scijava-common. REPLACE
SwingTableDisplayViewer: update compatibility

Now uses the SwingUI interface to check for compatibility, instead of
the abstract class.