Using Jython

From OpenJUMP Wiki
Revision as of 19:14, 3 March 2010 by Mentaer (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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.