Package org.geoforge.plghelloworldifrser.swing.action

Source Code of org.geoforge.plghelloworldifrser.swing.action.GfrActPlgNewWiewerSerHelloWorld

/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.geoforge.plghelloworldifrser.swing.action;

import java.awt.Container;
import java.awt.event.ActionListener;
import javax.swing.event.InternalFrameListener;
import org.geoforge.appogcecl.action.GfrActPlgNewWiewerAbs;
import org.geoforge.appogcecl.actioncontroller.AcrPlgIfrRun;
import org.geoforge.plghelloworldifrser.lang.thread.GfrThrNewViewerFrmIntSerPlgHelloWorld;

/**
*
* @author bantchao
*/
public class GfrActPlgNewWiewerSerHelloWorld extends GfrActPlgNewWiewerAbs
{
   public GfrActPlgNewWiewerSerHelloWorld(Container cntDesktopPane)
   {
      super(
              "Persistent \"Hello world\" viewer",
              cntDesktopPane);
   }
  
   @Override
   protected void _doJobActionPlugin()
   {
      Thread thr = new GfrThrNewViewerFrmIntSerPlgHelloWorld(
                (InternalFrameListener) AcrPlgIfrRun.getInstance(),
                 (ActionListener) AcrPlgIfrRun.getInstance(),
                (ActionListener) this,
                 super._cntDesktopPane
                );
     
      super._doJob(thr);
   }
}
TOP

Related Classes of org.geoforge.plghelloworldifrser.swing.action.GfrActPlgNewWiewerSerHelloWorld

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.