Package org.geoforge.guillc.menuitem

Examples of org.geoforge.guillc.menuitem.GfrMimTrsAlrExpObjsTlo


      super(clrPop, blnUseDefault,
            GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_PLC);

      GfrMdlDatSetTlosEclPlc.getInstance().addObserver((Observer) this);

      this._mimExportFromSheetExc_ = new GfrMimTrsAlrExpObjsTlo(
              alrController,
              GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_PLC.name(),
              GfrEnuValuesKindFileFormat.VALUE_EXCEL);

      this._mimExportFromSheetCsv_ = new GfrMimTrsAlrExpObjsTlo(
              alrController,
              GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_PLC.name(),
              GfrEnuValuesKindFileFormat.VALUE_CSV);

   }
View Full Code Here


           boolean blnUseDefault) throws Exception
   {
      super(clrPop, blnUseDefault,
            GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_SCT);

      this._mimExportFromSheetExc_ = new GfrMimTrsAlrExpObjsTlo(
              alrController,
              GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_SCT.name(),
              GfrEnuValuesKindFileFormat.VALUE_EXCEL);

      this._mimExportFromSheetCsv_ = new GfrMimTrsAlrExpObjsTlo(
              alrController,
              GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_SCT.name(),
              GfrEnuValuesKindFileFormat.VALUE_CSV);

   }
View Full Code Here

   {
      super(clrPop, blnUseDefault,
              GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_SEG_WISE_YES);

      GfrMdlDatSetTlosEclSegWiseYes.getInstance().addObserver((Observer) this);
      this._mimExportFromSheetExc_ = new GfrMimTrsAlrExpObjsTlo(
              alrController,
              GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_SEG_WISE_YES.name(),
              GfrEnuValuesKindFileFormat.VALUE_EXCEL);

      this._mimExportFromSheetCsv_ = new GfrMimTrsAlrExpObjsTlo(
              alrController,
              GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_SEG_WISE_YES.name(),
              GfrEnuValuesKindFileFormat.VALUE_CSV);

   }
View Full Code Here

   {
      super(clrPop, blnUseDefault,
            GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_PTH);

      GfrMdlDatSetTlosEclPth.getInstance().addObserver((Observer) this);
      this._mimExportFromSheetExc_ = new GfrMimTrsAlrExpObjsTlo(
              alrController,
              GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_PTH.name(),
              GfrEnuValuesKindFileFormat.VALUE_EXCEL);

      this._mimExportFromSheetCsv_ = new GfrMimTrsAlrExpObjsTlo(
              alrController,
              GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_PTH.name(),
              GfrEnuValuesKindFileFormat.VALUE_CSV);

   }
View Full Code Here

      super(clrPop, blnUseDefault,
            GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_ARE);

      GfrMdlDatSetTlosEclAre.getInstance().addObserver((Observer) this);

      this._mimExportFromSheetExc_ = new GfrMimTrsAlrExpObjsTlo(
              alrController,
              GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_ARE.name(),
              GfrEnuValuesKindFileFormat.VALUE_EXCEL);

      this._mimExportFromSheetCsv_ = new GfrMimTrsAlrExpObjsTlo(
              alrController,
              GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_ARE.name(),
              GfrEnuValuesKindFileFormat.VALUE_CSV);

   }
View Full Code Here

      super(clrPop, blnUseDefault,
            GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_PNT);

      GfrMdlDatSetTlosEclPnt.getInstance().addObserver((Observer) this);

      this._mimExportFromSheetExc_ = new GfrMimTrsAlrExpObjsTlo(
            alrController,
            GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_PNT.name(),
            GfrEnuValuesKindFileFormat.VALUE_EXCEL);

      this._mimExportFromSheetCsv_ = new GfrMimTrsAlrExpObjsTlo(
            alrController,
            GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_PNT.name(),
            GfrEnuValuesKindFileFormat.VALUE_CSV);

   }
View Full Code Here

            GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_SPN);


      GfrMdlDatSetTlosEclSpn.getInstance().addObserver((Observer) this);

      this._mimExportFromSheetExc_ = new GfrMimTrsAlrExpObjsTlo(
              alrController,
              GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_SPN.name(),
              GfrEnuValuesKindFileFormat.VALUE_EXCEL);

      this._mimExportFromSheetCsv_ = new GfrMimTrsAlrExpObjsTlo(
              alrController,
              GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_SPN.name(),
              GfrEnuValuesKindFileFormat.VALUE_CSV);

   }
View Full Code Here

      }


      if (evt.getSource() instanceof GfrMimTrsAlrExpObjsTlo)
      {
         GfrMimTrsAlrExpObjsTlo mim = (GfrMimTrsAlrExpObjsTlo) evt.getSource();
         JFrame frmOwner = GfrFrmAbs.s_getFrameOwner(mim);


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

         String strValueKindFileFormat = mim.getPropertyImmutable(
                 GfrEnuApplicationPropertiesImmutableKeys.KEY_KIND_FILE_FORMAT.name());

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

         if (strValueKindFileFormat == null || strValueKindFileFormat.length() < 1)
            return false;

         //--
         if (strValueKindObject.compareTo(
                 GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_SCT.name()) == 0)
         {
            if (strValueKindFileFormat.compareTo(
                    GfrEnuValuesKindFileFormat.VALUE_EXCEL.name()) == 0)
            {
               String strTodo = "TODO: GfrMimTrsExpObjsSctExc";
               ActPrfPrjExportOgcEclAbs._LOGGER_.warning(strTodo);
               GfrOptionPaneAbs.s_showDialogInfo(null, strTodo);

               return true;
            }

            if (strValueKindFileFormat.compareTo(
                    GfrEnuValuesKindFileFormat.VALUE_CSV.name()) == 0)
            {
               String strTodo = "TODO: GfrMimTrsExpObjsSctCsv";
               ActPrfPrjExportOgcEclAbs._LOGGER_.warning(strTodo);
               GfrOptionPaneAbs.s_showDialogInfo(null, strTodo);

               return true;
            }


         }

         if (strValueKindObject.compareTo(
                 GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_PLC.name()) == 0)
         {
            if (strValueKindFileFormat.compareTo(
                    GfrEnuValuesKindFileFormat.VALUE_EXCEL.name()) == 0)
            {
               _exportToExcPlcs_(frmOwner);
               return true;
            }

            if (strValueKindFileFormat.compareTo(
                    GfrEnuValuesKindFileFormat.VALUE_CSV.name()) == 0)
            {
               _exportToCsvPlcs_(frmOwner);
               return true;
            }
         }


         if (strValueKindObject.compareTo(
                 GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_PNT.name()) == 0)
         {
            if (strValueKindFileFormat.compareTo(GfrEnuValuesKindFileFormat.VALUE_EXCEL.name()) == 0)
            {
               _exportToExcPnts_(frmOwner);
               return true;
            }

            if (strValueKindFileFormat.compareTo(
                    GfrEnuValuesKindFileFormat.VALUE_CSV.name()) == 0)
            {
               _exportToCsvPnts_(frmOwner);
               return true;
            }
         }

         if (strValueKindObject.compareTo(GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_SEG_WISE_YES.name()) == 0)
         {
            if (strValueKindFileFormat.compareTo(GfrEnuValuesKindFileFormat.VALUE_EXCEL.name()) == 0)
            {
               String strTodo = "TODO: GfrMimTrsExpObjsSegWiseYes - Excel";
               ActPrfPrjExportOgcEclAbs._LOGGER_.warning(strTodo);
               GfrOptionPaneAbs.s_showDialogInfo(null, strTodo);

               return true;
            }

            if (strValueKindFileFormat.compareTo(GfrEnuValuesKindFileFormat.VALUE_CSV.name()) == 0)
            {
               String strTodo = "TODO: GfrMimTrsExpObjsSegWiseYes - Csv";
               ActPrfPrjExportOgcEclAbs._LOGGER_.warning(strTodo);
               GfrOptionPaneAbs.s_showDialogInfo(null, strTodo);

               return true;
            }
         }

         if (strValueKindObject.compareTo(GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_SPN.name()) == 0)
         {
            if (strValueKindFileFormat.compareTo(GfrEnuValuesKindFileFormat.VALUE_EXCEL.name()) == 0)
            {
               _exportToExcSpns_(frmOwner);
               return true;
            }

            if (strValueKindFileFormat.compareTo(GfrEnuValuesKindFileFormat.VALUE_CSV.name()) == 0)
            {
               _exportToCsvSpns_(frmOwner);
               return true;
            }
         }

         if (strValueKindObject.compareTo(GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_PTH.name()) == 0)
         {
            if (strValueKindFileFormat.compareTo(GfrEnuValuesKindFileFormat.VALUE_EXCEL.name()) == 0)
            {
               _exportToExcPths_(frmOwner);
               return true;
            }

            if (strValueKindFileFormat.compareTo(GfrEnuValuesKindFileFormat.VALUE_CSV.name()) == 0)
            {
               _exportToCsvPths_(frmOwner);
               return true;
            }
         }


         if (strValueKindObject.compareTo(GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_ARE.name()) == 0)
         {
            if (strValueKindFileFormat.compareTo(GfrEnuValuesKindFileFormat.VALUE_EXCEL.name()) == 0)
            {
               _exportToExcAres_(frmOwner);
               return true;
            }

            if (strValueKindFileFormat.compareTo(GfrEnuValuesKindFileFormat.VALUE_CSV.name()) == 0)
            {
               _exportToCsvAres_(frmOwner);
               return true;
            }
         }
      }
      if (evt.getSource() instanceof GfrMimTrsAlrExpObj)
      {
         GfrMimTrsAlrExpObj mim = (GfrMimTrsAlrExpObj) evt.getSource();
         JFrame frmOwner = GfrFrmAbs.s_getFrameOwner(mim);


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

         String strValueKindFileFormat = mim.getPropertyImmutable(
                 GfrEnuApplicationPropertiesImmutableKeys.KEY_KIND_FILE_FORMAT.name());



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

         if (strValueKindFileFormat == null || strValueKindFileFormat.length() < 1)
            return false;

         if (strValueKindObject.compareTo(GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_PLC.name()) == 0)
         {
            if (strValueKindFileFormat.compareTo(GfrEnuValuesKindFileFormat.VALUE_CSV.name()) == 0)
            {
               String strIdSource = mim.getIdSource();
               _exportToCsvPlc_(frmOwner, strIdSource);
               return true;
            }

            if (strValueKindFileFormat.compareTo(GfrEnuValuesKindFileFormat.VALUE_EXCEL.name()) == 0)
            {
               String strIdSource = mim.getIdSource();
               _exportToExcPlc_(frmOwner, strIdSource);
               return true;
            }
         }
         if (strValueKindObject.compareTo(GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_PNT.name()) == 0)
         {
            if (strValueKindFileFormat.compareTo(GfrEnuValuesKindFileFormat.VALUE_CSV.name()) == 0)
            {
               String strIdSource = mim.getIdSource();
               _exportToCsvPnt_(frmOwner, strIdSource);
               return true;
            }



            if (strValueKindFileFormat.compareTo(GfrEnuValuesKindFileFormat.VALUE_EXCEL.name()) == 0)
            {
               String strIdSource = mim.getIdSource();
               _exportToExcPnt_(frmOwner, strIdSource);
               return true;
            }
         }
         if (strValueKindObject.compareTo(GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_SCT.name()) == 0)
View Full Code Here

TOP

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

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.