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, > > 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 <edgar.sol...@web.de> wrote: > > >> 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: >>> >>> >> <plug-in>org.openjump.core.ui.plugin.tools.geometrychange.ExtractPointsPlugIn</plug-in> >> >>> according to default.xml file. >>> >> ahhh .. just set it up in eclipse but didnt add the default-plugins file >> to the run configuration .. makes sense this way >> >> >>> but this hold only for OpenJUMP. I am not sure if you could use the >>> MenuNames class for skyjump (i.e. you would need to use the i18n check >>> - since SkyJUMP is not internationalized) >>> >> the plugin is meant to be integrated in openjump when internationalized. >> Under Tools/Edit Geometries. So no SkyJump limitations apply and I'll >> try to work according to the docs on the wiki or as I can learn from the >> other default plugins then. >> >> >> thanks ... ede >> >> >>> stefan >>> >>> PS: the current default-plugins.xml file is attached >>> >>> Edgar Soldin schrieb: >>> >>>> 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 menuitems. >>>> >>>> thanks ede >>>> >>>> -- >>>> >>>>> 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/ that will >>>>> edit and >>>>> spell check multiple languages at the same time. >>>>> >>>>> It would be easier if it was under the OJ source tree. Then you >>>>> could just >>>>> add i18N strings to the existing language files. It would fit quite >>>>> nicely >>>>> under Tools->Edit Geometry->Convert, don't you think? >>>>> >>>>> regards, >>>>> Larry >>>>> >>>>> On Wed, Apr 1, 2009 at 4:33 AM, <edgar.sol...@web.de> wrote: >>>>> >>>>> >>>>> >>>>>> 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 >>>>>>> made at: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >> http://skyjump.cvs.sourceforge.net/viewvc/skyjump/skyjump/de/soldin/gt2jump/geomconv/ >> >>>>>> >>>>>>> Internationalization would be nice. I think it should be a standard >>>>>>> part of OJ too! >>>>>>> >>>>>>> regards, >>>>>>> Larry >>>>>>> >>>>>>> On Tue, Mar 31, 2009 at 10:10 AM, <edgar.sol...@web.de >>>>>>> <mailto:edgar.sol...@web.de>> wrote: >>>>>>> >>>>>>> Hi all, >>>>>>> >>>>>>> just found some time (laying around lazily) and set up OJ from >>>>>>> svn >>>>>>> >>>>>>> >>>>>> and >>>>>> >>>>>> >>>>>>> my old extensions.... >>>>>>> To get warm with it I am gonna update geometry conversion >>>>>>> tool. To >>>>>>> keep >>>>>>> it simple for now. >>>>>>> >>>>>>> I want to internationalize it and add support for batch (multiple >>>>>>> geometries selected) conversion. This came up a while ago. >>>>>>> >>>>>>> As I am new to internationalization topic I just want to know if >>>>>>> >>>>>>> >>>>>> there >>>>>> >>>>>> >>>>>>> is some documentation about how to do it. Implementing, and >>>>>>> translating >>>>>>> the strings later .. the whole process. Or is there a good >>>>>>> example in >>>>>>> the code somewhere? >>>>>>> >>>>>>> Thanks a lot .. Ede >>>>>>> >>>>>>> >>>>>>> >>>>>>> >> ------------------------------------------------------------------------------ >> >>>>>> >>>>>>> _______________________________________________ >>>>>>> Jump-pilot-devel mailing list >>>>>>> Jump-pilot-devel@lists.sourceforge.net >>>>>>> <mailto:Jump-pilot-devel@lists.sourceforge.net> >>>>>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> http://amusingprogrammer.blogspot.com/ >>>>>>> >>>>>>> >> ------------------------------------------------------------------------ >> >>>>>>> >>>>>>> >>>>>>> >> ------------------------------------------------------------------------------ >> >>>>>> >> ------------------------------------------------------------------------ >> >>>>>>> _______________________________________________ >>>>>>> Jump-pilot-devel mailing list >>>>>>> Jump-pilot-devel@lists.sourceforge.net >>>>>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >>>>>>> >>>>>>> >>>>>>> >> ------------------------------------------------------------------------------ >> >>>>>> _______________________________________________ >>>>>> Jump-pilot-devel mailing list >>>>>> Jump-pilot-devel@lists.sourceforge.net >>>>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >> ------------------------------------------------------------------------ >> >>>>> >>>>> >> ------------------------------------------------------------------------------ >> >>>>> >>>>> >> ------------------------------------------------------------------------ >> >>>>> _______________________________________________ >>>>> Jump-pilot-devel mailing list >>>>> Jump-pilot-devel@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >>>>> >>>>> >>>> >>>> >> ------------------------------------------------------------------------------ >> >>>> _______________________________________________ >>>> Jump-pilot-devel mailing list >>>> Jump-pilot-devel@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >>>> >>>> >>>> >>> ------------------------------------------------------------------------ >>> >>> >>> >> ------------------------------------------------------------------------------ >> >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Jump-pilot-devel mailing list >>> Jump-pilot-devel@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >>> >>> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Jump-pilot-devel mailing list >> Jump-pilot-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >> >> > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > ------------------------------------------------------------------------------ _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel