01: package net.refractions.udig.internal.ui;
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( UiPlugin.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 DND = "net.refractions.udig.ui/debug/dnd"; //$NON-NLS-1$
19: /** traces the locking/unlocking of the UDIGDisplaySafeLoc */
20: public static final String UDIG_DISPLAY_SAFE_LOCK = "net.refractions.udig.ui/debug/udigdisplaysafelock"; //$NON-NLS-1$
21: public static final String FEATURE_TABLE = "net.refractions.udig.ui/debug/featuretable"; //$NON-NLS-1$
22: }
|