01: package net.refractions.udig.catalog.internal.wms;
02:
03: /**
04: * Constants for use with eclipse tracing api.
05: * Rember only engage tracing if WMSPlugin.getDefault().isDebugging().
06: * <p>
07: * Sample use:<pre><code>
08: * static import net.refractions.udig.project.ui.internal.RENDERING;
09: *
10: * if( WmsPlugin.isDebugging( RENDERING ) ){
11: * System.out.println( "your message here" );
12: * }
13: * </code></pre>
14: * </p>
15: */
16: public interface Trace {
17: /** You may set this to "true" in your .options file */
18: public static final String REQUEST = "net.refractions.udig.catalog.wms/debug/request"; //$NON-NLS-1$
19: }
|