Hi Peppe,
Just had a quick test. Works fine.
Here are some questions and remarks :
Is your proposal to replace curent merge/union bu kosmo's or to add it ?
Replace : current plugin preserve attributes of the first selected feature.
Once you know it, I think it is generally easier to use than kosmo plugin.
I would be inclined to preserve old attribute, but if we decide to replace
it, I think we must make possible to valid the merge (button OK) without
choosing explicitly a feature throught the dialog box)
Add : if we want to add a new menu, we must choose an explicit name
to differenciate both plugins (combine features and choose attribute
source ?)
I think it would be simpler to use if the feature could be highlighted
while selecting the corresponding line (and without clicking the light
button)
Question : wouldn't be more useful if we had the feature info (table
with all
the attributes of selected objects) instead of the feature internal
number in
the dialog ?
In other words, could we open the info tool instead of this special
dialog to
choose the feature ?
Michaƫl
Hi all,
In the last days I worked around to Kosmo code to port some
enhancements and tools into OpenJUMP that could be usefull.
Among them, I want to submit these two ones ( I added to this mail, as
a extension) which are modified version of OJ
CombineSelectedFeaturesPlugIn and MergeSelectedFeaturesPlugIn classes,
located on select feature popup menu.
These new plugins show a dialog where user can choose, within selected
feature, which attribute to copy to the new Merged (or new Combined) item.
I ported a new class to OJ from Kosmo: FeatureUnionDialog. And I used
another Kosmo class (FormUtil) to define some parameters for that dialog.
I used original OJ classes which I modified following Kosmo code (and
used Kosmo dialog class)
I tested both plugin and seems to me that they work fine, on executing.
I found problems on the undo action: in both plugins it restores all
the original selected feature except the one, choosed during the do
process in the dialog. I remember that this was a behaviour of an old
version of MergeSelectedFeaturesPlugIn that was recently corrected.
Anyhow I used a very recent code to modify MergeSelectedFeaturesPlugIn
and CombineSelectedFeaturesPlugIn.
I add the plugins to this mail and I ask to the community an help to
correct this bug.
I will add these modifications to OJ NB by the time they will working
fine, if you agree, of coarse
In the next months I will submit other Kosmo enhancements I am working
around.
The new Combine and Merge Feature plugin, from this extension, are
activated both on "PlugIn>Test" menu and on Select Feature popup menu.
I also ported the translation into Finnic, German, Italian and Spanish
from Kosmo (I remember that Jukka was the author of Finnic language file)
Thanks
Peppe
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel