Examples of IGfrHandlerPlugin


Examples of org.geoforge.mgrplg.handler.IGfrHandlerPlugin

            GfrJavIoFileExtension.STR_DESCRIPTION_PLUGIN);
         
          if (fleSource == null)
             return; // cancelled by user
         
          IGfrHandlerPlugin plg = GfrMdlDspPlgGsi.getInstance().add(fleSource);
         
          super._addPluginHandler(plg);
       }
      
       catch(Exception exc)
View Full Code Here

Examples of org.geoforge.mgrplg.handler.IGfrHandlerPlugin

  
   
   @Override
    public void deletePluginHandler()
    {
       IGfrHandlerPlugin plg = ActionPluginDelete.s_getInstance().getPlugin();
      
       if (plg == null)
       {
          String strError = "plg == null";
          GfrAcrSpcAppMainOgcEclGsi._LOGGER_.severe(strError);
          GfrOptionPaneAbs.s_showDialogInfo(null, strError);
          return;
       }
      
       String strName = plg.getNamePlugin();
       String strBody = "Are you sure you want to remove this plugin?";
       strBody += "\n   " + strName;
      
       if (! GfrOptionPaneAbs.s_showDialogConfirm(null,
              GfrResBundleLang.s_getInstance().getValue("verb.confirm"),
View Full Code Here

Examples of org.geoforge.mgrplg.handler.IGfrHandlerPlugin

   }
  
   @Override
   public IGfrHandlerPlugin add(File fleSource) throws Exception
   {
      IGfrHandlerPlugin plg = GfrPluginManagerUtilGsi.s_getInstance().addPlugin(fleSource);
     
      if (plg == null)
         return null;
     
      if (plg instanceof IGfrHandlerLicensingPlugin)
      {
         String strName = plg.getNamePlugin();
         String strVersion = plg.getVersionThisPlugin();

         GfrWrpUsrSpcDspPrtAppRoot.getInstance().addPluginLicenceDbRelatedRecordings(
               strName, strVersion);
      }
     
View Full Code Here

Examples of org.geoforge.mgrplg.handler.IGfrHandlerPlugin

   }
  
 
   public void setLicensePluginHandler()
   {
       IGfrHandlerPlugin plg = ActionPluginSetLicense.s_getInstance().getPlugin();
      
       if (plg == null)
       {
          String strError = "plg == null";
          GfrAcrSpcAppMainOgcAbs._LOGGER_.severe(strError);
View Full Code Here

Examples of org.geoforge.mgrplg.handler.IGfrHandlerPlugin

         fleFoldeBlackBox.mkdir();
      // end blackbox
     

      // beg trick
      IGfrHandlerPlugin plgNew = _addPluginToRearrange(fleJarSource);
      // end trick

      GfrUtilFile.s_copy(fleJarSource, fleTarget);
      return plgNew;
   }
View Full Code Here

Examples of org.geoforge.mgrplg.handler.IGfrHandlerPlugin

      else
        fleFoldeBlackBox.mkdir();
      // end blackbox

      // beg trick
      IGfrHandlerPlugin plgNew = _addPluginToRearrange(fleSource);
      // end trick

      GfrUtilFile.s_copy(fleSource, fleTarget);
      return plgNew;
   }
View Full Code Here

Examples of org.geoforge.mgrplg.handler.IGfrHandlerPlugin

       
        if (intRow > getRowCount() - 1)
            return null; // bug
       
        Object obj = this._objssData[intRow][s_getColumnValueName()];
        IGfrHandlerPlugin plg = (IGfrHandlerPlugin) obj;
        return plg;
    }
View Full Code Here

Examples of org.geoforge.mgrplg.handler.IGfrHandlerPlugin

     
     
      if (intCol == 0)
      {
         Object obj = this._objssData[intRow][0];
         IGfrHandlerPlugin plg = (IGfrHandlerPlugin) obj;
         return plg.getNamePlugin();
      }
     
     
      return super.getValueAt(intRow, intCol);
   }
View Full Code Here

Examples of org.geoforge.mgrplg.handler.IGfrHandlerPlugin

    // to encapsulate, should redirect to superclass
   public void removeRow(IGfrHandlerPlugin plgToRemove)
   {     
      for (int i=0; i<super._objssData.length; i++)
      {
         IGfrHandlerPlugin plgCur = (IGfrHandlerPlugin) super._objssData[i][s_getColumnValueName()];
        
         if (plgCur != plgToRemove)
            continue;

         super.removeRow(i);
View Full Code Here

Examples of org.geoforge.mgrplg.handler.IGfrHandlerPlugin

   // insert at right ascending depth
   @Override
   public void addRow(Object[] objsRowDataToInsert)
   {
        int intIdToInsert = -1;
        IGfrHandlerPlugin plgNew = (IGfrHandlerPlugin) objsRowDataToInsert[s_getColumnValueName()];
        String strNameToInsert = plgNew.getNamePlugin();
       
        for (int i=0; i<super._objssData.length; i++)
        {
           IGfrHandlerPlugin plgCur = (IGfrHandlerPlugin) super._objssData[i][s_getColumnValueName()];
           String strNameCur = plgCur.getNamePlugin();
          
           // !!!!!!!!!!!!!!!! sort alphabetically
           if (strNameToInsert.compareTo(strNameCur) < 0)
           {
              intIdToInsert = i;
View Full Code Here
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.