01: package net.refractions.udig.project.ui.internal;
02:
03: /**
04: * Constants for use with eclipse tracing api. Rember only engage tracing if
05: * ProjectUIPlugin.getDefault().isDebugging().
06: * <p>
07: * Sample use:
08: *
09: * <pre><code>
10: * static import net.refractions.udig.project.ui.internal.RENDERING;
11: *
12: * if( ProjectUIPlugin.isDebugging( RENDERING ) ){
13: * System.out.println( "your message here" );
14: * }
15: * </code></pre>
16: *
17: * </p>
18: */
19: public interface Trace {
20: /**
21: * Trace ID to print tracing logs during the rendering process
22: */
23: public static final String RENDER = "net.refractions.udig.project.ui/debug/render/trace"; //$NON-NLS-1$
24: /**
25: * Trace ID to print tracing logs during the drag and drop process
26: */
27: public static final String DND = "net.refractions.udig.project.ui/debug/dnd/trace"; //$NON-NLS-1$
28: public static final String VIEWPORT = "net.refractions.udig.project.ui/debug/viewport/trace"; //$NON-NLS-1$
29: }
|