From 88bc025708f1b7881bababb92d14351760e0f9da Mon Sep 17 00:00:00 2001 From: jprocter Date: Thu, 26 Apr 2007 10:35:19 +0000 Subject: [PATCH] groovy support without compile-time dependency. --- doc/AddingGroovySupport.html | 109 +----- src/jalview/bin/Cache.java | 37 ++ src/jalview/gui/Desktop.java | 84 +++++ src/jalview/jbgui/GDesktop.java | 772 +++++++++++++++++++-------------------- 4 files changed, 522 insertions(+), 480 deletions(-) diff --git a/doc/AddingGroovySupport.html b/doc/AddingGroovySupport.html index 6726612..966c9b4 100644 --- a/doc/AddingGroovySupport.html +++ b/doc/AddingGroovySupport.html @@ -8,109 +8,30 @@ Adding Groovy Support to Jalview

There is currently no scripting language extension within Jalview, in part because a -scripting API has not been developed. +scripting API has not yet been developed.

It is, however, really easy to embed scripting -engines within Jalview. We haven't done it -with the Bean Scripting Framework, but the -code snippets below show you how to get going -with groovy. +engines like groovy. If groovy is detected on the +classpath, a new menu entry on the Desktop's Tools +menu will open the GroovyShell.

-

Modifications

-

-For each class below, add the following objects and methods to their definitions. -

-