[JPP-Devel] SVN: [5398] plug-ins/CADExtension/trunk/src/org/openjump/advancedtools/ tools/ParalelAuxiliarylLineTool.java

2017-03-22 Thread jump-pilot-svn
Revision: 5398 http://sourceforge.net/p/jump-pilot/code/5398 Author: ma15569 Date: 2017-03-22 19:54:24 + (Wed, 22 Mar 2017) Log Message: --- Add check for exactly one selected geometry Modified Paths: -- plug-ins/CADExtension/trunk/src/org/openjump/adva

Re: [JPP-Devel] SVN: [5392] plug-ins/CADExtension/trunk/src/org/openjump/advancedtools

2017-03-22 Thread Giuseppe Aruta
So that in summary We could add a line: public static String LENGTH=I18N.get("org.openjump.core.ui.plugin.edittoolbox.tab.ConstraintsOptionsPanel.Length") but since we are not sure that in any of language translation org.openjump.core.ui.plugin.edittoolbox.tab.ConstraintsOptionsPanel.Length is e

Re: [JPP-Devel] SVN: [5392] plug-ins/CADExtension/trunk/src/org/openjump/advancedtools

2017-03-22 Thread Rahkonen Jukka (MML)
Hi, Strings which are used alone like "OK" or "Cancel" in the buttons, or as a title for messages like in "Error: [something happened]" are rather safe as general string also in Finnish. However, even "Attribute" probably always translates well into Finnish as "Ominaisuustieto", there is not al

[JPP-Devel] SVN: [5397] core/trunk/lib/plus

2017-03-22 Thread jump-pilot-svn
Revision: 5397 http://sourceforge.net/p/jump-pilot/code/5397 Author: ma15569 Date: 2017-03-22 15:11:41 + (Wed, 22 Mar 2017) Log Message: --- * Updated Measure Toolbox plugin to ver. 12 - Measure Area tool on drag mode shows correct area/perimeter/length of re

Re: [JPP-Devel] SVN: [5392] plug-ins/CADExtension/trunk/src/org/openjump/advancedtools

2017-03-22 Thread edgar . soldin
ok, read it again. and yes we could do that, but *no* it is very dirty. we should rather copy the translation for the few generic translations we will add initially from keys where english or your own language suggests it is _really_ used generically contextwise. ..ede On 22.03.2017 15:22, e

Re: [JPP-Devel] SVN: [5392] plug-ins/CADExtension/trunk/src/org/openjump/advancedtools

2017-03-22 Thread edgar . soldin
yes, but it is "stupid" because 1. we have to add two entries. the one in the language files and the one in the interface (btw. that's not what interfaces are meant for) 2. we have two mechanisms then, static variables _and_ i18n. this means we start to mix I18N.getMessage() calls w/ GenericNam

Re: [JPP-Devel] SVN: [5392] plug-ins/CADExtension/trunk/src/org/openjump/advancedtools

2017-03-22 Thread Giuseppe Aruta
Using com.vividsolutions.jump.workbench.ui.GenericNames we don't need even to add new ui.Generics.s to language/jump files. For instance, "Attributes" string could be a new line into GenericsNames: public static String ATTRIBUTES=I18N.get("org.openjump.core.ui.plugin.tools.generate.LinearRefer

Re: [JPP-Devel] SVN: [5392] plug-ins/CADExtension/trunk/src/org/openjump/advancedtools

2017-03-22 Thread edgar . soldin
found it com.vividsolutions.jump.workbench.ui.GenericNames is an Interface and uses the translations ui.GenericNames.* i mentioned previously to Pepe. i don't feel we should continue this line of coding. it makes sense for a very limited amount of fixed strings, like menu names, but not for a

Re: [JPP-Devel] SVN: [5392] plug-ins/CADExtension/trunk/src/org/openjump/advancedtools

2017-03-22 Thread edgar . soldin
Stefan, what do you mean by class? com.vividsolutions.jump.workbench.ui.MenuNames ? deals only with menu names. ..ede On 22.03.2017 15:23, Stefan Steiniger wrote: > Hi Ede, > > > > we have a class for generic strings already - since the beginning, i think. > > > > cheers, > > stefan

Re: [JPP-Devel] SVN: [5392] plug-ins/CADExtension/trunk/src/org/openjump/advancedtools

2017-03-22 Thread Stefan Steiniger
<<< text/html; charset=utf-8: Unrecognized >>> -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Ju

Re: [JPP-Devel] SVN: [5392] plug-ins/CADExtension/trunk/src/org/openjump/advancedtools

2017-03-22 Thread edgar . soldin
On 22.03.2017 13:04, Giuseppe Aruta wrote: > I will anyhow give a look to "jump" files to find a possible list of "general > terminology" string list that can be used for the future - and maybe write a > page on our wiki that won't hurt.. we have already some strings under ui.GenericNames.* ui.

Re: [JPP-Devel] SVN: [5392] plug-ins/CADExtension/trunk/src/org/openjump/advancedtools

2017-03-22 Thread Giuseppe Aruta
>how about after 1.11? ..ede Yes, thanks. I will anyhow give a look to "jump" files to find a possible list of "general terminology" string list that can be used for the future - and maybe write a page on our wiki Peppe 2017-03-22 12:36 GMT+01:00 : > Peppe, > > On 22.03.2017 11:59, Giuseppe Ar

Re: [JPP-Devel] CAD draw (aux) parallel line

2017-03-22 Thread Giuseppe Aruta
Good point Ede! I was thinging around since a while Kosmo allows that buttons on ToolboxPlugIn are enabled/disabled depending to check conditions. I still don't know if OpenJUMP can do the same. In my experience Enablecheck do works ToolboxPlugIn. But buttons are still enabled even if tool doesn'

Re: [JPP-Devel] CAD draw (aux) parallel line

2017-03-22 Thread edgar . soldin
ic.. thx ede On 22.03.2017 11:49, Rahkonen Jukka (MML) wrote: > One tool makes a parallel copy of the line (keeps the length) while the other > extents it to the limits of the visible map view. Difference is easier to > notice with short lines, with polygons (linear rings) it is not so clear to

Re: [JPP-Devel] CAD draw (aux) parallel line

2017-03-22 Thread edgar . soldin
On 22.03.2017 11:53, Giuseppe Aruta wrote: > Draw aux parallel line draws a parallel segment to a selected geometry > 1a) In the case of a selected linestring the parallel new linestrig length is > extended to the view > 2a) In the case of a selected polygon are proportionally longer except first

Re: [JPP-Devel] SVN: [5392] plug-ins/CADExtension/trunk/src/org/openjump/advancedtools

2017-03-22 Thread edgar . soldin
Peppe, On 22.03.2017 11:59, Giuseppe Aruta wrote: > Hi Ede, > I like the new org.openjump.advancedtools.language.I18NPlug glad you like it. after all we have a working I18N implementation already. no need for duplicated code. > I will try to use on all my other plugin. yeah, a thin wrapper rea

Re: [JPP-Devel] CAD draw (aux) parallel line

2017-03-22 Thread Giuseppe Aruta
Hi Ede Draw parallel tool draws a parallel segment to a selected geometry 1) In the case of a selected linestring, the parallel new linestrig preserve the length of the original 2) In the case of a selected polygon, the parallel linestrings are proportionally longer except first and last segmen

Re: [JPP-Devel] SVN: [5392] plug-ins/CADExtension/trunk/src/org/openjump/advancedtools

2017-03-22 Thread Giuseppe Aruta
Hi Ede, I like the new org.openjump.advancedtools.language.I18NPlug I will try to use on all my other plugin. Right a question. Is it possible to implement the code in the way that it is related to both plugin and main OJ language files? For instance (CAD tools) , it checks a language string in

Re: [JPP-Devel] CAD draw (aux) parallel line

2017-03-22 Thread Giuseppe Aruta
I can add a check to limit draw parallel lines to linestring Jukka, Ede and Michael, what is your opinion? 2017-03-22 11:51 GMT+01:00 Giuseppe Aruta : > Hi Ede > > Draw parallel tool draws a parallel segment to a selected geometry > 1) In the case of a selected linestring the parallel new linestr

Re: [JPP-Devel] CAD draw (aux) parallel line

2017-03-22 Thread Giuseppe Aruta
Hi Ede Draw parallel tool draws a parallel segment to a selected geometry 1) In the case of a selected linestring the parallel new linestrig preserve the length of the original 2) In the case of a selected polygon are proportionally longer except first and last segment of the linestring wher thei

Re: [JPP-Devel] CAD draw (aux) parallel line

2017-03-22 Thread Rahkonen Jukka (MML)
One tool makes a parallel copy of the line (keeps the length) while the other extents it to the limits of the visible map view. Difference is easier to notice with short lines, with polygons (linear rings) it is not so clear to see what happens. -Jukka- -Alkuperäinen viesti- Lähettäjä:

[JPP-Devel] CAD draw (aux) parallel line

2017-03-22 Thread edgar . soldin
hey All, can someone tell me the difference? they seem to work identically. ..ede -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___

Re: [JPP-Devel] SVN: [5392] plug-ins/CADExtension/trunk/src/org/openjump/advancedtools

2017-03-22 Thread edgar . soldin
On 21.03.2017 21:42, Michaël Michaud wrote: > Hi, > > You're right, there are many duplicates (and I must admit I recognize several > plugins of mine). > > Removing all duplicates would be a very big effort. bad idea. we've got enough on our plates as it is. > But as a first step, we could ad

Re: [JPP-Devel] SVN: [5392] plug-ins/CADExtension/trunk/src/org/openjump/advancedtools

2017-03-22 Thread edgar . soldin
On 21.03.2017 20:26, Giuseppe Aruta wrote: > Sorry Ede. no biggie > Looking for "source" string, I just noted that in OJ language files we have > some strings which look like duplicates: > for instance: > org.openjump.core.ui.plugin.tools.JoinAttributesSpatiallyPlugIn.source-layer > org.openjum