Examples of IGfrHandlerPlugin


Examples of org.geoforge.mgrplg.handler.IGfrHandlerPlugin

   public void update(Observable obs, Object objEvt)
   {
      if (objEvt instanceof GfrEvtMdlPlgActive)
      {
         GfrEvtMdlPlgActive evt = (GfrEvtMdlPlgActive) objEvt;
         IGfrHandlerPlugin plgSource = evt.getSource();
         boolean blnValue = evt.getValue();

          if (! this._updateSetActive_(plgSource, blnValue))
          {
             String strSevere = "! this._updateSetActive_(plgSource, blnValue)";
             GfrTblPopHeightRowFixManPlgsAbs._LOGGER_.severe(strSevere);
             GfrOptionPaneAbs.s_showDialogError(null, strSevere);
          }
           
         return;
      }
      
      if (objEvt instanceof EvtMdlDspPlgAdded)
      {
         Object[] objsRowDataNew = new Object[this._atm_.getColumnCount()];
         int intCountId = 0;
        
         IGfrHandlerPlugin plg = ((EvtMdlDspPlgAbs) objEvt).getValue();
        
         objsRowDataNew[intCountId++] = plg;
         objsRowDataNew[intCountId++] = plg.getVersionThisPlugin();
         objsRowDataNew[intCountId++] = plg.getAuthorPlugin();
         objsRowDataNew[intCountId++] = plg.isActivePlugin(); // !!! new Boolean ???
         objsRowDataNew[intCountId++] = plg.getDescriptionPlugin();
         objsRowDataNew[intCountId++] = (plg instanceof IGfrHandlerLicensingPlugin); // !!! new Boolean ???
         objsRowDataNew[intCountId++] = plg.getNameFilePlugin();
        
        
         this._atm_.addRow(objsRowDataNew);
        
         return;
      }
     
      if (objEvt instanceof EvtMdlDspPlgRemoved)
      {
         IGfrHandlerPlugin plg = ((EvtMdlDspPlgAbs) objEvt).getValue();
        
         this._atm_.removeRow(plg);
         return;
      }
     
View Full Code Here

Examples of org.geoforge.mgrplg.handler.IGfrHandlerPlugin

            return;
       
        if (this._tbl.getModel() == null)
            return;

        IGfrHandlerPlugin plg = ((GfrAtmManagePlgs) super._tbl.getModel()).getPluginAt(super._intRow);
        ActionPluginDelete.s_getInstance().setPlugin(plg);
        ActionPluginSetLicense.s_getInstance().setPlugin(plg);
        ActionAboutPlugin.s_getInstance().setPlugin(plg);
       
        if (! (plg instanceof IGfrHandlerLicensingPlugin))
        {
            this._mimSetLicensePlugin_.setVisible(false);
        }
       
        else
        {
            this._mimSetLicensePlugin_.setVisible(true);
           
            if (! plg.isActivePlugin())
            {
                this._mimSetLicensePlugin_.setEnabled(true);
            }
            else
            {
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.