Hello,
Rudi Hochmeister wrote:
Hi,
Is it possible to forward an occuring time out - defined in
org.geotools.data.wfs.WFSDataStoreFactory.TIMEOUT - to some user
notification(dialogbox or statusbar). Can you maybe give a helpfull
hint?
see http://wiki.eclipse.org/Platform_UI_Error_Handling
copying and pasting a couple of examples I have:
IStatus status = new Status(IStatus.ERROR, YourPlugin.ID, IStatus.ERROR,
mesg, ex);
ErrorDialog.openError(getSite().getShell(), "Panic", userMessage, status);
or
IStatus status = new Status(IStatus.ERROR, YourPlugin.ID,
IStatus.ERROR, mesg, ex);
StatusManager.getManager().handle(status, StatusManager.SHOW);
(one of them is an old way, but you'll have to read the docs to see which)
Cheers,
Ugo
cheers,
Rudi
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel