Difference between revisions of "Using Jython"

From OpenJUMP Wiki
Jump to navigation Jump to search
(Created page with 'There is no tutorial specific to OpenJUMP. A general tutorial that I like is: http://www.marathontesting.com/Marathon_files/j-jython1-ltr.pdf The jython scripts included wit…')
 
m
 
Line 1: Line 1:
There is no tutorial specific to OpenJUMP.  A general tutorial that I like is: http://www.marathontesting.com/Marathon_files/j-jython1-ltr.pdf
+
There is no tutorial specific to OpenJUMP.  A general tutorial that Larry liked is:
  
  The jython scripts included with OJ are intended to be examples of how to implement various functions.  Start with:
+
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
 
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
+
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.
 
You can show the console to try out code interactively.

Latest revision as of 19:14, 3 March 2010

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.