Re: [JPP-Devel] OpenJUMP 1.3.1 maintenance release

2009-12-09 Thread Nils Kuhn
Hi Michal, here is the StackTrace from eclipse: org.postgresql.util.PSQLException: ERROR: syntax error at or near ")" at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1592) at

Re: [JPP-Devel] theaming feature

2009-12-09 Thread Nils Kuhn
Hi Luca, here is another example: public boolean execute(PlugInContext context) throws Exception{ this.reportNothingToUndoYet(context); Layer lyr=context.getLayerManager().getLayer("yourLayerName"); //getting the ColorThemingStyle from the layer ColorThemingStyle

[JPP-Devel] More code-examples?

2009-12-09 Thread Nils Kuhn
Hi all, first thanks for the work on the new layouted homepage and the wiki (I like the clear black/white/orange style). I think we could have more sample-plugins and code-examples in the developer documentation. For starting with writing own PlugIns (for me) this is much more helpful than

Re: [JPP-Devel] Question about TaskMonitorDialog, ThreadedPlugIn, and Threads in OpenJUMP

2009-12-09 Thread Benjamin Gudehus
OK, I figured out this call hierarchy for * execute() (in AbstractPlugIn.toActionListener()) and * run() (in TaskWrapper.run()). === FeatureInstaller.addMainMenuItem() === public void addMainMenuItem(PlugIn executable, String[] menuPath, String menuItemName, boolean checkBox, Icon icon,

[JPP-Devel] Question about TaskMonitorDialog, ThreadedPlugIn, and Threads in OpenJUMP

2009-12-09 Thread Benjamin Gudehus
Hi! I'm trying to figure out how to separate the code by putting the one task in the execute method and the other task in the run method, but I can't find a solution yet. (I need to determine the relationship between the execute and run method. The Javadoc doesn't seem to indicate when the

Re: [JPP-Devel] More code-examples?

2009-12-09 Thread Stefan Steiniger
Hei Nils, thanks for the feedback. If you wish you can also add those examples (i.e. your example) yourself to the wiki. Use therefore either the general user login (see start page infos) or create a new account - and I would give you write access. I actually understand your example on the

Re: [JPP-Devel] Question about TaskMonitorDialog, ThreadedPlugIn, and Threads in OpenJUMP

2009-12-09 Thread Stefan Steiniger
BTW: I'm currently trying to modify the TaskMonitorDialog to show a progressbar with addional information. you know that this is possible using * monitor.report(computing feature + count + of + numFeatures); I also use often the following option to send messages during processing

[JPP-Devel] EZ Buttons

2009-12-09 Thread Larry Becker
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

Re: [JPP-Devel] EZ Buttons

2009-12-09 Thread Michaël Michaud
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

Re: [JPP-Devel] EZ Buttons

2009-12-09 Thread Stefan Steiniger
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