I've got the logic for the "Send To Layer" button in my Super Select
Tool working. I basically "stole" some of the code from the
CopySelectedItemsPlugIn class and the PasteItemsPlugIn class.

I can now confirm that the copy-paste operation of Features between
Layers in OpenJUMP does indeed copy attribute values between what ever
attributes in both the source and destination FeatureSchema that share
a common name and data type. [See the conform(Collection collection,
FeatureSchema schema) methods of the PasteItemsPlugIn class.]

I haven't looked in great detail at the replicate tool, so I can't say
at this time if it's behavior is significantly different.

At any rate, the "Send To Layer" button of the Super Select Tool will
duplicate the current behavior of OpenJUMP when copy and pasting
features between layers. I will, however, allow the user to specify
that only feature geometries should be sent to the destination layer,
even when attributes match. This will be done in the configuration
settings.

I'll I have left to do before I test the tool is to write the method
that parses the configuration file, and the hooking of the
configuration GUI to the plug-in. I'll probably release a version for
testing on Monday, but won't get an internationalized version finished
until sometime next week.

The Sunburned Surveyor

P.S. - Has anyone tried the automatic internationalization of GUI
components using Netbeans? How does it work?

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to