I created an update for MacOSX and Windows which can be easily installed with the Update Manager of Bio7. This update fixes some bugs (which affects Windows and MacOSX only), adds two new scripts in the R-Shell view and updates the ImageJ plugin to version 1.52o33.
Before you update Bio7 make sure that you make a backup of possible installed scripts and ImageJ plugins in the default script and ImageJ plugin location because these two plugins and their preferences will be updated (it might be a good practice to externalize these locations in the Bio7 preferences for updates in the future).
1. Add the update sites below to the Update Manager (Help->Install New Software)
2. Add the URL (Location) of the Update Site (see below).
3. Close the Update Manager and then check for Updates (Help->Check for Updates).
4. Select Bio7 and confirm all licenses and unavailable certificates during installation.
Finally I had the time to improve the ImageJ plugin structure of the ‘Plugins’ view menu. Now the SWT menu structure of the plugin completely matches the AWT menu structure of ImageJ (see screenshots below with some installed plugins).
Installed plugins, scripts and macros will be added to their defined menu path. Before this (current version) it was only possible to extend the SWT ‘Plugins’ menu and installed scripts and macros were only available if installed in the Bio7 main menu or by means of the ImageJ ‘Control Panel’.
In addition I improved the image ‘Type’ menu to show checked menu items according to the opened image (see screenshot below).
Finally the ImageJ shortcuts will be mapped to the SWT menu if not used by the platform with a higher priority (see screenshot below).
Some minor improvements will follow, too for the next update of the plugin which can be updated for Bio7 2.4 or any Eclipse environment soon.
PyDev Editor: https://marketplace.eclipse.org/content/pydev-python-ide-eclipse
A very powerful Python editor which can be used to execute Bio7 Jython and Python scripts instead of the Bio7 default editor. In addition Bio7 can use the PyDev editor to execute scripts running on the Bio7 Java classpath. If you open Jython/Python scripts with the PyDev editor the default Bio7 action will be visible to execute the scripts on the Bio7 classpath.
It was always a goal to integrate a powerful Java editor in Bio7. The current default Java editor of Bio7 is a custom editor with a set of tools to ease the creation of valid Java files and enables the compilation of Java classbodies and regular Java classes dynamically.
However the editor lacks many advanced Java editing capabilities which would be very hard to implement bottom up. So instead of trying to improve the current editor i evaluated the use of JDT (Java development tools) inside of Bio7.
After some research and time i was finally able to embed JDT in Bio7 in a decent and easy to use way. As the result in next release you can create a Bio7 Java project with JDT support using several project creation wizards of Bio7 which create e.g. Bio7 Java templates ready for dynamic compilation (see below).
The file(s) for compilation are created in the base src folder (the bin folder contains compiled *.class files which we don’t need for dynamic compilation – the built process can be disabled in the preferences).
As in previous releases the dynamic compilation action is available in the toolbar of Bio7 (you don’t need the Run configuration of JDT) to compile the files instantly
into the current Java process.
The process of creation also configures the project Build Path automatically to include all necessary Bio7 runtime libraries, binaries and source folders which are needed more or less for the dynamic compilation process (see screenshot below) so that no further adjustments are needed to interact with the Bio7 environment.
The JDT Java editor drastically improves the creation of Java simulation models, etc. You definitely profit from the fantastic editing support of the editor with code completion, refactoring and error analysis, Quick fixes, etc. (below a screenshot shows the code completion for the available Bio7 API).
However if the Java editor is not active the usual Bio7 GUI is not cluttered by JDT elements.
At all JDT support for Bio7 is a huge improvement for the creation of e.g. simulation models avoiding many errors with Java classes. The Java file creation and the dynamic compilation process will be as easy as in previous releases of Bio7.