Using Jython

From OpenJUMP Wiki
Jump to: navigation, search

There is no tutorial specific to OpenJUMP. A general tutorial that Larry liked is:

http://www.marathontesting.com/Marathon_files/j-jython1-ltr.pdf

The jython scripts included with OJ are intended to be examples of how to implement various functions. Start with:

http://jump-pilot.svn.sourceforge.net/viewvc/jump-pilot/core/trunk/lib/ext/jython/startup.py?revision=1647&view=markup

To create your own tools that are on the jython toolbar or menu, define them in

lib/ext/jython/UserStartup.py

You can show the console to try out code interactively.