Hi Michael,
I tested ColorChooser plugin with latest OJ NB (20120616-r2939).
a) It doesn't search COLOR attribute, now
b) It changes the color of all selected features
I upload my site with a new version of colorchooser plugin
(https://sourceforge.net/projects/opensit/files/Openjump/PlugIn/colorchooser/ColorChooser4.jar/download)
which has source code embedded
I made a test with Ubuntu 11.10 - Can you give a look with Windows, please?
Giuseppe
________________________________
Da: Michaël Michaud <[email protected]>
A: Giuseppe Aruta <[email protected]>; OpenJump develop and use
<[email protected]>
Inviato: Domenica 17 Giugno 2012 22:09
Oggetto: Re: [JPP-Devel] ColorChooser plugin
Hi Giuseppe,
I made a small test with the ColorChooser plugin.
Code change in BasicStyle looks fine, but when I try to apply a
new color on selected features,
I get the following exception.
java.lang.IllegalArgumentException: Nom d'attribut non reconnu:
COLOR
at
com.vividsolutions.jump.feature.FeatureSchema.getAttributeIndex(FeatureSchema.java:86)
at
com.vividsolutions.jump.feature.AbstractBasicFeature.setAttribute(AbstractBasicFeature.java:77)
at
geoarbores.com.isa.jump.plugin.FeatureColorChooserPlugIn$7.execute(FeatureColorChooserPlugIn.java:312)
Seems that the plugin is looking for a "COLOR" attribute (instead
of R_G_B ?), but I could not check further
because source code is not included in colorchooser3.jar
Moreover, if I select several features, it seems that color is
applied to the first one in the selection only.
Suggestion : what do you think about making a single button
instead of two (right click to drop down the list) ?
Michaël
Hi all,
>Following OJ Roadmap, I made a small modification to BasicStyle.jar file on
>SVN in order to use ColorChooser plugin (stored
>here: http://sourceforge.net/projects/opensit/files/Openjump/PlugIn/colorchooser/).
>I tested it today with a fresh OJ NB and it seems to work fine. I invite the
>other developers/user to give a feedback.
>Regards
>
>
>Giuseppe
>
>
>
>
>
>------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>
>
>_______________________________________________
Jump-pilot-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel ------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel