Re: [JPP-Devel] Development - OpenJUMP

2010-06-13 Thread Stefan Steiniger
Hei Benjamin, I add you text/info to the wiki - if you don't mind. https://sourceforge.net/apps/mediawiki/jump-pilot/index.php?title=OpenJUMP_and_Groovy thanks for that stefan Benjamin Gudehus schrieb: > That's how the sentences supposed to look like. > > -> ...with Eclipse (using the amazing

Re: [JPP-Devel] Development - OpenJump

2010-06-07 Thread Larry Becker
Hi Caroline, The usual solution is to instantiate a com.vividsolutions.jump.workbench.ui.MultiInputDialog. For a good example see: org.openjump.core.ui.plugin.tools.JoinTablePlugIn. Larry 2010/6/6 Caroline Julliê Freitas Ribeiro > Hi! > I solve the problem for create new Feature, I alter m

[JPP-Devel] Development - OpenJump

2010-06-06 Thread Caroline Julliê Freitas Ribeiro
Hi! I solve the problem for create new Feature, I alter my Schema, create a new Feature based in the altered schema, copy the attributes from the old Feature to teh new Feature e put the new attributes Thanks everybody! Now, I'm having new doubts! :( I'm creating my window, what I may do? Extends

Re: [JPP-Devel] Development - OpenJUMP

2010-06-03 Thread Benjamin Gudehus
2010/6/3 Larry Becker > Hi Benjamin, > > Are you running Groovy from within OJ as we do BeanScript and Jython, or > are you importing the OJ classes to create Groovy programs? > I use Groovy the same way as you use Java (importing the OJ classes). I put groovy-all-1.7.0.jar (ca. 5 MB) into Op

Re: [JPP-Devel] Development - OpenJUMP

2010-06-03 Thread Benjamin Gudehus
That's how the sentences supposed to look like. -> ...with Eclipse (using the amazing Groovy-Eclipse Plugin). NetBeans and IntelliJ IDEA also support Groovy. ... 2010/6/3 Benjamin Gudehus > > 2010/6/3 Larry Becker > > Hi Benjamin, >> >> Are you running Groovy from within OJ as we do BeanScr

Re: [JPP-Devel] Development - OpenJUMP

2010-06-03 Thread Larry Becker
Hi Benjamin, Are you running Groovy from within OJ as we do BeanScript and Jython, or are you importing the OJ classes to create Groovy programs? Larry On Wed, Jun 2, 2010 at 9:43 AM, Benjamin Gudehus wrote: > Hi! > > I wrote a FeatureCollectionBuilder and a FeatureCollectionSchemaEditor for

Re: [JPP-Devel] Development - OpenJUMP

2010-06-02 Thread Benjamin Gudehus
Hi! I wrote a FeatureCollectionBuilder and a FeatureCollectionSchemaEditor for that in Groovy using the Builder design pattern ( http://groovy.codehaus.org/Builders). Look at this example code (from the unit tests). You can add and remove Attributes to the FeatureSchema. private featureCollecti

Re: [JPP-Devel] Development - OpenJUMP

2010-06-02 Thread Larry Becker
For tips on how to do this see: http://sourceforge.net/apps/mediawiki/jump-pilot/index.php?title=Extending_a_FeatureCollection_by_Adding_new_Attributes On Wed, Jun 2, 2010 at 9:17 AM, Larry Becker wrote: > Hi Caroline, > > You seem to be making progress on your project. Your current problem i

Re: [JPP-Devel] Development - OpenJUMP

2010-06-02 Thread Larry Becker
Hi Caroline, You seem to be making progress on your project. Your current problem is that when you alter a schema it only affects new features. You need to replace the old schema in each feature with the new one before copying attributes. regards, Larry 2010/6/2 Caroline Julliê Freitas Ribei

[JPP-Devel] Development - OpenJUMP

2010-06-02 Thread Caroline Julliê Freitas Ribeiro
I tried to put a new attribute to a old Feature, I altered the Schema but looks like the size of the array whete stay the data of the Feature is not actualized. I got the following Stack trace: java.lang.ArrayIndexOutOfBoundsException: 3 at com.vividsolutions.jump.feature.BasicFeature.get