Package org.geoforge.guillcogc.tabbedpane

Source Code of org.geoforge.guillcogc.tabbedpane.GfrTabCtrWinViewTreeChkWwdEarthOgcAbs

/*
*  Copyright (C) 2011-2014 GeoForge Project
*
*  This program is free software: you can redistribute it and/or modify
*  it under the terms of the GNU Lesser General Public License as published by
*  the Free Software Foundation, either version 3 of the License, or
*  (at your option) any later version.
*
*  This program is distributed in the hope that it will be useful,
*  but WITHOUT ANY WARRANTY; without even the implied warranty of
*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
*  GNU Lesser General Public License for more details.
*
*  You should have received a copy of the GNU Lesser General Public License
*  along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

package org.geoforge.guillcogc.tabbedpane;

import java.awt.event.ActionListener;
import java.awt.event.MouseListener;
import org.geoforge.guillc.panel.GfrPnlStatusBarSec;
import org.geoforge.guillc.treenode.GfrNodCtrAbs;
import org.geoforge.guillc.panel.GfrPnlPrintableSctAwtCtrTreTogChkPrjSecAbs;
import org.geoforge.guillc.tabbedpane.GfrTabCtrWinViewTreeChkAbs;
import org.geoforge.guillcogc.panel.GfrPnlPrintableSctAwtCtrTreTogChkPrjSecCatOgcWwdEarth;
import org.geoforge.guillcogc.handler.IGfrHandlerControlUpdateButtonsCheckTlosPrjOgc;
import org.geoforge.guillcogc.util.GfrResBundleGuiLlcOgc;

/**
*
* @author bill
*/
abstract public class GfrTabCtrWinViewTreeChkWwdEarthOgcAbs extends GfrTabCtrWinViewTreeChkAbs implements
        IGfrHandlerControlUpdateButtonsCheckTlosPrjOgc
{
   private GfrPnlPrintableSctAwtCtrTreTogChkPrjSecAbs _pnlControlThis_ = null;

   protected GfrTabCtrWinViewTreeChkWwdEarthOgcAbs(
           ActionListener alrParentPanelMvc,
           MouseListener alrParentCad,
           GfrPnlStatusBarSec pnlStatusBar,
           String strTitleGroupThis,
           String strIdViewer) throws Exception
   {
      super(strTitleGroupThis);

      this._pnlControlThis_ = new GfrPnlPrintableSctAwtCtrTreTogChkPrjSecCatOgcWwdEarth(alrParentPanelMvc, alrParentCad,
              pnlStatusBar, strIdViewer);
   }

   @Override
   public boolean init()
   {
      if (!super.init())
         return false;


      if (!this._pnlControlThis_.init())
         return false;

     
      super.add(this._pnlControlThis_, GfrResBundleGuiLlcOgc.s_getInstance().getValue("sentence.ogcServices"));


      return true;
   }

   @Override
   public void destroy()
   {
      super.destroy();


      if (this._pnlControlThis_ != null)
      {
         this._pnlControlThis_.destroy();
         this._pnlControlThis_ = null;
      }
   }

   @Override
   public void openSpaceApplicationProject(ActionListener alrControllerSpcPrj, ActionListener alrControllerPrs) throws Exception
   {
      super.openSpaceApplicationProject(alrControllerSpcPrj, alrControllerPrs);

      this._pnlControlThis_.doJobQueuedOpenSpaceProject(alrControllerSpcPrj, alrControllerPrs);
   }

   @Override
   public void updateButtonsCheckUncheckAllTlosProjectOgc(GfrNodCtrAbs nodAbs)
   {
      this._pnlControlThis_.updateButtonsToolbarCheckUncheck(nodAbs);
   }

   @Override
   public boolean isAllowedEnableButtonCheckAllTlosProjectOgc()
   {
      return this._pnlControlThis_.isAllowedCheckAll();
   }

   @Override
   public boolean isAllowedEnableButtonUncheckAllTlosProjectOgc()
   {
      return this._pnlControlThis_.isAllowedUncheckAll();
   }

   @Override
   public void updateButtonsCheckUncheckAllTlosProjectOgc(boolean blnAllowedAllCheck, boolean blnAllowedAllUncheck)
   {
      this._pnlControlThis_.updateButtonsToolbarCheckUncheck(blnAllowedAllCheck, blnAllowedAllUncheck);
   }
}
TOP

Related Classes of org.geoforge.guillcogc.tabbedpane.GfrTabCtrWinViewTreeChkWwdEarthOgcAbs

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.