01: package net.refractions.udig.project.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: /** Trace rendering such as RenderExecutor and RenderManager and RenderImpl */
21: public static final String RENDER = "net.refractions.udig.project/debug/render/trace"; //$NON-NLS-1$
22: /** Trace the execution of commands */
23: public static final String COMMANDS = "net.refractions.udig.project/debug/commands/trace"; //$NON-NLS-1$
24: public static final String MODEL = "net.refractions.udig.project/debug/model/trace"; //$NON-NLS-1$
25: }
|