Package org.geoforge.plghelloworldifrvolgsi

Source Code of org.geoforge.plghelloworldifrvolgsi.GfrPlgImplActNewViewerRunVolHelloGsi

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

import java.awt.Container;
import javax.swing.Action;
import net.xeoh.plugins.base.annotations.PluginImplementation;
import org.geoforge.java.enumeration.GfrEnuSystemPropertiesKeys;
import org.geoforge.mgrplg.impl.GfrPlgImplActsIfrRunDspAbs;
import org.geoforge.mgrplggsi.handler.IGfrHandlerPluginThisAppGsi;
import org.geoforge.plghelloworldifrvolgsi.swing.action.GfrActPlgNewWiewerVolHelloGsi;

/**
*
* @author bantchao
*/
@PluginImplementation // ATTN: required, even if already added in superclass
public class GfrPlgImplActNewViewerRunVolHelloGsi extends GfrPlgImplActsIfrRunDspAbs implements
        IGfrHandlerPluginThisAppGsi
{
   final static private String _STR_VERSION_THIS_ = "1.2";
  
   public GfrPlgImplActNewViewerRunVolHelloGsi()
   {
      super(_STR_VERSION_THIS_);
   }
  
   @Override
    public String getUrlHomePagePlugin()
    {
        return System.getProperty(GfrEnuSystemPropertiesKeys.URL_HOME_ORG.getLabel());
    }

    @Override
    public String getEmailAddressContactPlugin()
    {
        return System.getProperty(GfrEnuSystemPropertiesKeys.EMAIL_CONTACT_ORG.getLabel());
    }
  
   @Override
   public String getNamePlugin()
   {
      return "Hello Geozilla!";
   }

   @Override
   public String getAuthorPlugin()
   {
      return "GeoForge Dev.";
   }

   @Override
   public String getDescriptionPlugin()
   {
      return "\"Hello Geozilla!\" volatile internal frame";
   }

   @Override
   public Action createActionPluginNewViewerRunFromDisplay(Container cntDesktopPane)
   {
       Action act = new GfrActPlgNewWiewerVolHelloGsi(
              cntDesktopPane
              );
      
      super._hstActions.add(act);
      return act;
   }
}
TOP

Related Classes of org.geoforge.plghelloworldifrvolgsi.GfrPlgImplActNewViewerRunVolHelloGsi

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.