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
import org.eclipse.birt.integration.wtp.ui.internal.wizards.IBirtWizardConstants;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IFolder;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.IResourceVisitor;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.jdt.core.IJavaProject;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.dialogs.IDialogConstants;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.dialogs.ProgressMonitorDialog;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.window.Window;
import org.eclipse.jst.j2ee.internal.project.J2EEProjectUtilities;
import org.eclipse.osgi.util.NLS;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.IWorkbenchWindowActionDelegate;
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.dialogs.IOverwriteQuery;
/**
 * Import BIRT runtime component into a J2EE Dynamic Web Project
 * 
 */
public class ImportBirtRuntimeAction extends Action