Re: [JPP-Devel] center zoom shortcut WAS: shortcuts committed

2013-03-01 Thread Giuseppe Aruta
Hi Ede org.openjump.core.ui.plugin.mousemenu.CenterZoomPlugIn Any key woul be useful thanks Peppe 2013/2/28 > do we have a plugin that does that? > not sure about Ctrl+1, as it would be difficult to assign meaningful > functions to Ctrl+2-9 then.. any other suggestions? > > .. ede > > On 28.02

[JPP-Devel] center zoom shortcut WAS: shortcuts committed

2013-03-01 Thread edgar . soldin
do we have a plugin that does that? not sure about Ctrl+1, as it would be difficult to assign meaningful functions to Ctrl+2-9 then.. any other suggestions? .. ede On 28.02.2013 09:32, Giuseppe Aruta wrote: > @Ede > Is it possible to have a "Center zoom" together with the other shortcuts > (li

Re: [JPP-Devel] shortcuts committed

2013-03-01 Thread Michaël Michaud
> please check out the new keyboard shortcuts and the according Help menu item > and come back with comments. Waouh ! Had not yet seen the new help menu. Excellent ! And no more html file to maintain ;-) Have to try it now... Michaël > > regards ..ede > > ---

Re: [JPP-Devel] Viewing attributes on JcomboBox from Postgis database

2013-03-01 Thread Michaël Michaud
Hi, OK, seems you already explored the code. I feel like what you want to achieve is a bit different from a AttributeTablePanel which is a component containing a table (JTable) not ComboBoxes. AttributeTablePanel is quite complex. It contains a special table (with a geometry column), it is also

Re: [JPP-Devel] new release 1.6 bug

2013-03-01 Thread edgar . soldin
unlikely but not impossible... let's keep an eye on it.. maybe i'll setup virtual machine according to his specs, but it's not high on my priority list. ..ede On 28.02.2013 09:05, Giuseppe Aruta wrote: > Sorry but I cannot replicate it with Ubuntu, I tested either with 1.6RC and > with post OJ

Re: [JPP-Devel] File open UI issues

2013-03-01 Thread edgar . soldin
On 01.03.2013 08:35, Michaël Michaud wrote: > Hi Jukka, > > Good catches. > 1) First thought it was a jvm issue, but I tried on another java program > and java 1.7.0_13 and I did not get the error, so it maybe a OpenJUMP issue mine too.. good idea to doublecheck with another software! will you l

Re: [JPP-Devel] OJ spoils shapefile if shema is edited

2013-03-01 Thread Larry Becker
No problem. Thanks for the code review. On Fri, Mar 1, 2013 at 4:43 PM, Michaël Michaud wrote: > Hi Larry, > > My mistake, > I thought that Integers were encoded into 'N' and Double into 'F' > But 'F' are just read by OpenJUMP, not written. > > Sorry for the noise, > > Michaël > > Hi Michaël,

Re: [JPP-Devel] Viewing attributes on JcomboBox from Postgis database

2013-03-01 Thread Asma ouqalli
hello Micha, what i want is to add a plugin that adds via a popupmenu a frame containing AttributeTablePanel in a OneLayerAttributeTab. this AttributeTAblePanel will contain 3 comboBox each one will be populated by records of a specific column of the selected layer. and im thinking on adapting th

Re: [JPP-Devel] OJ spoils shapefile if shema is edited

2013-03-01 Thread Michaël Michaud
Hi Larry, My mistake, I thought that Integers were encoded into 'N' and Double into 'F' But 'F' are just read by OpenJUMP, not written. Sorry for the noise, Michaël Hi Michaël, I'm not sure what you are seeing, but I tested both Sky and OJ before the mod, and they both preserved an N 16.5

Re: [JPP-Devel] OJ spoils shapefile if shema is edited

2013-03-01 Thread Larry Becker
Hi Michaël, I'm not sure what you are seeing, but I tested both Sky and OJ before the mod, and they both preserved an N 16.5 format when saving selected datasets. regards, Larry On Fri, Mar 1, 2013 at 3:41 PM, Michaël Michaud wrote: > Hi Larry, > > Thanks a lot for your patch. > It took me

Re: [JPP-Devel] new release 1.6 bug

2013-03-01 Thread Michaël Michaud
Hi Luca, Good work ! Did you keep the guilty workbench-state.xml so that we have a chance to understand what happened and be able to help users with similar problems. Michaël Hi Ede, thanks for support me. I solved !!! Abauot the problem it's not easy have sscreenshot of something that just

Re: [JPP-Devel] NPE from Sort selected category

2013-03-01 Thread Michaël Michaud
Hi, >> @Ede, probably related to recent addition of a EnableChecked interface. >> If you explain briefly what is the rational behind the change and how it >> is supposed to be implemented by plugins, I can take care of it. > it is supposed to streamline the use of enablechecks.. formerly there was

Re: [JPP-Devel] Viewing attributes on JcomboBox from Postgis database

2013-03-01 Thread Michaël Michaud
Hi Asma, Not sure I understand what you want to achieve. Do you want to create a dialog box to allow the user to select attributes Or do you want to display an Attribute Table with some attributes ? To build a dialog box, com.vividsolutions.jump.workbench.ui.MultiInputDialog is your friend. In

Re: [JPP-Devel] OJ spoils shapefile if shema is edited

2013-03-01 Thread Michaël Michaud
Hi Larry, Thanks a lot for your patch. It took me time to understand how it works. I noticed that the overrideWithExistingCompatibleDbfFieldDef is used for AttributeType.INTEGER and AttributeType.DOUBLE but for DOUBLE, I could not find a case where the overriding method can change the dbf field.

Re: [JPP-Devel] File open UI issues

2013-03-01 Thread Stefan Steiniger
Hi, yes on the Sextante thing: I assume(!) the same, it file stored as "recent" will be tried to open with the build-in image loader, and not with the Sextante loader. That's why an error is thrown. How to fix that is kind of clear, problem is - what time would it take to implement the referen

[JPP-Devel] [ jump-pilot-Bugs-3606578 ] File list cannot be sorted with jre 1.7

2013-03-01 Thread SourceForge . net
Bugs item #3606578, was opened at 2013-03-01 13:13 Message generated for change (Tracker Item Submitted) made by jratike80 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=679906&aid=3606578&group_id=118054 Please note that this message will contain a full copy of th

Re: [JPP-Devel] File open UI issues

2013-03-01 Thread edgar . soldin
On 28.02.2013 11:25, Rahkonen Jukka wrote: > Hi, > > Testing with r3277 on Windows 7 with jre 1.7 and 1.6 (Oracle) and found two > little issues with File open. > > The first is another Java 1.7 issue: sorting the file list by wildcards by > writing something like "P*.tif" into the filename box

Re: [JPP-Devel] OpenJump driver for Microsoft SQL SERVER.

2013-03-01 Thread Michaël Michaud
Hi Asma, You're on the good list for that. For documentation about how to develop plugins/extensions for OpenJUMP, start with our wiki : https://sourceforge.net/apps/mediawiki/jump-pilot/index.php?title=Developing_with_OpenJUMP To know how to implement a new DB driver, you should first have a l

Re: [JPP-Devel] new release 1.6 bug

2013-03-01 Thread luca marletta
Hi Ede, thanks for support me. I solved !!! Abauot the problem it's not easy have sscreenshot of something that just NOT happen without errors and log. to describe it: all worked well except when you click on grid icon, in this case icon become grey/unactivated as usual, link of attribute table

[JPP-Devel] Viewing attributes on JcomboBox from Postgis database

2013-03-01 Thread Asma ouqalli
Hello, am trying to code a java class(plugin) that creates a popupmenuitem that brings multiple attributes of the selected layer on a combobox on openjump. am trying now to do the same as the "ViewAttributePlugIn" so instead of bringing all the attributes, i want to bring only 3 columns on the comb

[JPP-Devel] Fwd: [OSGeo-Edu] Call for OSGeo projects and mentors for Google Summer of Code 2013

2013-03-01 Thread Stefan Steiniger
not sure what our chances are as non-OSGeo project... but FYI Original-Nachricht Betreff: [OSGeo-Edu] Call for OSGeo projects and mentors for Google Summer of Code 2013 Datum: Wed, 27 Feb 2013 10:39:12 +0100 Von: Anne Ghisla An: OSGeo Discuss list , OSGeo Google Summer of C

Re: [JPP-Devel] OJ spoils shapefile if shema is edited

2013-03-01 Thread Larry Becker
I have a fix that works in SkyJUMP and should work in OpenJUMP. It isn't elegant but it works by avoiding calling overrideWithExistingCompatibleDbfFieldDef when a type change is detected. There may be a more direct solution, but I didn't find one. The patch file for SkyJUMP is: ### Eclipse Works

Re: [JPP-Devel] OJ spoils shapefile if shema is edited

2013-03-01 Thread Larry Becker
I can reproduce it in SkyJUMP. I think this is thte result of using overrideWithExistingCompatibleDbfFieldDef in ShapeWriter. My rational behind this method introduced a few years ago (July 2010) is that the size of the numbers entered during an edit session should not automatically lead to a re

Re: [JPP-Devel] OJ spoils shapefile if shema is edited

2013-03-01 Thread Larry Becker
A more general solution than my last post is: if (columnType == AttributeType.INTEGER) { fields[f] = new DbfFieldDef(columnName, 'N', 11, 0); //LDB: previously 16 DbfFieldDef fromFile = overrideWithExistingCompatibleDbfFieldDef(fields[f], fieldMap);

Re: [JPP-Devel] NPE from Sort selected category

2013-03-01 Thread edgar . soldin
On 01.03.2013 08:40, Michaël Michaud wrote: > Hi, >> Issue 1: >> I cannot select and copy error messages from the error info box with recent >> development versions but I need to keep the Java console open and copy-paste >> from there. > Probably same as 3606328 absolutely >> Issue 2: >> OJ r32

Re: [JPP-Devel] new release 1.6 bug

2013-03-01 Thread Rahkonen Jukka
Hi, Try what happens if you change the skin to something else than the default from the OJ options. -Jukka Rahkonen- luca marletta wrote: > For me bug is still there, > I've installed just now java-7-openjdk-amd64/jre > (and before I tested with java-6-openjdk

Re: [JPP-Devel] new release 1.6 bug

2013-03-01 Thread edgar . soldin
Sorry, can't recall anything specific.. anyway would you mind to send a step by step list (start oj, create layer ... etc.) accompanied by a screen shot from the end when the button does not work? thanks.. ede On 01.03.2013 09:07, luca marletta wrote: > Hi Peppe, I don't think is something rela

[JPP-Devel] [ jump-pilot-Bugs-3606328 ] Copy/Paste is not working after OpenJUMP 3272

2013-03-01 Thread SourceForge . net
Bugs item #3606328, was opened at 2013-02-28 01:19 Message generated for change (Comment added) made by edso You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=679906&aid=3606328&group_id=118054 Please note that this message will contain a full copy of the comment thre

[JPP-Devel] OJ spoils shapefile if shema is edited

2013-03-01 Thread Rahkonen Jukka
Hi, This is bad. I have tested only with r3277 but not with any older versions. I can reproduce this: - Start OJ - Create a layer, add attribute "attr" of type DOUBLE - Make a point, set attr=1.0 - Save as a shapefile - Delete layer, read in the saved shapefile, everything OK - Edit schema, ch

Re: [JPP-Devel] OJ spoils shapefile if shema is edited

2013-03-01 Thread Michaël Michaud
Hi Jukka, Thanks, Can reproduce it. I'll put it on my priority list. Michaël > Hi, > > I have been trying to mail this to dev list since yesterday but there seem to > be some problems. > I spoiled one dataset this way but fortunately I found a copy and just loosed > some time I spent for edit

Re: [JPP-Devel] new release 1.6 bug

2013-03-01 Thread luca marletta
Hi Peppe, I don't think is something relating to 32/64 bit first because I've e 64amd system but I tested both with 64 and 32 bit SUN 1.7 java and OpenSDK 64bit (both 1.6 and 1.7) I didn't test for now with OpenSDK 32bit, I'll soon. second because I guess the problem is inside OJ code and not some

Re: [JPP-Devel] OJ spoils shapefile if shema is edited

2013-03-01 Thread Rahkonen Jukka
Hi, This one looks bad. I have tested only with r3277 but not with any older versions. I can reproduce this: - Start OJ - Create a layer, add attribute "attr" of type DOUBLE - Make a point, set attr=1.0 - Save as a shapefile - Delete layer, read in the saved shapefile, everything OK - Edit sche