Package org.geoforge.guillcogc.panel

Source Code of org.geoforge.guillcogc.panel.GfrPnlCntWinViewerAppSerTabsOneChkImgLgdLyrOgc

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

import java.awt.BorderLayout;
import java.awt.Component;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseListener;
import java.util.logging.Logger;
import javax.swing.event.ChangeListener;
import org.geoforge.guillc.handler.IGfrHandlerToggableNode;
import org.geoforge.guillc.optionpane.GfrOptionPaneAbs;
import org.geoforge.guillc.panel.GfrPnlCntWinViewerAppSerTabsOneChkAbs;
import org.geoforge.guillc.panel.GfrPnlStatusBarSec;
import org.geoforge.guillc.treenode.GfrNodCtrAbs;
import org.geoforge.guillcogc.handler.IGfrHandlerControlUpdateButtonsCheckTlosPrjOgc;
import org.geoforge.guillcogc.toolbar.GfrTbrHlpWinViewerRunIfrSubCtrsImgLgdLyrWms;
import org.geoforge.java.util.logging.filehandler.FileHandlerLogger;

/**
*
* @author robert
*/
public class GfrPnlCntWinViewerAppSerTabsOneChkImgLgdLyrOgc extends GfrPnlCntWinViewerAppSerTabsOneChkAbs
{
   // ----
   // begin: instantiate logger for this class
   final private static Logger _LOGGER_ = Logger.getLogger(GfrPnlCntWinViewerAppSerTabsOneChkImgLgdLyrOgc.class.getName());

   static
   {
      GfrPnlCntWinViewerAppSerTabsOneChkImgLgdLyrOgc._LOGGER_.addHandler(FileHandlerLogger.s_getInstance());
   }

   // end: instantiate logger for this class
   // ----
  
  
   public GfrPnlCntWinViewerAppSerTabsOneChkImgLgdLyrOgc(
           GfrPnlStatusBarSec pnlStatusBar,
           String strNameUniqueOwnerFrame,
           String strIdViewer) throws Exception
   {
      super();
     
      super._pnlControls = new GfrPnlCtrsSecChkOgcImgLgdLyrWms(
              (ActionListener) this,
              (MouseListener) this,
              pnlStatusBar,
              strIdViewer);


      super._pnlDisplays = new GfrPnlDspPrjImgLgdLyrWmsSec(
              pnlStatusBar,
              strNameUniqueOwnerFrame,
              strIdViewer);
     

      super._tbrControls = new GfrTbrHlpWinViewerRunIfrSubCtrsImgLgdLyrWms(
              (ActionListener) super._pnlContainerControl,
              (MouseListener) super._pnlContainerControl.getBorder());
   }
  
   @Override
    public void open(ActionListener alrControllerSpcPrj, ActionListener alrControllerPrs) throws Exception
    {
       super.open(alrControllerSpcPrj, alrControllerPrs);
      
       super._pnlDisplays.doJobQueuedOpenSpaceProject(alrControllerSpcPrj, alrControllerPrs);
    }
  
   @Override
    public boolean init()
    {
        if (! super.init())
            return false;   
       
        super._pnlContainerDisplay.add((Component) super._pnlDisplays, BorderLayout.CENTER);
       
        return true;
    }

   @Override
   protected void _invokedLaterUpdateCheckUncheckTlo(IGfrHandlerToggableNode nodCheck)
   {
      GfrNodCtrAbs nod = (GfrNodCtrAbs) nodCheck;
      
        // updating buttons in control toolbar
        ((IGfrHandlerControlUpdateButtonsCheckTlosPrjOgc) super._pnlControls).updateButtonsCheckUncheckAllTlosProjectOgc(
                (GfrNodCtrAbs) nod.getRoot());
   }

   @Override
   public void actionPerformed(ActionEvent e)
   {
      GfrPnlCntWinViewerAppSerTabsOneChkImgLgdLyrOgc._LOGGER_.info("TODO");
      GfrOptionPaneAbs.s_showDialogInfo(null, "TODO");
   }
}
TOP

Related Classes of org.geoforge.guillcogc.panel.GfrPnlCntWinViewerAppSerTabsOneChkImgLgdLyrOgc

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.