/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.geoforge.plggazetteers.swing.action;
import java.util.logging.Logger;
import org.geoforge.guillc.dialog.GfrDlgAbs;
import org.geoforge.java.util.logging.filehandler.FileHandlerLogger;
import org.geoforge.plggazetteers.swing.dialog.GfrDlgCmdCancelGazetteerGisgraphySec;
/**
*
* @author bantchao
*/
public class GfrActPlgGazetteerGisgraphySec extends GfrActPlgGazetteerGisgraphyAbs
{
final static private Logger _LOGGER_ = Logger.getLogger(GfrActPlgGazetteerGisgraphySec.class.getName());
static
{
GfrActPlgGazetteerGisgraphySec._LOGGER_.addHandler(FileHandlerLogger.s_getInstance());
}
// ---
private String _strIdViewer_;
public GfrActPlgGazetteerGisgraphySec(String strIdViewer)
{
super();
this._strIdViewer_ = strIdViewer;
}
@Override
protected void _doJob() throws Exception
{
GfrDlgAbs dlg = new GfrDlgCmdCancelGazetteerGisgraphySec(this._strIdViewer_);
if (! dlg.init())
{
String strError = "! dlg.init()";
GfrActPlgGazetteerGisgraphySec._LOGGER_.severe(strError);
throw new Exception(strError);
}
dlg.setVisible(true);
}
}