/*
* 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.GfrDlgCmdCancelGazetteerYahooSec;
/**
*
* @author bantchao
*/
public class GfrActPlgGazetteerYahooSec extends GfrActPlgGazetteerYahooAbs
{
final static private Logger _LOGGER_ = Logger.getLogger(GfrActPlgGazetteerYahooSec.class.getName());
static
{
GfrActPlgGazetteerYahooSec._LOGGER_.addHandler(FileHandlerLogger.s_getInstance());
}
// ---
private String _strIdViewer_;
public GfrActPlgGazetteerYahooSec(String strIdViewer)
{
super();
this._strIdViewer_ = strIdViewer;
}
@Override
protected void _doJob() throws Exception
{
GfrDlgAbs dlg = new GfrDlgCmdCancelGazetteerYahooSec(this._strIdViewer_);
if (! dlg.init())
{
String strError = "! dlg.init()";
GfrActPlgGazetteerYahooSec._LOGGER_.severe(strError);
throw new Exception(strError);
}
dlg.setVisible(true);
}
}