Category Archives: Bio7

Bio7 2.7 Bugfix Release for MacOSX


Last week I released a new bugfix version of Bio7 which fixes some annoying bugs on MacOSX and updates some plugins.

  • Updated ImageJ to version 1.51v1
  • Improved the import of Java projects (No annoying dialog anymore)
  • Improved the execution of Shiny apps (No dialog when stopping the server)
  • Fixed several bugs and possible deadlocks regarding the swt_awt bridge and the OpenGL panel
  • Fixed a swt_awt key listener bug (ImageJ panel) to restore key events on the panel
  • Fixed a Mac bug in the R editor color dialog (hoover dialog of name R colors)
  • Huge fontsize for Swing (e.g., ImageJ dialogs) can be corrected for Retina displays (Bio7 ImageJ preferences – ‘-6’ for Retina displays fits well)
  • Bio7 editors and the Bio7 Workspace will be automatically saved before application shutdown


Download here

Improved ImageJ plugin


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.



Useful Eclipse Plugins for Bio7


Here are some great Eclipse plugins useful in a scientific context which can be installed directly into Bio7 with the Eclipse Update-Manager of Bio7 (Help->Install New Software…).

Please note that you can also install the Eclipse Marketplace Client into Bio7 to install some of these plugins (a fancy interface to search for plugins):

The powerful Git plugin to connect Bio7 with a Git repository.

A true native terminal with SSH,Telnet and Serial line support.

Eclipse CDT
C/C++ editor and development tooling.

Arduino C++ IDE:
A great Arduino extension of the C++ editor of Eclipse.

An integrated development environment to support the development of parallel applications written in C, C++, and Fortran.

An Integrated Development Environment and Refactoring Tool for Fortran

JavaScript editor and development tools

PyDev Editor:
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.

Groovy Editor:
A more powerful Groovy editor. Can also be used with the Bio7 classpath if scripts are opened with this editor instead of the default.

Jeeeyul’s Eclipse Themes
To install new styling themes into Bio7.

Eclipse Color Theme
If you need, e.g., a dark colored editor at night to rest your eyes.

Julia Editor
A Julia editor in an early stage. But very promising.

Remote System Explorer
A plugin to connect Bio7 with SSH, Telnet, FTP and DStore protocols.

This is a selection of a huge amount of available Eclipse plugins which can be installed into Bio7 to complement the default tools.

Full JDT Support For The Next Release


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.

First Screenshot With Eclipse 4.4


Today i tried Bio7 1.7.1 with the new Eclipse 4.4M3 platform and it didn’t look bad. There are some minor UI bugs/defects and missing implementations (detached views, e.g.) but i’m quite confident that these bugs will be resolved soon by the Eclipse team. At all this is huge improvement to 4.3 which was not usable with my RCP application. Here a first screenshot:


As you can see some controls and menus are not in the right place. But at all 4.4 will be a huge UI improvement.