Justin Deoliveira ha scritto: ... > I think I like the icon decorator. Its the same deal as eclipse does > errors and I think it works well. I believe udig does this too.
Ok. Rolando, do you think you can make me a decorating icon? (just the red marker alone, I believe I can compose the full icon at runtime, if it's too hard, I'll ask you for the fully decorated icons) >> >> One drawback of this kind of error reporting is that >> we have to scan the whole catalog in order to provide >> it, so it won't scale very well. On the other side, >> that's exactly what we're doing nowadays anyways, >> scannign the whole catalog in order to build the >> green/red/gray status bars. > The StoreInfo interface has a getError()/setError(). The point of this > method is to track when a store has a problem. Could we use this as an > alternativ to scanning the entire catalog. Basically anytime > ResourcePool tries to connect to a store using a StoreInfo it would > store the error that occurs (if it does) in this property. If no error > occurs it clears the property. Ok, so to make sure I would still have to try and connect to the datastore and then check for error message. Like, I cannot be sure an attempt to connect already occurred? (or can I?) Cheers Andrea ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
