It would be nice to have some kind of mechanism where you could specify imports in a JAPE file and have them inserted into all the RHS actions for that grammar.
Currently the imports are hard-coded in gate.jape.RightHandSide#RightHandSide.
We could have the keyword 'Imports:' used like this in a jape grammar:
Imports: gate.creole.ontology.*
The default imports should stay the same and always be added to these optional imports.
This has been implemented already a while ago.