Bug 137378 Remove duplicated implementation from BIRT oda.flatfile.ui
The BIRT oda.flatfile.ui currently duplicates/copies the implementation of DTP oda.flatfile.ui, which makes it difficult to maintain. Also, it is confusing to the open source community, seeing 2 versions of almost the same implementation in BIRT and DTP. The BIRT oda.flatfile.ui plugin should either be removed, or have it either directly use or extend the DTP oda.flatfile.ui implementation; similar to BIRT oda.flatfile extending DTP oda.flatfile.
UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer/core/DesignerConstants.java
public static final boolean TRACING_COMMANDS = getDebugOption( "commands" ); 
	public static final boolean TRACING_MEDIATOR_COLLEAGUE_ADD = getDebugOption( "mediator.addColleague" ); 
	public static final boolean TRACING_MEDIATOR_COLLEAGUE_REMOVE = getDebugOption( "mediator.removeColleague" ); 
	public static final boolean TRACING_MEDIATOR_GLOBAL_COLLEAGUE_ADD = getDebugOption( "mediator.addGlobalColleague" ); 
	public static final boolean TRACING_MEDIATOR_GLOBAL_COLLEAGUE_REMOVE = getDebugOption( "mediator.removeGlobalColleague" ); 
	public static final boolean TRACING_MEDIATOR_NOTIFY = getDebugOption( "mediator.notifyRequest" ); 
	public static final boolean TRACING_MEDIATOR_STATE_POP = getDebugOption( "mediator.popState" ); 
	public static final boolean TRACING_MEDIATOR_STATE_PUSH = getDebugOption( "mediator.pushState" ); 
	public static final boolean TRACING_MEDIATOR_STATE_RESTORE = getDebugOption( "mediator.restoreState" ); 
	public static final boolean TRACING_MEDIATOR_DISPOSE = getDebugOption( "mediator.dispose" ); 
	public static final boolean TRACING_IMAGE_MANAGER_IMAGE_ADD = getDebugOption( "imageManger.addImage" ); 
	public static final boolean TRACING_IMAGE_MANAGER_IMAGE_REMOVE = getDebugOption( "imageManger.removeImage" ); 
	/**
	 * Returns the debug option with the given id
	 * 
	 * @param id
	 *            the id of the debug option
	 * @return the debug option,or false if the id doesn't exist.
	 */
	public static boolean getDebugOption( String id )
	{
		boolean option = false;
		if ( DEBUG )
		{
			option = "true".equalsIgnoreCase( Platform.getDebugOption( "org.eclipse.birt.report.designer.core/tracing/" 
					+ id ) );
		}
		return option;
	}
}