[JPP-Devel] OpenJump

2006-09-06 Thread ben abid haifa
Hello, I don’t know if there is someone who can help me to write code in OpeJump, In fact, I’m using eclipse as an IDE for Java and I want to create a new class which lists all the IDs of geographic Entities of a layer (and their attributes) in the Console of Eclipse. I tried to do it but I fail

Re: [JPP-Devel] OpenJump

2006-09-06 Thread Larry Becker
Hi,  Perhaps it is the interprocess communication that is making your problem difficult?  What we did to solve this problem is to create XML files to communicate information using JUMP's built-in Java2XML.  Of course, you'll have to write code in Eclipse to read and display the file. regards,Larry

Re: [JPP-Devel] OpenJump

2006-09-06 Thread Stefan Steiniger
Hei Ben, have you looked at the help on the openjump.org webseite on "documentation" on how to make a plugin? what you need to do is to have a look in other plugins on - how to retrieve a layer - how retrieve the features from a layer what you could do for instance is to use the BufferPlugIn in

[JPP-Devel] Another question on AbstractCursorTool source code...

2006-09-06 Thread Sunburned Surveyor
I've got another quick question on the AbstractCursorTool source code. It appears that in the definition of the activate() method that the a layerViewPanelListener is removed from the "panel" member variable that stores the LayerViewPanel the CursorTool operates "over". I am wondering if this is

Re: [JPP-Devel] Another question on AbstractCursorTool source code...

2006-09-06 Thread Larry Becker
Hi Sunburned,   I think what is going on here is that activate is used to change from one LayerViewPanel to another.  When the change is made, the listener for the old panel has to be deactivated so that the cursor tool will listen only to the mouse events in the newly activated panel.  If you remo

Re: [JPP-Devel] Another question on AbstractCursorTool source code...

2006-09-06 Thread Sunburned Surveyor
Larry, That makes total sense! Thanks for the help. It will take me a while to read trough and understand this CursorTool code, but I'm learning a lot about OpenJUMP's code base and I think it'll be worth the effort in the long run. Thanks again for the help. The Sunburned Surveyor On 9/6/06,