Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] ResetService

Usual story - we wait for someone to ask before sorting out a "correct" way.

As I understand it reset service simply removes the entry; and adds it again. That "is" a bit of hack; and we may wish to consider doing something smarter (especially now that we have some cached things like title and bounding box and georesource properties).

Would the following make sense:
- Reset <-- reconnect
- Refresh <-- refresh any cached stuff (title and bounding box)

And not sure about custom GeoResource properties (such as the WMS Layer tileset definition John just did?).  Perhaps we could seperate out "Reset" from "Reconnect"?

What do you think Emily?

Jody

On 21/01/2012, at 6:48 AM, Emily Gouge wrote:

> 
> I have a service that I would like to reset programmatically.  I can 
> call ResetService.reset(list, monitor) and it works great, however using 
> ResetService causes the following compile warning
> 
> "The type ResetService is not accessible due to restriction on required 
> project net.refractions.udig.catalog.ui"
> 
> I'm assuming this is because the package is not exported in the 
> catalog.ui plugin.
> 
> What is the correct way to programmatically reset a service?
> 
> Thanks,
> Emily
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel



Back to the top