Bug 166162 Enhance BIRT configuration deployment setting dialog when import BIRT runtime component.[0603]
Description: Enhance BIRT configuration deployment setting dialog when import BIRT runtime component. Build number:2.2.0.v20061129 Steps to reproduce: 1. New a BIRT WTP project. 2. Select it and import BIRT runtime component. Expected result: provide an option to check whether user want to reconfigure web.xml or just keep the original setting untouched. Actual result: User has to input the context parameter values in BIRT configuration deployment setting dialog again and confirm that whether they will rewrite the web.xml file. Error log:N/A
viewer/org.eclipse.birt.integration.wtp.ui/src/org/eclipse/birt/integration/wtp/ui/internal/actions/ImportBirtRuntimeAction.java
processConfiguration( monitor.getProgressMonitor( ), monitor
					.getShell( ) );
		}
		finally
		{
			
			if ( monitor != null )
			{
				monitor.close( );
			}
		}
	}
	/**
	 * Process BIRT deployment configuration.
	 * <p>
	 * Save user-defined settings into web.xml file.
	 * 
	 * @param monitor
	 * @throws CoreException
	 */
	protected void processConfiguration( IProgressMonitor monitor, Shell shell )
			throws CoreException
	{
		WebArtifactOverwriteQuery query = new WebArtifactOverwriteQuery( shell );
		
		WebArtifactUtil.configureContextParam( (Map) properties
				.get( EXT_CONTEXT_PARAM ), project, query, monitor );
		WebArtifactUtil.configureListener(
				(Map) properties.get( EXT_LISTENER ), project, query, monitor );