Revision: 5082 http://sourceforge.net/p/jump-pilot/code/5082 Author: jratike80 Date: 2016-10-17 11:57:53 +0000 (Mon, 17 Oct 2016) Log Message: ----------- Comment out the Jython Note tool that does not really work
Modified Paths: -------------- core/trunk/lib/ext/jython/startup.py Modified: core/trunk/lib/ext/jython/startup.py =================================================================== --- core/trunk/lib/ext/jython/startup.py 2016-10-16 16:07:09 UTC (rev 5081) +++ core/trunk/lib/ext/jython/startup.py 2016-10-17 11:57:53 UTC (rev 5082) @@ -53,8 +53,11 @@ #install toolbox custom cursor tools #tools can be defined in java only - as in this orphaned JUMP Note tool -import com.vividsolutions.jump.workbench.ui.cursortool.NoteTool as NoteTool -toolbox.add(NoteTool()) #surprise! Deselect before changing tools to avoid bug +# [Jukka Rahkonen 2016_10_17] Tool commented out because it does not work +# Label box is listening to key shortcuts and letters A, X, V, M, and R are +# unusable in labels. Code left here as an example. +#import com.vividsolutions.jump.workbench.ui.cursortool.NoteTool as NoteTool +#toolbox.add(NoteTool()) #surprise! Deselect before changing tools to avoid bug #Custom Tools can be defined with only a constructor lineTool = DrawCustomTool(featureDrawingUtil, maxClicks = 2, toolName = "Line Tool", geometryType = "linestring") toolbox.add(featureDrawingUtil.prepare(lineTool, 1)) ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel