01: package net.refractions.udig.render.internal.wms.basic;
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 RENDER = "net.refractions.udig.render.wms.basic/debug/render/trace"; //$NON-NLS-1$
19: }
|