Re: [JPP-Devel] EZ-buttons connection to a sub-menu level
Hi Jukka, on my system it works: Make a shortcut to a function in a sub-menu with EZ-Buttons. OJ 1.4.1 stable Sun Java 6 Ubuntu 10.04 Greatings Arnd Hi, It would be convenient to be able to connect EZ-buttons to a sub-menu level, so that pressing the shortcut button would open for example Tools - Edit Geometries - Convert Selected Geometries/Layers but then lets the user to select the final option manually. -Jukka Rahkonen- -- Using storage to extend the benefits of virtualization and iSCSI Virtualization increases hardware utilization and delivers a new level of agility. Learn what those decisions are and how to modernize your storage and backup environments for virtualization. http://www.accelacomm.com/jaw/sfnl/114/51434361/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de -- Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] EZ-buttons connection to a sub-menu level
Hi, Yes, it does work for a function in a sub-menu, but what I was after when translating the geometry convertor tool was a shortcut to a *sub-menu* itself for saving the first three selections in a menu tree. -Jukka- -Alkuperäinen viesti- Lähettäjä: Arnd Kielhorn [mailto:a.kielh...@gmx.de] Lähetetty: 8. syyskuuta 2011 10:12 Vastaanottaja: OpenJump develop and use Aihe: Re: [JPP-Devel] EZ-buttons connection to a sub-menu level Hi Jukka, on my system it works: Make a shortcut to a function in a sub-menu with EZ-Buttons. OJ 1.4.1 stable Sun Java 6 Ubuntu 10.04 Greatings Arnd Hi, It would be convenient to be able to connect EZ-buttons to a sub-menu level, so that pressing the shortcut button would open for example Tools - Edit Geometries - Convert Selected Geometries/Layers but then lets the user to select the final option manually. -Jukka Rahkonen- -- Using storage to extend the benefits of virtualization and iSCSI Virtualization increases hardware utilization and delivers a new level of agility. Learn what those decisions are and how to modernize your storage and backup environments for virtualization. http://www.accelacomm.com/jaw/sfnl/114/51434361/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de -- Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] EZ Buttons bug
On 16.08.2011 00:09, Larry Becker wrote: Yes, I couldn't figure out how to copy a menu's enableChecks event handler to the EZ Buttons. I didn't study it too much though, so there may be a fairly easy solution. it's probably not that easy, because they are visible all the time, so the can't be en/disabled on the event of displaying the panel. but it should be trivial to intercept the button execution and add the enablecheck there and show a status message with its return string. ede -- uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] EZ Buttons bug
Hi Matthias, Yes, I couldn't figure out how to copy a menu's enableChecks event handler to the EZ Buttons. I didn't study it too much though, so there may be a fairly easy solution. regards, Larry On Sun, Aug 14, 2011 at 2:36 PM, Matthias Scholz m...@jammerhund.de wrote: Hi! The EZ Buttons do not observe the enableChecks. If you bind a tool to a button which needs one or more features selected (blend linestrings for example), then you get some exceptions. Matthias -- FREE DOWNLOAD - uberSVN with Social Coding for Subversion. Subversion made easy with a complete admin console. Easy to use, easy to manage, easy to install, easy to extend. Get a Free download of the new open ALM Subversion platform now. http://p.sf.net/sfu/wandisco-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] EZ Buttons bug
Hi! The EZ Buttons do not observe the enableChecks. If you bind a tool to a button which needs one or more features selected (blend linestrings for example), then you get some exceptions. Matthias -- FREE DOWNLOAD - uberSVN with Social Coding for Subversion. Subversion made easy with a complete admin console. Easy to use, easy to manage, easy to install, easy to extend. Get a Free download of the new open ALM Subversion platform now. http://p.sf.net/sfu/wandisco-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] EZ Buttons
Hi luca, You are right-clicking on the buttons, correct? If so, what OS? What version of OJ? regards, Larry On Tue, Feb 9, 2010 at 1:53 AM, luca marletta lucama...@gmail.com wrote: Hi all, I realized that EZ Buttons could be very useful but now, trying to configure them I discovered that in my system they doesn't work. Click on them to configure the buttons no event seems to be taken, no effects appear Linux debian stable java 1.6 from Sun Could someone give a suggestion Thanks a lot luca luca marletta www.beopen.it -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Larry Becker Integrated Systems Analysts, Inc. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] EZ Buttons
Has anyone else running linux tried EZ Buttons? On Tue, Feb 9, 2010 at 8:09 AM, Larry Becker becker.la...@gmail.com wrote: Hi luca, You are right-clicking on the buttons, correct? If so, what OS? What version of OJ? regards, Larry On Tue, Feb 9, 2010 at 1:53 AM, luca marletta lucama...@gmail.com wrote: Hi all, I realized that EZ Buttons could be very useful but now, trying to configure them I discovered that in my system they doesn't work. Click on them to configure the buttons no event seems to be taken, no effects appear Linux debian stable java 1.6 from Sun Could someone give a suggestion Thanks a lot luca luca marletta www.beopen.it -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Larry Becker Integrated Systems Analysts, Inc. -- Larry Becker Integrated Systems Analysts, Inc. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] EZ Buttons
:-D sorry Larry I feel so newbie. I just left click sorry and thanks for your work luca luca marletta www.beopen.it On Tue, Feb 9, 2010 at 3:11 PM, Larry Becker becker.la...@gmail.com wrote: Has anyone else running linux tried EZ Buttons? On Tue, Feb 9, 2010 at 8:09 AM, Larry Becker becker.la...@gmail.com wrote: Hi luca, You are right-clicking on the buttons, correct? If so, what OS? What version of OJ? regards, Larry On Tue, Feb 9, 2010 at 1:53 AM, luca marletta lucama...@gmail.com wrote: Hi all, I realized that EZ Buttons could be very useful but now, trying to configure them I discovered that in my system they doesn't work. Click on them to configure the buttons no event seems to be taken, no effects appear Linux debian stable java 1.6 from Sun Could someone give a suggestion Thanks a lot luca luca marletta www.beopen.it -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Larry Becker Integrated Systems Analysts, Inc. -- Larry Becker Integrated Systems Analysts, Inc. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] EZ Buttons
Hi all, I realized that EZ Buttons could be very useful but now, trying to configure them I discovered that in my system they doesn't work. Click on them to configure the buttons no event seems to be taken, no effects appear Linux debian stable java 1.6 from Sun Could someone give a suggestion Thanks a lot luca luca marletta www.beopen.it -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] EZ Buttons, Beanshell console and gdal
Hi larry,thanks for the model. I am going to write a couple of batch sample to use with gdal ad give a feedback Peppe --- Lun 14/12/09, Larry Becker becker.la...@gmail.com ha scritto: Da: Larry Becker becker.la...@gmail.com Oggetto: Re: [JPP-Devel] EZ Buttons, Beanshell console and gdal A: OpenJump develop and use jump-pilot-devel@lists.sourceforge.net Data: Lunedì 14 dicembre 2009, 21:12 I have committed a CmdRunner support class. Here is an example script for the nightly build that demonstrates it: { import org.openjump.core.ui.plugin.customize.CmdRunner; char delimiter = '\t'; //delimiter character must not occur in command line String commandLine = C:\\dup.bat + delimiter + C:\\Dist.txt; //commandLine += delimiter + -v + delimiter + -a; //optional parameters CmdRunner cmdRunner = new CmdRunner(); cmdRunner.run(commandLine, delmiter); } In the example above, C:\\dup.bat is a dos batch file that makes a backup of a file using: copy %1 %1.bak C:\\Dist.txt is a file parameter being passed to the command. Additional parameters are also possible as shown in the commented out line beginning with //. The result of running dup.bat is that Dist.txt is copied to Dist.txt.bak. For windows systems, path backslashes \ should always be doubled as shown. In the script, CmdRunner.isWindows() returns true on a windows system. regards, Larry On Mon, Dec 14, 2009 at 10:06 AM, Larry Becker becker.la...@gmail.com wrote: Hi Peppe, That is an interesting idea. I would require some new support classes, but nothing that we haven't done already in iGOR. regards, Larry On Mon, Dec 14, 2009 at 9:47 AM, Giuseppe Aruta giuseppe_ar...@yahoo.it wrote: Hi all, I want to create some customized batch files which I can run directly from OJ using beanshell script. My idea is to manage some gdal libraries to work on rasters (translate, reproject, contour etc) via batch files (through beanshell console) and see how it would be useful with sextante and EZ button on specific works. I have no idea how to create a beanshell script to launch a batch, something like c\OJ\gdal\test,bat or user/oj/gdal/test.sh or better with relative path like ..\ ..\gdal\test.bat etc etc Of coarse I will test both in windows and Linux. Does somebody can help me with a script sample? - on the other hand EZ buttons itself could be launch some external batch or exe file? without passing throught beanshell editor? thanks Peppe @Larry I think EZ buttons is valid idea, Lun 14/12/09, Larry Becker becker.la...@gmail.com ha scritto: Da: Larry Becker becker.la...@gmail.com Oggetto: Re: [JPP-Devel] EZ Buttons A: OpenJump develop and use jump-pilot-devel@lists.sourceforge.net Data: Lunedì 14 dicembre 2009, 15:46 Sorry, it should have been: { import com.vividsolutions.jts.geom.*; import com.vividsolutions.jump.feature.*; import com.vividsolutions.jump.workbench.model.*; features= wc.getLayerViewPanel().getSelectionManager().getFeaturesWithSelectedItems(); Iterator i = features.iterator(); if (features.size() == 2){ feature = (Feature) i.next(); geoOne = feature.getGeometry(); feature = (Feature) i.next(); geoTwo= feature.getGeometry(); htmlFrame = wc.workbench.frame.outputFrame; htmlFrame.createNewDocument(); htmlFrame.addText(Distance = +geoOne.distance(geoTwo)); wc.workbench.frame.flash(htmlFrame); htmlFrame.surface(); } } The former script got the distance between the first two features on the selected layer. This one uses the two selected items. Larry On Mon, Dec 14, 2009 at 8:33 AM, Larry Becker becker.la...@gmail.com wrote: Hi Jukka, Here is a script that leverages the JTS distance function: { import com.vividsolutions.jts.geom.*; import com.vividsolutions.jump.feature.*; import com.vividsolutions.jump.workbench.model.*; fc = wc.getLayerNamePanel().getSelectedLayers()[0].getFeatureCollectionWrapper(); Iterator i = fc.getFeatures().iterator(); if (i.hasNext()) { feature = (Feature) i.next(); geoOne = feature.getGeometry(); feature = (Feature) i.next(); geoTwo= feature.getGeometry(); htmlFrame = wc.workbench.frame.outputFrame; htmlFrame.createNewDocument(); htmlFrame.addText(Distance = +geoOne.distance(geoTwo)); wc.workbench.frame.flash(htmlFrame); htmlFrame.surface(); } } regards, Larry On Sun, Dec 13, 2009 at 8:00 AM, Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote: Hi, I agree totally with Larry. OpenJump is already a very productive editing tool. Connecting routines which are used hundreds of times per day to menu shortcut or toolbar button does not only speed up the work but it also cuts down the number of errors, and perhaps most important, it makes the work much less irritating. And it seems to be that a very useful features can be added by writing a lines of scripting code. I think that we should have a script library somewhere in OpenJump wiki. As an example I must
Re: [JPP-Devel] EZ Buttons
Hi All, Since this is topic of distance, i had a question about the are that shows up in the toolbar at the bottom along with the distance on the open jump application,I was wondering if anyone has the code for it so that i can know how the tool is calculating the area. Can you please let me know. Thanks for the help in advance. Thanks On Mon, Dec 14, 2009 at 6:46 AM, Larry Becker becker.la...@gmail.comwrote: Sorry, it should have been: { import com.vividsolutions.jts.geom.*; import com.vividsolutions.jump.feature.*; import com.vividsolutions.jump.workbench.model.*; features= wc.getLayerViewPanel().getSelectionManager().getFeaturesWithSelectedItems(); Iterator i = features.iterator(); if (features.size() == 2){ feature = (Feature) i.next(); geoOne = feature.getGeometry(); feature = (Feature) i.next(); geoTwo= feature.getGeometry(); htmlFrame = wc.workbench.frame.outputFrame; htmlFrame.createNewDocument(); htmlFrame.addText(Distance = +geoOne.distance(geoTwo)); wc.workbench.frame.flash(htmlFrame); htmlFrame.surface(); } } The former script got the distance between the first two features on the selected layer. This one uses the two selected items. Larry On Mon, Dec 14, 2009 at 8:33 AM, Larry Becker becker.la...@gmail.comwrote: Hi Jukka, Here is a script that leverages the JTS distance function: { import com.vividsolutions.jts.geom.*; import com.vividsolutions.jump.feature.*; import com.vividsolutions.jump.workbench.model.*; fc = wc.getLayerNamePanel().getSelectedLayers()[0].getFeatureCollectionWrapper(); Iterator i = fc.getFeatures().iterator(); if (i.hasNext()) { feature = (Feature) i.next(); geoOne = feature.getGeometry(); feature = (Feature) i.next(); geoTwo= feature.getGeometry(); htmlFrame = wc.workbench.frame.outputFrame; htmlFrame.createNewDocument(); htmlFrame.addText(Distance = +geoOne.distance(geoTwo)); wc.workbench.frame.flash(htmlFrame); htmlFrame.surface(); } } regards, Larry On Sun, Dec 13, 2009 at 8:00 AM, Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote: Hi, I agree totally with Larry. OpenJump is already a very productive editing tool. Connecting routines which are used hundreds of times per day to menu shortcut or toolbar button does not only speed up the work but it also cuts down the number of errors, and perhaps most important, it makes the work much less irritating. And it seems to be that a very useful features can be added by writing a lines of scripting code. I think that we should have a script library somewhere in OpenJump wiki. As an example I must create some screen captures about how to use a fine script made by Larry for assisting in generating Web Coverage Service requests. I also notised a Jython script for measuring distance between two selected features from GvSIG mailing list. Perhaps it could be modified to work with OpenJump as well because the real work is done by JTS. Link to this sript is here: http://n2.nabble.com/Distance-using-Jython-td4139275.html#a4139275 What I am missing most in OpenJump is the ability to write edited data back to the database. -Jukka Rahkonen- Larry Becker wrote: Thanks for the feedback Michaël and Stefan. In case anyone out there is wondering what is the use of a toolbox that can only reuse existing menu features, it is all about optimizing work flow. I believe we have an opportunity to position OpenJump as being the best tool for data creation and editing. The EZ Buttons function furthers that aim by allowing users to optimize repetitive tasks. EZ Buttons can be used in conjunction with BeanTools scripting for the creation of custom tools. However, I do intend to eventually revisit Jukka's idea of a quick-and-easy custom data entry tool for ad hoc field digitizing. regards, Larry -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Larry Becker Integrated Systems Analysts, Inc. -- Larry Becker Integrated Systems Analysts, Inc. -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app
Re: [JPP-Devel] EZ Buttons
You can download the source to JTS here: http://jts-topo-suite.svn.sourceforge.net/viewvc/jts-topo-suite/trunk/ Look for: com.vividsolutions.jts.algorithm.CGAlgorithms.java /** * Returns the signed area for a ring. The area is positive if * the ring is oriented CW. */ public static double signedArea(Coordinate[] ring) { if (ring.length 3) return 0.0; double sum = 0.0; for (int i = 0; i ring.length - 1; i++) { double bx = ring[i].x; double by = ring[i].y; double cx = ring[i + 1].x; double cy = ring[i + 1].y; sum += (bx + cx) * (cy - by); } return -sum / 2.0; } Larry On Tue, Dec 15, 2009 at 4:49 PM, karthik shravanam karthikshrava...@gmail.com wrote: Hi All, Since this is topic of distance, i had a question about the are that shows up in the toolbar at the bottom along with the distance on the open jump application,I was wondering if anyone has the code for it so that i can know how the tool is calculating the area. Can you please let me know. Thanks for the help in advance. Thanks On Mon, Dec 14, 2009 at 6:46 AM, Larry Becker becker.la...@gmail.comwrote: Sorry, it should have been: { import com.vividsolutions.jts.geom.*; import com.vividsolutions.jump.feature.*; import com.vividsolutions.jump.workbench.model.*; features= wc.getLayerViewPanel().getSelectionManager().getFeaturesWithSelectedItems(); Iterator i = features.iterator(); if (features.size() == 2){ feature = (Feature) i.next(); geoOne = feature.getGeometry(); feature = (Feature) i.next(); geoTwo= feature.getGeometry(); htmlFrame = wc.workbench.frame.outputFrame; htmlFrame.createNewDocument(); htmlFrame.addText(Distance = +geoOne.distance(geoTwo)); wc.workbench.frame.flash(htmlFrame); htmlFrame.surface(); } } The former script got the distance between the first two features on the selected layer. This one uses the two selected items. Larry On Mon, Dec 14, 2009 at 8:33 AM, Larry Becker becker.la...@gmail.comwrote: Hi Jukka, Here is a script that leverages the JTS distance function: { import com.vividsolutions.jts.geom.*; import com.vividsolutions.jump.feature.*; import com.vividsolutions.jump.workbench.model.*; fc = wc.getLayerNamePanel().getSelectedLayers()[0].getFeatureCollectionWrapper(); Iterator i = fc.getFeatures().iterator(); if (i.hasNext()) { feature = (Feature) i.next(); geoOne = feature.getGeometry(); feature = (Feature) i.next(); geoTwo= feature.getGeometry(); htmlFrame = wc.workbench.frame.outputFrame; htmlFrame.createNewDocument(); htmlFrame.addText(Distance = +geoOne.distance(geoTwo)); wc.workbench.frame.flash(htmlFrame); htmlFrame.surface(); } } regards, Larry On Sun, Dec 13, 2009 at 8:00 AM, Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote: Hi, I agree totally with Larry. OpenJump is already a very productive editing tool. Connecting routines which are used hundreds of times per day to menu shortcut or toolbar button does not only speed up the work but it also cuts down the number of errors, and perhaps most important, it makes the work much less irritating. And it seems to be that a very useful features can be added by writing a lines of scripting code. I think that we should have a script library somewhere in OpenJump wiki. As an example I must create some screen captures about how to use a fine script made by Larry for assisting in generating Web Coverage Service requests. I also notised a Jython script for measuring distance between two selected features from GvSIG mailing list. Perhaps it could be modified to work with OpenJump as well because the real work is done by JTS. Link to this sript is here: http://n2.nabble.com/Distance-using-Jython-td4139275.html#a4139275 What I am missing most in OpenJump is the ability to write edited data back to the database. -Jukka Rahkonen- Larry Becker wrote: Thanks for the feedback Michaël and Stefan. In case anyone out there is wondering what is the use of a toolbox that can only reuse existing menu features, it is all about optimizing work flow. I believe we have an opportunity to position OpenJump as being the best tool for data creation and editing. The EZ Buttons function furthers that aim by allowing users to optimize repetitive tasks. EZ Buttons can be used in conjunction with BeanTools scripting for the creation of custom tools. However, I do intend to eventually revisit Jukka's idea of a quick-and-easy custom data entry tool for ad hoc field digitizing. regards, Larry -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net
Re: [JPP-Devel] EZ Buttons
Hi Jukka, Here is a script that leverages the JTS distance function: { import com.vividsolutions.jts.geom.*; import com.vividsolutions.jump.feature.*; import com.vividsolutions.jump.workbench.model.*; fc = wc.getLayerNamePanel().getSelectedLayers()[0].getFeatureCollectionWrapper(); Iterator i = fc.getFeatures().iterator(); if (i.hasNext()) { feature = (Feature) i.next(); geoOne = feature.getGeometry(); feature = (Feature) i.next(); geoTwo= feature.getGeometry(); htmlFrame = wc.workbench.frame.outputFrame; htmlFrame.createNewDocument(); htmlFrame.addText(Distance = +geoOne.distance(geoTwo)); wc.workbench.frame.flash(htmlFrame); htmlFrame.surface(); } } regards, Larry On Sun, Dec 13, 2009 at 8:00 AM, Rahkonen Jukka jukka.rahko...@mmmtike.fiwrote: Hi, I agree totally with Larry. OpenJump is already a very productive editing tool. Connecting routines which are used hundreds of times per day to menu shortcut or toolbar button does not only speed up the work but it also cuts down the number of errors, and perhaps most important, it makes the work much less irritating. And it seems to be that a very useful features can be added by writing a lines of scripting code. I think that we should have a script library somewhere in OpenJump wiki. As an example I must create some screen captures about how to use a fine script made by Larry for assisting in generating Web Coverage Service requests. I also notised a Jython script for measuring distance between two selected features from GvSIG mailing list. Perhaps it could be modified to work with OpenJump as well because the real work is done by JTS. Link to this sript is here: http://n2.nabble.com/Distance-using-Jython-td4139275.html#a4139275 What I am missing most in OpenJump is the ability to write edited data back to the database. -Jukka Rahkonen- Larry Becker wrote: Thanks for the feedback Michaël and Stefan. In case anyone out there is wondering what is the use of a toolbox that can only reuse existing menu features, it is all about optimizing work flow. I believe we have an opportunity to position OpenJump as being the best tool for data creation and editing. The EZ Buttons function furthers that aim by allowing users to optimize repetitive tasks. EZ Buttons can be used in conjunction with BeanTools scripting for the creation of custom tools. However, I do intend to eventually revisit Jukka's idea of a quick-and-easy custom data entry tool for ad hoc field digitizing. regards, Larry -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Larry Becker Integrated Systems Analysts, Inc. -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] EZ Buttons
Sorry, it should have been: { import com.vividsolutions.jts.geom.*; import com.vividsolutions.jump.feature.*; import com.vividsolutions.jump.workbench.model.*; features= wc.getLayerViewPanel().getSelectionManager().getFeaturesWithSelectedItems(); Iterator i = features.iterator(); if (features.size() == 2){ feature = (Feature) i.next(); geoOne = feature.getGeometry(); feature = (Feature) i.next(); geoTwo= feature.getGeometry(); htmlFrame = wc.workbench.frame.outputFrame; htmlFrame.createNewDocument(); htmlFrame.addText(Distance = +geoOne.distance(geoTwo)); wc.workbench.frame.flash(htmlFrame); htmlFrame.surface(); } } The former script got the distance between the first two features on the selected layer. This one uses the two selected items. Larry On Mon, Dec 14, 2009 at 8:33 AM, Larry Becker becker.la...@gmail.comwrote: Hi Jukka, Here is a script that leverages the JTS distance function: { import com.vividsolutions.jts.geom.*; import com.vividsolutions.jump.feature.*; import com.vividsolutions.jump.workbench.model.*; fc = wc.getLayerNamePanel().getSelectedLayers()[0].getFeatureCollectionWrapper(); Iterator i = fc.getFeatures().iterator(); if (i.hasNext()) { feature = (Feature) i.next(); geoOne = feature.getGeometry(); feature = (Feature) i.next(); geoTwo= feature.getGeometry(); htmlFrame = wc.workbench.frame.outputFrame; htmlFrame.createNewDocument(); htmlFrame.addText(Distance = +geoOne.distance(geoTwo)); wc.workbench.frame.flash(htmlFrame); htmlFrame.surface(); } } regards, Larry On Sun, Dec 13, 2009 at 8:00 AM, Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote: Hi, I agree totally with Larry. OpenJump is already a very productive editing tool. Connecting routines which are used hundreds of times per day to menu shortcut or toolbar button does not only speed up the work but it also cuts down the number of errors, and perhaps most important, it makes the work much less irritating. And it seems to be that a very useful features can be added by writing a lines of scripting code. I think that we should have a script library somewhere in OpenJump wiki. As an example I must create some screen captures about how to use a fine script made by Larry for assisting in generating Web Coverage Service requests. I also notised a Jython script for measuring distance between two selected features from GvSIG mailing list. Perhaps it could be modified to work with OpenJump as well because the real work is done by JTS. Link to this sript is here: http://n2.nabble.com/Distance-using-Jython-td4139275.html#a4139275 What I am missing most in OpenJump is the ability to write edited data back to the database. -Jukka Rahkonen- Larry Becker wrote: Thanks for the feedback Michaël and Stefan. In case anyone out there is wondering what is the use of a toolbox that can only reuse existing menu features, it is all about optimizing work flow. I believe we have an opportunity to position OpenJump as being the best tool for data creation and editing. The EZ Buttons function furthers that aim by allowing users to optimize repetitive tasks. EZ Buttons can be used in conjunction with BeanTools scripting for the creation of custom tools. However, I do intend to eventually revisit Jukka's idea of a quick-and-easy custom data entry tool for ad hoc field digitizing. regards, Larry -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Larry Becker Integrated Systems Analysts, Inc. -- Larry Becker Integrated Systems Analysts, Inc. -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] EZ Buttons, Beanshell console and gdal
I have committed a CmdRunner support class. Here is an example script for the nightly build that demonstrates it: { import org.openjump.core.ui.plugin.customize.CmdRunner; char delimiter = '\t'; //delimiter character must not occur in command line String commandLine = C:\\dup.bat + delimiter + C:\\Dist.txt; //commandLine += delimiter + -v + delimiter + -a; //optional parameters CmdRunner cmdRunner = new CmdRunner(); cmdRunner.run(commandLine, delmiter); } In the example above, C:\\dup.bat is a dos batch file that makes a backup of a file using: copy %1 %1.bak C:\\Dist.txt is a file parameter being passed to the command. Additional parameters are also possible as shown in the commented out line beginning with //. The result of running dup.bat is that Dist.txt is copied to Dist.txt.bak. For windows systems, path backslashes \ should always be doubled as shown. In the script, CmdRunner.isWindows() returns true on a windows system. regards, Larry On Mon, Dec 14, 2009 at 10:06 AM, Larry Becker becker.la...@gmail.comwrote: Hi Peppe, That is an interesting idea. I would require some new support classes, but nothing that we haven't done already in iGOR. regards, Larry On Mon, Dec 14, 2009 at 9:47 AM, Giuseppe Aruta giuseppe_ar...@yahoo.itwrote: Hi all, I want to create some customized batch files which I can run directly from OJ using beanshell script. My idea is to manage some gdal libraries to work on rasters (translate, reproject, contour etc) via batch files (through beanshell console) and see how it would be useful with sextante and EZ button on specific works. I have no idea how to create a beanshell script to launch a batch, something like c\OJ\gdal\test,bat or user/oj/gdal/test.sh or better with relative path like ..\ ..\gdal\test.bat etc etc Of coarse I will test both in windows and Linux. Does somebody can help me with a script sample? - on the other hand EZ buttons itself could be launch some external batch or exe file? without passing throught beanshell editor? thanks Peppe @Larry I think EZ buttons is valid idea, *Lun 14/12/09, Larry Becker becker.la...@gmail.com* ha scritto: Da: Larry Becker becker.la...@gmail.com Oggetto: Re: [JPP-Devel] EZ Buttons A: OpenJump develop and use jump-pilot-devel@lists.sourceforge.net Data: Lunedì 14 dicembre 2009, 15:46 Sorry, it should have been: { import com.vividsolutions.jts.geom.*; import com.vividsolutions.jump.feature.*; import com.vividsolutions.jump.workbench.model.*; features= wc.getLayerViewPanel().getSelectionManager().getFeaturesWithSelectedItems(); Iterator i = features.iterator(); if (features.size() == 2){ feature = (Feature) i.next(); geoOne = feature.getGeometry(); feature = (Feature) i.next(); geoTwo= feature.getGeometry(); htmlFrame = wc.workbench.frame.outputFrame; htmlFrame.createNewDocument(); htmlFrame.addText(Distance = +geoOne.distance(geoTwo)); wc.workbench.frame.flash(htmlFrame); htmlFrame.surface(); } } The former script got the distance between the first two features on the selected layer. This one uses the two selected items. Larry On Mon, Dec 14, 2009 at 8:33 AM, Larry Becker becker.la...@gmail.comhttp://it.mc237.mail.yahoo.com/mc/compose?to=becker.la...@gmail.com wrote: Hi Jukka, Here is a script that leverages the JTS distance function: { import com.vividsolutions.jts.geom.*; import com.vividsolutions.jump.feature.*; import com.vividsolutions.jump.workbench.model.*; fc = wc.getLayerNamePanel().getSelectedLayers()[0].getFeatureCollectionWrapper(); Iterator i = fc.getFeatures().iterator(); if (i.hasNext()) { feature = (Feature) i.next(); geoOne = feature.getGeometry(); feature = (Feature) i.next(); geoTwo= feature.getGeometry(); htmlFrame = wc.workbench.frame.outputFrame; htmlFrame.createNewDocument(); htmlFrame.addText(Distance = +geoOne.distance(geoTwo)); wc.workbench.frame.flash(htmlFrame); htmlFrame.surface(); } } regards, Larry On Sun, Dec 13, 2009 at 8:00 AM, Rahkonen Jukka jukka.rahko...@mmmtike.fihttp://it.mc237.mail.yahoo.com/mc/compose?to=jukka.rahko...@mmmtike.fi wrote: Hi, I agree totally with Larry. OpenJump is already a very productive editing tool. Connecting routines which are used hundreds of times per day to menu shortcut or toolbar button does not only speed up the work but it also cuts down the number of errors, and perhaps most important, it makes the work much less irritating. And it seems to be that a very useful features can be added by writing a lines of scripting code. I think that we should have a script library somewhere in OpenJump wiki. As an example I must create some screen captures about how to use a fine script made by Larry for assisting in generating Web Coverage Service requests. I also notised a Jython script for measuring distance between two selected features from
Re: [JPP-Devel] EZ Buttons
Hi, I agree totally with Larry. OpenJump is already a very productive editing tool. Connecting routines which are used hundreds of times per day to menu shortcut or toolbar button does not only speed up the work but it also cuts down the number of errors, and perhaps most important, it makes the work much less irritating. And it seems to be that a very useful features can be added by writing a lines of scripting code. I think that we should have a script library somewhere in OpenJump wiki. As an example I must create some screen captures about how to use a fine script made by Larry for assisting in generating Web Coverage Service requests. I also notised a Jython script for measuring distance between two selected features from GvSIG mailing list. Perhaps it could be modified to work with OpenJump as well because the real work is done by JTS. Link to this sript is here: http://n2.nabble.com/Distance-using-Jython-td4139275.html#a4139275 What I am missing most in OpenJump is the ability to write edited data back to the database. -Jukka Rahkonen- Larry Becker wrote: Thanks for the feedback Michaël and Stefan. In case anyone out there is wondering what is the use of a toolbox that can only reuse existing menu features, it is all about optimizing work flow. I believe we have an opportunity to position OpenJump as being the best tool for data creation and editing. The EZ Buttons function furthers that aim by allowing users to optimize repetitive tasks. EZ Buttons can be used in conjunction with BeanTools scripting for the creation of custom tools. However, I do intend to eventually revisit Jukka's idea of a quick-and-easy custom data entry tool for ad hoc field digitizing. regards, Larry -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] EZ Buttons
mhm.. well in theory ot should be easy to make such a script. But the level is in the detail: if you have two polygons, what distance do you return? the shortest, i.e. boundary to boundary?, or the centroids? an additional (button) function could indeed work stefan Rahkonen Jukka schrieb: Hi, I agree totally with Larry. OpenJump is already a very productive editing tool. Connecting routines which are used hundreds of times per day to menu shortcut or toolbar button does not only speed up the work but it also cuts down the number of errors, and perhaps most important, it makes the work much less irritating. And it seems to be that a very useful features can be added by writing a lines of scripting code. I think that we should have a script library somewhere in OpenJump wiki. As an example I must create some screen captures about how to use a fine script made by Larry for assisting in generating Web Coverage Service requests. I also notised a Jython script for measuring distance between two selected features from GvSIG mailing list. Perhaps it could be modified to work with OpenJump as well because the real work is done by JTS. Link to this sript is here: http://n2.nabble.com/Distance-using-Jython-td4139275.html#a4139275 What I am missing most in OpenJump is the ability to write edited data back to the database. -Jukka Rahkonen- Larry Becker wrote: Thanks for the feedback Michaël and Stefan. In case anyone out there is wondering what is the use of a toolbox that can only reuse existing menu features, it is all about optimizing work flow. I believe we have an opportunity to position OpenJump as being the best tool for data creation and editing. The EZ Buttons function furthers that aim by allowing users to optimize repetitive tasks. EZ Buttons can be used in conjunction with BeanTools scripting for the creation of custom tools. However, I do intend to eventually revisit Jukka's idea of a quick-and-easy custom data entry tool for ad hoc field digitizing. regards, Larry -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] EZ Buttons
Oh.. forgot this one: What I am missing most in OpenJump is the ability to write edited data back to the database. I guess this is a case for sponsored development? Not sure who even would have the (PostGIS OJ) knowledge to do that and work on incremental write support. The only way I see for now is the WFS-T stuff (I thought you would use that?) from deeJUMP (Yep, I know you did already sponsor things - thanks for that!) stefan -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] EZ Buttons
btw. the best way to not forget such things is to add them to the feature request list. http://sourceforge.net/tracker/?atid=679909group_id=118054func=browse stefan Rahkonen Jukka schrieb: Hi, I agree totally with Larry. OpenJump is already a very productive editing tool. Connecting routines which are used hundreds of times per day to menu shortcut or toolbar button does not only speed up the work but it also cuts down the number of errors, and perhaps most important, it makes the work much less irritating. And it seems to be that a very useful features can be added by writing a lines of scripting code. I think that we should have a script library somewhere in OpenJump wiki. As an example I must create some screen captures about how to use a fine script made by Larry for assisting in generating Web Coverage Service requests. I also notised a Jython script for measuring distance between two selected features from GvSIG mailing list. Perhaps it could be modified to work with OpenJump as well because the real work is done by JTS. Link to this sript is here: http://n2.nabble.com/Distance-using-Jython-td4139275.html#a4139275 What I am missing most in OpenJump is the ability to write edited data back to the database. -Jukka Rahkonen- Larry Becker wrote: Thanks for the feedback Michaël and Stefan. In case anyone out there is wondering what is the use of a toolbox that can only reuse existing menu features, it is all about optimizing work flow. I believe we have an opportunity to position OpenJump as being the best tool for data creation and editing. The EZ Buttons function furthers that aim by allowing users to optimize repetitive tasks. EZ Buttons can be used in conjunction with BeanTools scripting for the creation of custom tools. However, I do intend to eventually revisit Jukka's idea of a quick-and-easy custom data entry tool for ad hoc field digitizing. regards, Larry -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] EZ Buttons
Thanks for the feedback Michaël and Stefan. In case anyone out there is wondering what is the use of a toolbox that can only reuse existing menu features, it is all about optimizing work flow. I believe we have an opportunity to position OpenJump as being the best tool for data creation and editing. The EZ Buttons function furthers that aim by allowing users to optimize repetitive tasks. EZ Buttons can be used in conjunction with BeanTools scripting for the creation of custom tools. However, I do intend to eventually revisit Jukka's idea of a quick-and-easy custom data entry tool for ad hoc field digitizing. regards, Larry On Wed, Dec 9, 2009 at 10:39 PM, Stefan Steiniger sst...@geo.uzh.ch wrote: Larry, this is awesome! I was already wondering what happend with the idea of a second or dynamic toolbar, but this is great. And it is nice that the settings are stored when OpenJUMP is closed and started again too. a big thank You (and those that helped you)! This stuff would have gone way over my restricted programming knowlegde ;) I am looking already forward to a next release (but probably not before April/May). Next I need to check Michaels CSV/txt file plugin (no time yet). stefan Larry Becker schrieb: I have just done a preliminary port of SkyJUMP's EZ Button feature. The EZ Buttons option appears to the View menu. It provides an option to display a button panel that can be easily programed by choosing existing menu options with right mouse clicks. It can be activated with both the buttons and Function Keys F1-10. The function keys continue to work even when EZ Buttons are hidden. There are two interface strings that haven't been put in the language files yet: Right Click to Assign Button F (F1 - F10) and Map Right Click. Might need some feedback as to how clear the wording is before doing this. To preview the feature use the following workbench-properties.xml: workbench plug-inorg.openjump.core.ui.plugin.view.EasyButtonsPlugin/plug-in /workbench In addition to the 3 files added to org.openjump.core.ui.plugin.view, some methods and classes were added to com.vividsolutions.jump.workbench.ui.plugin.FeatureInstaller also. regards, Larry -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Larry Becker Integrated Systems Analysts, Inc. -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] EZ Buttons
Hei Larry, Larry Becker wrote: Thanks for the feedback Michaël and Stefan. In case anyone out there is wondering what is the use of a toolbox that can only reuse existing menu features, it is all about optimizing work flow. Yep.. this was for instance a request by Bernd with respect to the merge two polygons function. Though - I think they went ahead now with some custom developments based on your great Python extension. The advantage of having in-house developers, for some. I believe we have an opportunity to position OpenJump as being the best tool for data creation and editing. yep that where I see OJ's strengths too, including of course QA and extending it to data conflation The EZ Buttons function furthers that aim by allowing users to optimize repetitive tasks. EZ Buttons can be used in conjunction with BeanTools scripting for the creation of custom tools. I was wondering if that is possible. So how would that go? a script that adds a menu item and then one selects that item? stefan However, I do intend to eventually revisit Jukka's idea of a quick-and-easy custom data entry tool for ad hoc field digitizing. regards, Larry -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] EZ Buttons
I have just done a preliminary port of SkyJUMP's EZ Button feature. The EZ Buttons option appears to the View menu. It provides an option to display a button panel that can be easily programed by choosing existing menu options with right mouse clicks. It can be activated with both the buttons and Function Keys F1-10. The function keys continue to work even when EZ Buttons are hidden. There are two interface strings that haven't been put in the language files yet: Right Click to Assign Button F (F1 - F10) and Map Right Click. Might need some feedback as to how clear the wording is before doing this. To preview the feature use the following workbench-properties.xml: workbench plug-inorg.openjump.core.ui.plugin.view.EasyButtonsPlugin/plug-in /workbench In addition to the 3 files added to org.openjump.core.ui.plugin.view, some methods and classes were added to com.vividsolutions.jump.workbench.ui.plugin.FeatureInstaller also. regards, Larry -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] EZ Buttons
Hi, Excellent job, Larry, as usual, and specially useful Michaël Larry Becker a écrit : I have just done a preliminary port of SkyJUMP's EZ Button feature. The EZ Buttons option appears to the View menu. It provides an option to display a button panel that can be easily programed by choosing existing menu options with right mouse clicks. It can be activated with both the buttons and Function Keys F1-10. The function keys continue to work even when EZ Buttons are hidden. There are two interface strings that haven't been put in the language files yet: Right Click to Assign Button F (F1 - F10) and Map Right Click. Might need some feedback as to how clear the wording is before doing this. To preview the feature use the following workbench-properties.xml: workbench plug-inorg.openjump.core.ui.plugin.view.EasyButtonsPlugin/plug-in /workbench In addition to the 3 files added to org.openjump.core.ui.plugin.view, some methods and classes were added to com.vividsolutions.jump.workbench.ui.plugin.FeatureInstaller also. regards, Larry -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] EZ Buttons
Larry, this is awesome! I was already wondering what happend with the idea of a second or dynamic toolbar, but this is great. And it is nice that the settings are stored when OpenJUMP is closed and started again too. a big thank You (and those that helped you)! This stuff would have gone way over my restricted programming knowlegde ;) I am looking already forward to a next release (but probably not before April/May). Next I need to check Michaels CSV/txt file plugin (no time yet). stefan Larry Becker schrieb: I have just done a preliminary port of SkyJUMP's EZ Button feature. The EZ Buttons option appears to the View menu. It provides an option to display a button panel that can be easily programed by choosing existing menu options with right mouse clicks. It can be activated with both the buttons and Function Keys F1-10. The function keys continue to work even when EZ Buttons are hidden. There are two interface strings that haven't been put in the language files yet: Right Click to Assign Button F (F1 - F10) and Map Right Click. Might need some feedback as to how clear the wording is before doing this. To preview the feature use the following workbench-properties.xml: workbench plug-inorg.openjump.core.ui.plugin.view.EasyButtonsPlugin/plug-in /workbench In addition to the 3 files added to org.openjump.core.ui.plugin.view, some methods and classes were added to com.vividsolutions.jump.workbench.ui.plugin.FeatureInstaller also. regards, Larry -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel