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/internal/ui/launcher/util/ReportLauncherUtils.java
return deselected;
	}
	public static IVMInstall getVMInstall( String name )
	{
		if ( name != null )
		{
			IVMInstall[] installs = getAllVMInstances( );
			for ( int i = 0; i < installs.length; i++ )
			{
				if ( installs[i].getName( ).equals( name ) )
					return installs[i];
			}
		}
		return JavaRuntime.getDefaultVMInstall( );
	}
	public static IVMInstall[] getAllVMInstances( )
	{
		ArrayList res = new ArrayList( );
		IVMInstallType[] types = JavaRuntime.getVMInstallTypes( );
		for ( int i = 0; i < types.length; i++ )
		{
			IVMInstall[] installs = types[i].getVMInstalls( );
			for ( int k = 0; k < installs.length; k++ )
			{
				res.add( installs[k] );
			}
		}
		return (IVMInstall[]) res.toArray( new IVMInstall[res.size( )] );
	}
}