Package org.geoforge.guillc.menuitem

Examples of org.geoforge.guillc.menuitem.GfrMimTrsAlrSetTop


      // end settings llo

      // beg settings top
      if (evt.getSource() instanceof GfrMimTrsAlrSetTop)
      {
         GfrMimTrsAlrSetTop mim = (GfrMimTrsAlrSetTop) evt.getSource();
         JFrame frmOwner = GfrFrmAbs.s_getFrameOwnerTrickForActionController(mim);

         String strValueKindObject = mim.getPropertyImmutable(
                 GfrEnuApplicationPropertiesImmutableKeys.KEY_KIND_OBJECT.name());

         String strValueKindTargetWindow = mim.getPropertyImmutable(
                 GfrEnuApplicationPropertiesImmutableKeys.KEY_KIND_TARGET_WINDOW.name());

         //--
         if (strValueKindObject == null || strValueKindObject.length() < 1)
            return false;
         if (strValueKindTargetWindow == null || strValueKindTargetWindow.length() < 1)
            return false;
         //--


         if (strValueKindObject.compareTo(
                 GfrEnuValuesKindObjectTloSpcPrjOgc.VALUE_TLO_WMS.name()) == 0)
         {

            if (strValueKindTargetWindow.compareTo(
                    GfrEnuValuesKindTargetWindow.PERSPECTIVE_MANAGE.name()) == 0
                    || strValueKindTargetWindow.compareTo(
                    GfrEnuValuesKindTargetWindow.PERSPECTIVE_SELECT.name()) == 0
                    || strValueKindTargetWindow.compareTo(
                    GfrEnuValuesKindTargetWindow.PERSPECTIVE_RUN.name()) == 0
                    || strValueKindTargetWindow.compareTo(
                    GfrEnuValuesKindTargetWindow.VIEWER_TOP_WORLDWIND.name()) == 0
                    || strValueKindTargetWindow.compareTo(
                    GfrEnuValuesKindTargetWindow.VIEWER_TOP_LEGENDS_OGC.name()) == 0)
            {
               DlgAbs dlg = new GfrDlgTabsSettingsDspInfoWwdEarthOgcWmss(
                       frmOwner);

               if (!dlg.init())
               {
                  String str = "! dlg.init()";
                  ActPrfPrjSettingsOgcAbs._LOGGER_.severe(str);
                  throw new Exception(str);
               }

               dlg.setVisible(true);
               return true;
            }
         }

      }
      // end settings top

      // beg settings tlo
      if (evt.getSource() instanceof GfrMimTrsAlrIdSetTlo)
      {
         GfrMimTrsAlrIdAbs mim = (GfrMimTrsAlrIdAbs) evt.getSource();
         JFrame frmOwner = GfrFrmAbs.s_getFrameOwnerTrickForActionController(mim);

         String strId = mim.getId();

         String strValueKindObject = mim.getPropertyImmutable(
                 GfrEnuApplicationPropertiesImmutableKeys.KEY_KIND_OBJECT.name());

         String strValueKindTargetWindow = mim.getPropertyImmutable(
                 GfrEnuApplicationPropertiesImmutableKeys.KEY_KIND_TARGET_WINDOW.name());

         //--
         if (strValueKindObject == null || strValueKindObject.length() < 1)
            return false;
View Full Code Here


         }
      }

      if (evt.getSource() instanceof GfrMimTrsAlrSetTop)
      {
         GfrMimTrsAlrSetTop mim = (GfrMimTrsAlrSetTop) evt.getSource();

         JFrame frmOwner = GfrFrmAbs.s_getFrameOwnerTrickForActionController(mim);


         String strValueKindObject = mim.getPropertyImmutable(
               GfrEnuApplicationPropertiesImmutableKeys.KEY_KIND_OBJECT.name());



         //-- unused for now coz only wwd earth views , even in run (no jfc in run)
         String strValueKindTargetWindow = mim.getPropertyImmutable(
               GfrEnuApplicationPropertiesImmutableKeys.KEY_KIND_TARGET_WINDOW.name());


         //--
         if (strValueKindObject == null || strValueKindObject.length() < 1)
            return false;


         // ---
         if (strValueKindObject.compareTo(
               GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_SEG_WISE_YES.name()) == 0)
         {
            DlgAbs dlg = new GfrDlgTabsSettingsDspActionWwdTopEarthSegsWiseYes(
                  frmOwner);

            if (!dlg.init())
            {
               String str = "! dlg.init()";
               ActPrfPrjSettingsOgcEclAbs._LOGGER_.severe(str);
               throw new Exception(str);
            }

            dlg.setVisible(true);

            return true;
         }

         if (strValueKindObject.compareTo(
               GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_SPN.name()) == 0)
         {
            DlgAbs dlg = new GfrDlgTabsSettingsDspActionWwdTopEarthSpns(
                  frmOwner);

            if (!dlg.init())
            {
               String str = "! dlg.init()";
               ActPrfPrjSettingsOgcEclAbs._LOGGER_.severe(str);
               throw new Exception(str);
            }

            dlg.setVisible(true);

            return true;
         }

         if (strValueKindObject.compareTo(
               GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_PTH.name()) == 0)
         {
            DlgAbs dlg = new GfrDlgTabsSettingsDspActionWwdTopEarthPths(
                  frmOwner);

            if (!dlg.init())
            {
               String str = "! dlg.init()";
               ActPrfPrjSettingsOgcEclAbs._LOGGER_.severe(str);
               throw new Exception(str);
            }

            dlg.setVisible(true);

            return true;
         }

         if (strValueKindObject.compareTo(
               GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_PLC.name()) == 0)
         {
            DlgAbs dlg = new GfrDlgTabsSettingsDspActionWwdTopEarthPlcs(
                  frmOwner);

            if (!dlg.init())
            {
               String str = "! dlg.init()";
               ActPrfPrjSettingsOgcEclAbs._LOGGER_.severe(str);
               throw new Exception(str);
            }

            dlg.setVisible(true);
            return true;
         }

         if (strValueKindObject.compareTo(
               GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_PNT.name()) == 0)
         {
            DlgAbs dlg = new GfrDlgTabsSettingsDspActionWwdTopEarthPnts(
                  frmOwner);

            if (!dlg.init())
            {
               String str = "! dlg.init()";
               ActPrfPrjSettingsOgcEclAbs._LOGGER_.severe(str);
               throw new Exception(str);
            }

            dlg.setVisible(true);
            return true;
         }

         if (strValueKindObject.compareTo(
               GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_ARE.name()) == 0)
         {
            DlgAbs dlg = new GfrDlgTabsSettingsDspActionWwdTopEarthAres(
                  frmOwner);

            if (!dlg.init())
            {
               String str = "! dlg.init()";
               ActPrfPrjSettingsOgcEclAbs._LOGGER_.severe(str);
               throw new Exception(str);
            }

            dlg.setVisible(true);
            return true;
         }

         if (strValueKindObject.compareTo(
               GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_SCT.name()) == 0)
         {
            DlgAbs dlg = new GfrDlgTabsSettingsDspActionWwdTopEarthScts(
                  frmOwner);

            if (!dlg.init())
            {
               String str = "! dlg.init()";
               ActPrfPrjSettingsOgcEclAbs._LOGGER_.severe(str);
               throw new Exception(str);
            }

            dlg.setVisible(true);
            return true;
         }
      }



      if (evt.getSource() instanceof GfrMimTrsAlrIdSetLloVar)
      {

         GfrMimTrsAlrIdSetLloVar mim = (GfrMimTrsAlrIdSetLloVar) evt.getSource();

         JFrame frmOwner = GfrFrmAbs.s_getFrameOwnerTrickForActionController(mim);
         String strId = mim.getId();

         String strValueKindObject = mim.getPropertyImmutable(
               GfrEnuApplicationPropertiesImmutableKeys.KEY_KIND_OBJECT.name());



         //-- unused for now coz only wwd earth views =>
         String strValueKindTargetWindow = mim.getPropertyImmutable(
               GfrEnuApplicationPropertiesImmutableKeys.KEY_KIND_TARGET_WINDOW.name());


         //--
         if (strValueKindObject == null || strValueKindObject.length() < 1)
View Full Code Here

           IGfrHandlerWrapperSetDataTop wrpSetDataTop)
           throws Exception
   {
      super(tree);

      this._mimSettings = new GfrMimTrsAlrSetTop(
              alrController,
              enuValueKindObject.getNameThisDisplayableObjectsSet());


      this._mimDeleteAll = new GfrMimTrsAlrDelAllObjTlos(
View Full Code Here

           Observable observableTop,
           IGfrHandlerWrapperSetDataTop wrpSetDataTop) throws Exception
   {
      super(tree);

      this._mimSettings = new GfrMimTrsAlrSetTop(
              alrController,
              strValueKindtargetWindow,
              enuValueKindObject.getNameThisDisplayableObjectsSet());

View Full Code Here

TOP

Related Classes of org.geoforge.guillc.menuitem.GfrMimTrsAlrSetTop

Copyright © 2018 www.massapicom. 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.