01: package net.refractions.udig.printing.model;
02:
03: /**
04: * Constants for use with eclipse tracing api.
05: * Rember only engage tracing if PrintingModelPlugin.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 PRINTING = "net.refractions.udig.printing.model/debug/printing/trace"; //$NON-NLS-1$
19: }
|