@CreoleResource(name="Groovy support for GATE",
isPrivate=true,
tool=true,
autoinstances=)
public class GroovySupport
extends gate.creole.AbstractResource
implements gate.gui.ActionsPublisher
Utils
and
GateGroovyMethods
so they can be used as instance
methods by any Groovy code that runs after the plugin is loaded.Modifier and Type | Field and Description |
---|---|
static String |
STANDARD_IMPORTS
Standard list of import statements that are available to any groovy script
or console in GATE.
|
Constructor and Description |
---|
GroovySupport() |
Modifier and Type | Method and Description |
---|---|
List<Action> |
getActions() |
gate.Resource |
init() |
protected void |
mixinGlobally(Class<?> classToMix)
Mix all the static methods of the given class into their
respective types.
|
checkParameterValues, cleanup, flushBeanInfoCache, forgetBeanInfo, getBeanInfo, getInitParameterValues, getInitParameterValues, getName, getParameterValue, getParameterValue, getParameterValues, removeResourceListeners, setName, setParameterValue, setParameterValue, setParameterValues, setParameterValues, setResourceListeners, toString
public static final String STANDARD_IMPORTS
public gate.Resource init() throws gate.creole.ResourceInstantiationException
init
in interface gate.Resource
init
in class gate.creole.AbstractResource
gate.creole.ResourceInstantiationException
protected void mixinGlobally(Class<?> classToMix)
classToMix
- a category class.