Bug 119792 Preview the current selected report automtically in BIRT debugger workbench
With M3 build, after the debugger is launched, the user has to manually select the report design, and preview the report. In most cases, people expect the debugger will open the current selected report design file, and preview the report automatically. This is similar to debug a java application, the java debugger will use the main() as the entry point in the current project, start execute it. If the current selected file is not a report design, it should behave as it does now.
UI/org.eclipse.birt.report.debug.ui/src/org/eclipse/birt/report/debug/ui/launcher/ReportLaunchConfigurationDelegate.java
public class ReportLaunchConfigurationDelegate extends
		EclipseApplicationLaunchConfiguration implements
		IReportLauncherSettings
{
	/**
	 * It is roperty key.
	 */
	private static final String PROJECT_NAMES_KEY = "user.projectname"; 
	private static final String PROJECT_CLASSPATH_KEY = "user.projectclasspath"; 
	private static WorkspaceClassPathFinder finder = new WorkspaceClassPathFinder( );
	public void launch( ILaunchConfiguration configuration, String mode, ILaunch launch, IProgressMonitor monitor ) throws CoreException
	{
		cofigLaunch(launch, configuration);
		super.launch( configuration, mode, launch, monitor );
	}
	
	/**
	 * @param launch
	 */
	private void cofigLaunch( ILaunch launch, ILaunchConfiguration configuration )
	{
		if ( launch.getSourceLocator( ) instanceof JavaSourceLookupDirector )
		{
			JavaSourceLookupDirector director = (JavaSourceLookupDirector) launch.getSourceLocator( );
			ISourceContainer[] contains = director.getSourceContainers( );
			List list = new ArrayList( );
			if ( contains != null && contains.length != 0 )
			{
				for ( int i = 0; i < contains.length; i++ )
				{