hello
i am having a few problems to make things correct. I added cut/copy/paste/duplicate actions on my widget but they are not really exact copys. every MapLayer duplicate become a DefaultMapLayer. So if someone use different implementation of MapLayer there will be some lost values when we duplicate. screenshot : http://img442.imageshack.us/img442/3098/tempaa5.jpg I think it would be necessary to add a method clone() on the MapLayer and MapContext interface, add related Classes like Filter, Query ...( implements Cloneable ) But doing so will change many things... are perhaps not... i dont know could this be possible? For now i'm using a kind of factory to "clone", but it only copy the visible attributs that provide the interface ... far to be real clone. what you think about it? johann sorel ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
