/**
 * <!-- LICENSE_TEXT_START -->
 * $Header: /share/content/gforge/caadapter/caadapter/components/userInterface/src/gov/nih/nci/caadapter/ui/mapping/catrend/actions/CloseCsvToXmiMappingReportAction.java,v 1.1 2007-12-12 19:54:20 wangeug Exp $
 *
 * ******************************************************************
 * COPYRIGHT NOTICE
 * ******************************************************************
 *
 * The caAdapter Software License, Version 1.3
 * Copyright Notice.
 * 
 * Copyright 2006 SAIC. This software was developed in conjunction with the National Cancer Institute. To the extent government employees are co-authors, any rights in such works are subject to Title 17 of the United States Code, section 105. 
 * 
 * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 
 * 
 * 1. Redistributions of source code must retain the Copyright Notice above, this list of conditions, and the disclaimer of Article 3, below. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 
 * 
 * 2. The end-user documentation included with the redistribution, if any, must include the following acknowledgment:
 * 
 * 
 * "This product includes software developed by the SAIC and the National Cancer Institute."
 * 
 * 
 * If no such end-user documentation is to be included, this acknowledgment shall appear in the software itself, wherever such third-party acknowledgments normally appear. 
 * 
 * 3. The names "The National Cancer Institute", "NCI" and "SAIC" must not be used to endorse or promote products derived from this software. 
 * 
 * 4. This license does not authorize the incorporation of this software into any third party proprietary programs. This license does not authorize the recipient to use any trademarks owned by either NCI or SAIC-Frederick. 
 * 
 * 5. THIS SOFTWARE IS PROVIDED "AS IS," AND ANY EXPRESSED OR IMPLIED WARRANTIES, (INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE) ARE DISCLAIMED. IN NO EVENT SHALL THE UNITED STATES GOVERNMENT, THE NATIONAL CANCER INSTITUTE, SAIC, OR THEIR AFFILIATES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 * <!-- LICENSE_TEXT_END -->
 */


package gov.nih.nci.caadapter.ui.mapping.catrend.actions;


import javax.swing.Icon;

import gov.nih.nci.caadapter.ui.common.actions.DefaultContextCloseAction;
//import javax.swing.*;
import gov.nih.nci.caadapter.ui.common.context.DefaultContextManagerClientPanel;


/**
 * This class defines the close action of HL7 panel.
 *
 * @author OWNER: Scott Jiang
 * @author LAST UPDATE $Author: wangeug $
 * @version Since caAdapter v1.2
 *          revision    $Revision: 1.1 $
 *          date        $Date: 2007-12-12 19:54:20 $
 */
public class CloseCsvToXmiMappingReportAction extends DefaultContextCloseAction
{
	/**
	 * Logging constant used to identify source of log entry, that could be later used to create
	 * logging mechanism to uniquely identify the logged class.
	 */
	private static final String LOGID = "$RCSfile: CloseCsvToXmiMappingReportAction.java,v $";

	/**
	 * String that identifies the class version and solves the serial version UID problem.
	 * This String is for informational purposes only and MUST not be made final.
	 *
	 * @see <a href="http://www.visi.com/~gyles19/cgi-bin/fom.cgi?file=63">JBuilder vice javac serial version UID</a>
	 */
	public static String RCSID = "$Header: /share/content/gforge/caadapter/caadapter/components/userInterface/src/gov/nih/nci/caadapter/ui/mapping/catrend/actions/CloseCsvToXmiMappingReportAction.java,v 1.1 2007-12-12 19:54:20 wangeug Exp $";

	public CloseCsvToXmiMappingReportAction(DefaultContextManagerClientPanel contentPanel)
	{
		super(COMMAND_NAME, null, contentPanel);
	}

}


@@ -194,33 +194,33 @@
 Action.java,v 1.
-1
+2
  2007-12-12 19:5
@@ -209,34 +209,34 @@
 .2 2007-12-1
-2 19:54:20
+4 16:00:14
  wangeug Exp
@@ -2874,16 +2874,52 @@
 ions;%0A%0A%0A
+import java.awt.event.ActionEvent;%0A%0A
 import j
@@ -3014,32 +3014,8 @@
 on;%0A
-//import javax.swing.*;%0A
 impo
@@ -3091,16 +3091,92 @@
 tPanel;%0A
+import gov.nih.nci.caadapter.ui.mapping.catrend.CsvToXmiMappingReportPanel;%0A
 %0A%0A/**%0A *
@@ -3371,17 +3371,17 @@
 sion: 1.
-1
+2
  $%0A *   
@@ -3415,26 +3415,26 @@
 007-12-1
-2 19:54:20
+4 16:00:14
  $%0A */%0Ap
@@ -3514,16 +3514,393 @@
 ction%0A%7B%0A
+%09private DefaultContextManagerClientPanel clientPanel;%0A%09@Override%0A%09protected boolean doAction(ActionEvent e) %7B%0A%09%09// TODO Auto-generated method stub%0A%09%09CsvToXmiMappingReportPanel rptPane=(CsvToXmiMappingReportPanel)clientPanel;%0A%09%09System.out.println(%22CloseCsvToXmiMappingReportAction.doAction()...set report to null%22);%0A%09%09rptPane.setReporter(null);%0A%09%09return super.doAction(e);%0A%09%7D%0A%0A
 %09/**%0A%09 *
@@ -4647,17 +4647,17 @@
 ava,v 1.
-1
+2
  2007-12
@@ -4662,18 +4662,18 @@
 12-1
-2 19:54:20
+4 16:00:14
  wan
@@ -4820,15 +4820,43 @@
 Panel);%0A
+%09%09clientPanel=contentPanel;%0A
 %09%7D%0A%0A%7D%0A%0A

remove the MappingReporter from associate mapping pane