Re: [JPP-Devel] plugin internationalization

2009-04-05 Thread Larry Becker
I'm surprised that you ran out of heap that fast, but I guess the typical use would be to change the Geometry Type of an entire layer so perhaps you're right not to undo. Larry On Sun, Apr 5, 2009 at 5:26 PM, Edgar Soldin wrote: > in this case you should be able to reuse the updated plugin unch

Re: [JPP-Devel] plugin internationalization

2009-04-05 Thread Edgar Soldin
in this case you should be able to reuse the updated plugin unchanged... what do you think about the undoable choice option? On a quick test the default heap filled up quite quick by converting a bunch of geometries. Also the whole operation stpped in the middle because of that. .. ede > Hi, > >

Re: [JPP-Devel] plugin internationalization

2009-04-05 Thread Larry Becker
Hi, SkyJUMP also has MenuNames for compatibility with OJ. I also recently added I18N strictly so that I could get the latest Simple Query code. OJ should come first, but I'll definitely be updating the Geometry conversion in SkyJUMP. Larry On Sun, Apr 5, 2009 at 4:01 PM, Edgar Soldin wrote:

Re: [JPP-Devel] plugin internationalization

2009-04-05 Thread Edgar Soldin
Stefan Steiniger wrote: > The tools menu should be generated by the new default-plugins.xml file > > to get the international version we use the string retrieved from > MenuNames.TOOLS > > The first plugin that adds an entry to Edit Geometries should be: > org.openjump.core.ui.plugin.tools.geometry

Re: [JPP-Devel] plugin internationalization

2009-04-05 Thread Stefan Steiniger
The tools menu should be generated by the new default-plugins.xml file to get the international version we use the string retrieved from MenuNames.TOOLS The first plugin that adds an entry to Edit Geometries should be: org.openjump.core.ui.plugin.tools.geometrychange.ExtractPointsPlugIn acc

Re: [JPP-Devel] plugin internationalization

2009-04-05 Thread Edgar Soldin
Hi All, I have recent OJ sources and am working on the internationalized GeomConv Plugin. Anyway I can't seem to find the 'Tools' Menu Entry .. is it an entry generated by Plugins? Which plugin does use it populating entries under 'Edit Geometries'? I am just concerned about the ordering of the me

Re: [JPP-Devel] plugin internationalization

2009-04-01 Thread Larry Becker
IMO, it should go under src.de.soldin... and be listed in the scripts.default-plugins.xml. By putting it in the src tree, it will become part of the builds and you can add your I18N strings to the property files under src/language. Larry On Wed, Apr 1, 2009 at 3:57 PM, Edgar Soldin wrote: > Do

Re: [JPP-Devel] plugin internationalization

2009-04-01 Thread Edgar Soldin
Do you mean like a default plugin or do you actually want to put in the core source tree? I would prefer the plugin choice. Keeps it lightweight. .. ede > I agree - should be part of the core, > > I once looked into it and to add it to the core - but by programming > knowledge was/is to restricte

Re: [JPP-Devel] plugin internationalization

2009-04-01 Thread Stefan Steiniger
I agree - should be part of the core, I once looked into it and to add it to the core - but by programming knowledge was/is to restricted to understand how you automatically generated the conversion and menu items. stefan Sunburned Surveyor wrote: > Larry and Ede, > > I would have no problem

Re: [JPP-Devel] plugin internationalization

2009-04-01 Thread Sunburned Surveyor
Larry and Ede, I would have no problem including the tool in the core. What does Stefan think? SS On Wed, Apr 1, 2009 at 6:19 AM, Larry Becker wrote: > Adding internationalization is pretty easy.  See any OJ PlugIn for > examples.  The Wiki page is: > > http://openjump.org/wiki/show/How+to+use+

Re: [JPP-Devel] plugin internationalization

2009-04-01 Thread edgar . soldin
Thanks for the hint ... I will check these. Regarding the placement of the Menu Item I definitely agree and will place it there in the internationalized version. regards ede -- > Adding internationalization is pretty easy. See any OJ PlugIn for > examples. The Wiki page is: > > http://openjum

Re: [JPP-Devel] plugin internationalization

2009-04-01 Thread Larry Becker
Adding internationalization is pretty easy. See any OJ PlugIn for examples. The Wiki page is: http://openjump.org/wiki/show/How+to+use+i18n+Internationalization The only hard part is editing the language/property files. It helps to use a property editor like https://prbeditor.dev.java.net/ tha

Re: [JPP-Devel] plugin internationalization

2009-04-01 Thread edgar . soldin
Thanks Larry, I will fetch your new sources ... but I still wonder how to start on internationalization? Anybody, any hints? regards ede -- > Hi Edgar, > > I modified your converter to do batch in SkyJUMP a while ago where > it is a standard PlugIn. You can take a look at the changes I mad

Re: [JPP-Devel] plugin internationalization

2009-03-31 Thread Larry Becker
Hi Edgar, I modified your converter to do batch in SkyJUMP a while ago where it is a standard PlugIn. You can take a look at the changes I made at: http://skyjump.cvs.sourceforge.net/viewvc/skyjump/skyjump/de/soldin/gt2jump/geomconv/ Internationalization would be nice. I think it should be a