Re: [JPP-Devel] SetAttributes extension

2015-05-11 Thread Michaël Michaud
Hi Jukka, Thanks for the tests. Here is a version 0.4 with better messages (and resources for translation). https://sourceforge.net/projects/jump-pilot/files/OpenJUMP_plugins/More%20Plugins/SetAttributes%20PlugIn/ Note that the xml attribute atomic in button element makes the plugin more or

Re: [JPP-Devel] SetAttributes extension

2015-05-11 Thread Giuseppe Aruta
Hi Michael, I tested your plugin. - I create a new layer and called *Test_Layer* - Add an attribute to the layer, called *Test_attribute* - Open XML file. On lines *button icon= text=... atomic=true layer=...*, I modified *layer=**Test_Layer* - On the lines *attribute name=... value=.../*.

Re: [JPP-Devel] SetAttributes extension

2015-05-11 Thread Rahkonen Jukka (MML)
Hi Michaël, I think that the inconsistency message is useful. About the other message: SetAttributesPlugIn.no-feature-found = No selected feature found in a matching editable layers What if to tell also which layers are searched for No selected feature found in a matching editable layers.

Re: [JPP-Devel] SetAttributes extension

2015-05-11 Thread Rahkonen Jukka (MML)
Hi, Is there a way to make a button that sets the attribute value into “NULL” ? -Jukka Rahkonen- Giuseppe Aruta wrote: Hi Michael, I tested your plugin. - I create a new layer and called Test_Layer - Add an attribute to the layer, called Test_attribute - Open XML file. On lines button

Re: [JPP-Devel] SetAttributes extension

2015-05-11 Thread edgar . soldin
Mike, you could make it intuitively working by filling in the text 'NULL' in gray letters as a default when the field is empty. see how it's done in Open Declaration com.vividsolutions.jump.workbench.ui.network.ProxySettingsOptionsPanel around line 205. ..ede On 11.05.2015 22:44, Rahkonen

Re: [JPP-Devel] SetAttributes extension

2015-05-11 Thread Michaël Michaud
Here is the documentation. Feel free to improve it. http://ojwiki.soldin.de/index.php?title=Set_Attributes_extension No idea what can happen with the editing tools as this extension has nothing to do with cursor tool. If you find something reproducible, please fill a bug report. Michaël Le

Re: [JPP-Devel] SetAttributes extension

2015-05-11 Thread Rahkonen Jukka (MML)
Confirmed, that't worth documenting as well. There may be some buggy interaction between the plugin and the normal operations but I haven't yet found a way to reproduce. I believe that for couple of times after using the SetAttribute boxes for the first time in a new project, if I went back

Re: [JPP-Devel] SetAttributes extension

2015-05-11 Thread Michaël Michaud
Hi Jukka, Peppe, Thanks again for the feedback, I'll try to follow you suggestion about error message. Constraining a button to work only on a certain type of geometry is a bit more work, but it seems feasable. What do you think about using geometry dimension (0,1,2) instead of the 7 geometry

Re: [JPP-Devel] SetAttributes extension

2015-05-11 Thread Michaël Michaud
Hi, You should be able to achieve this by omitting the value attribute. Michaël Le 11/05/2015 16:03, Rahkonen Jukka (MML) a écrit : Hi, Is there a way to make a button that sets the attribute value into “NULL” ? -Jukka Rahkonen- Giuseppe Aruta wrote: Hi Michael, I tested your plugin.

Re: [JPP-Devel] SetAttributes extension

2015-05-10 Thread Rahkonen Jukka (MML)
Hi, Feature feels useful and simple to use and configure. My first experiences: - I could not make the buttons which should update attribute Nom0 to work. I have that attribute in the table as String but the result is always No selected feature found in a matching editable layers - Error

Re: [JPP-Devel] SetAttributes extension

2015-05-10 Thread Rahkonen Jukka (MML)
Hi, I got it, this tool edits only layer named as layerName. I think that this tool will need a manual with good examples and also some improvements to the error messages but it will become a good tool and nice addition into OJ Plus. -Jukka Rahkonen-

[JPP-Devel] SetAttributes extension

2015-05-08 Thread Michaël Michaud
Hi Jumpers, I just committed code of a new extension which makes it possible to create toolboxes from xml to set one or many attribute(s) values of a selection of features in one click. The toolbox is composed of as many buttons as needed, each button set attributes of one or several attributes

Re: [JPP-Devel] SetAttributes extension

2015-05-08 Thread Giuseppe Aruta
Hi Michaël, it sounds interesting. Thank you. I will test and give a feedback. Peppe 2015-05-08 21:06 GMT+02:00 Michaël Michaud m.michael.mich...@orange.fr: Hi Jumpers, I just committed code of a new extension which makes it possible to create toolboxes from xml to set one or many