X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=doc%2FAddingGroovySupport.html;h=becc4315063716eb8770ec9e7a9aca865462054d;hb=93642d621a7f86318a7777b0a70f6113dcd299dc;hp=6726612df0a7e84b0cd46d1d0fb4f45035f0b3ea;hpb=fdb9f5bbf2b5044a13131f1ad446a7967e20df34;p=jalview.git diff --git a/doc/AddingGroovySupport.html b/doc/AddingGroovySupport.html index 6726612..becc431 100644 --- a/doc/AddingGroovySupport.html +++ b/doc/AddingGroovySupport.html @@ -1,4 +1,38 @@ +#------------------------------------------------------------------------------- +# Jalview - A Sequence Alignment Editor and Viewer (Version 2.5.1) +# Copyright (C) 2010 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle +# +# This file is part of Jalview. +# +# Jalview is free software: you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. +# +# Jalview is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty +# of MERCHANTABILITY or FITNESS FOR A PARTICULAR +# PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with Jalview. If not, see . +#------------------------------------------------------------------------------- + Adding Groovy Support to Jalview @@ -8,109 +42,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. -

-