Package org.geoforge.guillc.menuitem

Examples of org.geoforge.guillc.menuitem.GfrMimTrsAlrTloViewDftRdrPdfImgsAbs


      Object objEvt = evt.getSource();


      if (evt.getSource() instanceof GfrMimTrsAlrTloViewDftRdrPdfImgsSct)
      {
         GfrMimTrsAlrTloViewDftRdrPdfImgsAbs mim = (GfrMimTrsAlrTloViewDftRdrPdfImgsAbs) evt.getSource();
         JFrame frmOwner = GfrFrmAbs.s_getFrameOwner(mim);
         String strIdSource = mim.getIdTlo();

         this._imageGalleryEclToPdfTempo_(
                 frmOwner,
                 GfrWrpBasSynObjNameTloEclSct.getInstance(),
                 strIdSource);

         return true;
      }






      if (evt.getSource() instanceof GfrMimTrsAlrTloViewDftRdrPdfImgsSpn)
      {
         GfrMimTrsAlrTloViewDftRdrPdfImgsAbs mim = (GfrMimTrsAlrTloViewDftRdrPdfImgsAbs) evt.getSource();
         JFrame frmOwner = GfrFrmAbs.s_getFrameOwner(mim);
         String strIdSource = mim.getIdTlo();

         this._imageGalleryEclToPdfTempo_(
                 frmOwner,
                 GfrWrpBasSynObjNameTloEclSpn.getInstance(),
                 strIdSource);

         return true;
      }


      // memo: behaves like export
      if (evt.getSource() instanceof GfrMimTrsAlrTloViewDftRdrPdfImgsAre)
      {
         GfrMimTrsAlrTloViewDftRdrPdfImgsAbs mim = (GfrMimTrsAlrTloViewDftRdrPdfImgsAbs) evt.getSource();
         JFrame frmOwner = GfrFrmAbs.s_getFrameOwner(mim);
         String strIdSource = mim.getIdTlo();

         this._imageGalleryEclToPdfTempo_(
                 frmOwner,
                 GfrWrpBasSynObjNameTloEclAre.getInstance(),
                 strIdSource);

         return true;
      }

      // memo: behaves like export
      if (evt.getSource() instanceof GfrMimTrsAlrTloViewDftRdrPdfImgsPth)
      {
         GfrMimTrsAlrTloViewDftRdrPdfImgsAbs mim = (GfrMimTrsAlrTloViewDftRdrPdfImgsAbs) evt.getSource();
         JFrame frmOwner = GfrFrmAbs.s_getFrameOwner(mim);
         String strIdSource = mim.getIdTlo();

         this._imageGalleryEclToPdfTempo_(
                 frmOwner,
                 GfrWrpBasSynObjNameTloEclPth.getInstance(),
                 strIdSource);

         return true;
      }

      // memo: behaves like export

      if (evt.getSource() instanceof GfrMimTrsAlrTloViewDftRdrPdfImgsPlc)
      {
         GfrMimTrsAlrTloViewDftRdrPdfImgsAbs mim = (GfrMimTrsAlrTloViewDftRdrPdfImgsAbs) evt.getSource();
         JFrame frmOwner = GfrFrmAbs.s_getFrameOwner(mim);
         String strIdSource = mim.getIdTlo();

         this._imageGalleryEclToPdfTempo_(
                 frmOwner,
                 GfrWrpBasSynObjNameTloEclPlc.getInstance(),
                 strIdSource);

         return true;
      }

      if (evt.getSource() instanceof GfrMimTrsAlrTloViewDftRdrPdfImgsPnt)
      {
         GfrMimTrsAlrTloViewDftRdrPdfImgsAbs mim = (GfrMimTrsAlrTloViewDftRdrPdfImgsAbs) evt.getSource();
         JFrame frmOwner = GfrFrmAbs.s_getFrameOwner(mim);
         String strIdSource = mim.getIdTlo();

         this._imageGalleryEclToPdfTempo_(
                 frmOwner,
                 GfrWrpBasSynObjNameTloEclPnt.getInstance(),
                 strIdSource);

         return true;
      }

      if (objEvt instanceof GfrMimTrsAlrIdExpObjsLlo)
      {
         GfrMimTrsAlrIdExpObjsLlo mim = (GfrMimTrsAlrIdExpObjsLlo) objEvt;
         JFrame frmOwner = GfrFrmAbs.s_getFrameOwner(mim);
         String strIdSource = mim.getId();


         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(
                 GfrEnuValuesKindObjectLloVarSpcPrjOgcEcl.VALUE_LLO_IMAGE_ECL_SPN.name()) == 0)
         {
            if (strValueKindFileFormat.compareTo(GfrEnuValuesKindFileFormat.VALUE_PDF.name()) == 0)
            {
               this._imageGalleryTloEclToPdf_(
                       frmOwner,
                       GfrWrpBasSynObjNameTloEclSpn.getInstance(),
                       strIdSource);

               return true;
            }

            if (strValueKindFileFormat.compareTo(
                    GfrEnuValuesKindFileFormat.VALUE_FOLDER.name()) == 0)
            {
               this._imageGalleryTloEclToNewFolder_(
                       frmOwner,
                       GfrWrpBasSynObjNameTloEclSpn.getInstance(),
                       strIdSource);

               return true;
            }
         }

         if (strValueKindObject.compareTo(
                 GfrEnuValuesKindObjectLloVarSpcPrjOgcEcl.VALUE_LLO_IMAGE_ECL_ARE.name()) == 0)
         {
            if (strValueKindFileFormat.compareTo(
                    GfrEnuValuesKindFileFormat.VALUE_PDF.name()) == 0)
            {
               this._imageGalleryTloEclToPdf_(
                       frmOwner,
                       GfrWrpBasSynObjNameTloEclAre.getInstance(),
                       strIdSource);

               return true;
            }

            if (strValueKindFileFormat.compareTo(
                    GfrEnuValuesKindFileFormat.VALUE_FOLDER.name()) == 0)
            {
               this._imageGalleryTloEclToNewFolder_(
                       frmOwner,
                       GfrWrpBasSynObjNameTloEclAre.getInstance(),
                       strIdSource);

               return true;
            }
         }

         if (strValueKindObject.compareTo(
                 GfrEnuValuesKindObjectLloVarSpcPrjOgcEcl.VALUE_LLO_IMAGE_ECL_PLC.name()) == 0)
         {
            if (strValueKindFileFormat.compareTo(
                    GfrEnuValuesKindFileFormat.VALUE_PDF.name()) == 0)
            {
               this._imageGalleryTloEclToPdf_(
                       frmOwner,
                       GfrWrpBasSynObjNameTloEclPlc.getInstance(),
                       strIdSource);

               return true;
            }

            if (strValueKindFileFormat.compareTo(
                    GfrEnuValuesKindFileFormat.VALUE_FOLDER.name()) == 0)
            {
               this._imageGalleryTloEclToNewFolder_(
                       frmOwner,
                       GfrWrpBasSynObjNameTloEclPlc.getInstance(),
                       strIdSource);

               return true;
            }
         }

         if (strValueKindObject.compareTo(
                 GfrEnuValuesKindObjectLloVarSpcPrjOgcEcl.VALUE_LLO_IMAGE_ECL_PNT.name()) == 0)
         {
            if (strValueKindFileFormat.compareTo(
                    GfrEnuValuesKindFileFormat.VALUE_PDF.name()) == 0)
            {
               this._imageGalleryTloEclToPdf_(
                       frmOwner,
                       GfrWrpBasSynObjNameTloEclPnt.getInstance(),
                       strIdSource);

               return true;
            }

            if (strValueKindFileFormat.compareTo(
                    GfrEnuValuesKindFileFormat.VALUE_FOLDER.name()) == 0)
            {
               this._imageGalleryTloEclToNewFolder_(
                       frmOwner,
                       GfrWrpBasSynObjNameTloEclPnt.getInstance(),
                       strIdSource);

               return true;
            }
         }


         if (strValueKindObject.compareTo(
                 GfrEnuValuesKindObjectLloVarSpcPrjOgcEcl.VALUE_LLO_IMAGE_ECL_PTH.name()) == 0)
         {
            if (strValueKindFileFormat.compareTo(
                    GfrEnuValuesKindFileFormat.VALUE_PDF.name()) == 0)
            {
               this._imageGalleryTloEclToPdf_(
                       frmOwner,
                       GfrWrpBasSynObjNameTloEclPth.getInstance(),
                       strIdSource);

               return true;
            }

            if (strValueKindFileFormat.compareTo(
                    GfrEnuValuesKindFileFormat.VALUE_FOLDER.name()) == 0)
            {
               this._imageGalleryTloEclToNewFolder_(
                       frmOwner,
                       GfrWrpBasSynObjNameTloEclPth.getInstance(),
                       strIdSource);

               return true;
            }

         }

         if (strValueKindObject.compareTo(
                 GfrEnuValuesKindObjectLloVarSpcPrjOgcEcl.VALUE_LLO_IMAGE_ECL_SCT.name()) == 0)
         {
            if (strValueKindFileFormat.compareTo(
                    GfrEnuValuesKindFileFormat.VALUE_PDF.name()) == 0)
            {
               this._imageGalleryTloEclToPdf_(
                       frmOwner,
                       GfrWrpBasSynObjNameTloEclSct.getInstance(),
                       strIdSource);

               return true;
            }

            if (strValueKindFileFormat.compareTo(
                    GfrEnuValuesKindFileFormat.VALUE_FOLDER.name()) == 0)
            {
               this._imageGalleryTloEclToNewFolder_(
                       frmOwner,
                       GfrWrpBasSynObjNameTloEclSct.getInstance(),
                       strIdSource);

               return true;
            }
         }

         if (strValueKindObject.compareTo(
                 GfrEnuValuesKindObjectLloVarSpcPrjOgcEcl.VALUE_LLO_IMAGE_ECL_SEG_WISE_YES.name()) == 0)
         {
            if (strValueKindFileFormat.compareTo(
                    GfrEnuValuesKindFileFormat.VALUE_PDF.name()) == 0)
            {
               this._imageGalleryTloEclToPdf_(
                       frmOwner,
                       GfrWrpBasSynObjNameTloEclSegWiseYes.getInstance(),
                       strIdSource);

               return true;
            }

            if (strValueKindFileFormat.compareTo(
                    GfrEnuValuesKindFileFormat.VALUE_FOLDER.name()) == 0)
            {
               this._imageGalleryTloEclToNewFolder_(
                       frmOwner,
                       GfrWrpBasSynObjNameTloEclSegWiseYes.getInstance(),
                       strIdSource);

               return true;
            }
         }
      }


      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.GfrMimTrsAlrTloViewDftRdrPdfImgsAbs

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.