/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.geoforge.plg3danimatedshapes.swing.action;
import java.awt.Container;
import javax.swing.event.InternalFrameListener;
import org.geoforge.appogcecl.action.GfrActPlgNewWiewerAbs;
import org.geoforge.appogcecl.actioncontroller.AcrPlgIfrRun;
import org.geoforge.plg3danimatedshapes.swing.thread.GfrThrNewViewerFrmIntVolPlgShps3dAni;
/**
*
* @author bantchao
*/
public class GfrActPlgNewWiewerVolShps3dAni extends GfrActPlgNewWiewerAbs
{
public GfrActPlgNewWiewerVolShps3dAni(Container cntDesktopPane)
{
super(
GfrThrNewViewerFrmIntVolPlgShps3dAni.STR_WHAT,
cntDesktopPane);
}
@Override
protected void _doJobActionPlugin()
{
Thread thr = new GfrThrNewViewerFrmIntVolPlgShps3dAni(
(InternalFrameListener) AcrPlgIfrRun.getInstance(),
super._cntDesktopPane
);
// !!! what if "start" failed in thread !!!
super._doJob(thr);
}
}