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
Jump-pilot-devel@lists.sourceforge.net
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
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to