Package org.geoforge.guillc.menuitem

Examples of org.geoforge.guillc.menuitem.GfrMimTrsAlrIdDelObj


      this._mimRename = new GfrMimTrsAlrIdRenTlo(
              alrController,
              strUniqueId,
              strValueKindObject);

      this._mimDelete = new GfrMimTrsAlrIdDelObj(
              alrController,
              strUniqueId,
              strValueKindObject);

      this._mimSettings = new GfrMimTrsAlrIdSetTlo(
View Full Code Here




      if (evt.getSource() instanceof GfrMimTrsAlrIdDelObj)
      {
         GfrMimTrsAlrIdDelObj mim = (GfrMimTrsAlrIdDelObj) evt.getSource();
         JFrame frmOwner = GfrFrmAbs.s_getFrameOwnerTrickForActionController(mim);
         String strId = mim.getId();
         String strValueKindObject = mim.getPropertyImmutable(
                 GfrEnuApplicationPropertiesImmutableKeys.KEY_KIND_OBJECT.name());

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

         //--


         if (strValueKindObject.compareTo(GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_ARE.name()) == 0)
         {
            return this._deleteTlo_(
                    frmOwner,
                    strId,
                    GfrWrpBasSynObjNameTloEclAre.getInstance(),
                    GfrMdlDatSetTlosEclAre.getInstance());
         }

         if (strValueKindObject.compareTo(GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_SEG_WISE_YES.name()) == 0)
         {
            return this._deleteTlo_(
                    frmOwner,
                    strId,
                    GfrWrpBasSynObjNameTloEclSegWiseYes.getInstance(),
                    GfrMdlDatSetTlosEclSegWiseYes.getInstance());
         }

         if (strValueKindObject.compareTo(GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_SPN.name()) == 0)
         {
            return this._deleteTlo_(
                    frmOwner,
                    strId,
                    GfrWrpBasSynObjNameTloEclSpn.getInstance(),
                    GfrMdlDatSetTlosEclSpn.getInstance());
         }

         if (strValueKindObject.compareTo(GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_PTH.name()) == 0)
         {
            return this._deleteTlo_(
                    frmOwner,
                    strId,
                    GfrWrpBasSynObjNameTloEclPth.getInstance(),
                    GfrMdlDatSetTlosEclPth.getInstance());
         }

         if (strValueKindObject.compareTo(GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_PLC.name()) == 0)
         {
            return this._deleteTlo_(
                    frmOwner,
                    strId,
                    GfrWrpBasSynObjNameTloEclPlc.getInstance(),
                    GfrMdlDatSetTlosEclPlc.getInstance());
         }

         if (strValueKindObject.compareTo(GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_PNT.name()) == 0)
         {
            return this._deleteTlo_(
                    frmOwner,
                    strId,
                    GfrWrpBasSynObjNameTloEclPnt.getInstance(),
                    GfrMdlDatSetTlosEclPnt.getInstance());
         }

         if (strValueKindObject.compareTo(GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_SCT.name()) == 0)
         {
            return this._deleteTlo_(
                    frmOwner,
                    strId,
                    GfrWrpBasSynObjNameTloEclSct.getInstance(),
                    GfrMdlDatSetTlosEclSct.getInstance());
         }

      }




      if (evt.getSource() instanceof GfrMimTrsAlrDelAllObjLlosVarImgSct)
      {
         GfrMimTrsAlrDelAllObjLlosAbs mim = (GfrMimTrsAlrDelAllObjLlosAbs) evt.getSource();
         String strIdThis = mim.getIdThis();
         String strNameThis = GfrWrpBasSynObjNameTloEclSct.getInstance().getName(strIdThis);

         String strBody = "Are you sure you want to delete all images of\n  " + strNameThis + "?";
         JFrame frmOwner = GfrFrmAbs.s_getFrameOwnerTrickForActionController(mim);

         if (!GfrOptionPaneAbs.s_showDialogConfirm(
                 frmOwner,
                 "Delete all images" + " - " + strNameThis,
                 strBody))
            return true; // action cancelled by user


         GfrMdlDatIdObjTloEclSct.getInstance().deleteAllImages(strIdThis);
         return true;
      }





      if (evt.getSource() instanceof GfrMimTrsAlrDelAllObjLlosVarImgPlc)
      {
         GfrMimTrsAlrDelAllObjLlosAbs mim = (GfrMimTrsAlrDelAllObjLlosAbs) evt.getSource();
         String strIdThis = mim.getIdThis();
         String strNameThis = GfrWrpBasSynObjNameTloEclPlc.getInstance().getName(strIdThis);

         String strBody = "Are you sure you want to delete all images of\n  " + strNameThis + "?";
         JFrame frmOwner = GfrFrmAbs.s_getFrameOwnerTrickForActionController(mim);

         if (!GfrOptionPaneAbs.s_showDialogConfirm(
                 frmOwner,
                 "Delete all images" + " - " + strNameThis,
                 strBody))
            return true; // action cancelled by user


         GfrMdlDatIdObjTloEclPlc.getInstance().deleteAllImages(strIdThis);
         return true;
      }

      if (evt.getSource() instanceof GfrMimTrsAlrDelAllObjLlosVarImgPnt)
      {
         GfrMimTrsAlrDelAllObjLlosAbs mim = (GfrMimTrsAlrDelAllObjLlosAbs) evt.getSource();
         String strIdThis = mim.getIdThis();
         String strNameThis = GfrWrpBasSynObjNameTloEclPnt.getInstance().getName(strIdThis);

         String strBody = "Are you sure you want to delete all images of\n  " + strNameThis + "?";
         JFrame frmOwner = GfrFrmAbs.s_getFrameOwnerTrickForActionController(mim);

         if (!GfrOptionPaneAbs.s_showDialogConfirm(
                 frmOwner,
                 "Delete all images" + " - " + strNameThis,
                 strBody))
            return true; // action cancelled by user


         GfrMdlDatIdObjTloEclPnt.getInstance().deleteAllImages(strIdThis);
         return true;
      }

      if (evt.getSource() instanceof GfrMimTrsAlrDelAllObjLlosVarImgAre)
      {
         GfrMimTrsAlrDelAllObjLlosAbs mim = (GfrMimTrsAlrDelAllObjLlosAbs) evt.getSource();
         String strIdThis = mim.getIdThis();
         String strNameThis = GfrWrpBasSynObjNameTloEclAre.getInstance().getName(strIdThis);

         String strBody = "Are you sure you want to delete all images of\n  " + strNameThis + "?";
         JFrame frmOwner = GfrFrmAbs.s_getFrameOwnerTrickForActionController(mim);

         if (!GfrOptionPaneAbs.s_showDialogConfirm(
                 frmOwner,
                 "Delete all images" + " - " + strNameThis,
                 strBody))
            return true; // action cancelled by user


         GfrMdlDatIdObjTloEclAre.getInstance().deleteAllImages(strIdThis);
         return true;
      }

      if (evt.getSource() instanceof GfrMimTrsAlrDelAllObjLlosVarImgSpn)
      {
         GfrMimTrsAlrDelAllObjLlosAbs mim = (GfrMimTrsAlrDelAllObjLlosAbs) evt.getSource();
         String strIdThis = mim.getIdThis();
         String strNameThis = GfrWrpBasSynObjNameTloEclSpn.getInstance().getName(strIdThis);

         String strBody = "Are you sure you want to delete all images of\n  " + strNameThis + "?";
         JFrame frmOwner = GfrFrmAbs.s_getFrameOwnerTrickForActionController(mim);

         if (!GfrOptionPaneAbs.s_showDialogConfirm(
                 frmOwner,
                 "Delete all images" + " - " + strNameThis,
                 strBody))
            return true; // action cancelled by user


         GfrMdlDatIdObjTloEclSpn.getInstance().deleteAllImages(strIdThis);
         return true;
      }

      if (evt.getSource() instanceof GfrMimTrsAlrDelAllObjLlosVarImgPth)
      {
         GfrMimTrsAlrDelAllObjLlosAbs mim = (GfrMimTrsAlrDelAllObjLlosAbs) evt.getSource();
         String strIdThis = mim.getIdThis();
         String strNameThis = GfrWrpBasSynObjNameTloEclPth.getInstance().getName(strIdThis);

         String strBody = "Are you sure you want to delete all images of\n  " + strNameThis + "?";
         JFrame frmOwner = GfrFrmAbs.s_getFrameOwnerTrickForActionController(mim);

         if (!GfrOptionPaneAbs.s_showDialogConfirm(
                 frmOwner,
                 "Delete all images" + " - " + strNameThis,
                 strBody))
            return true; // action cancelled by user


         GfrMdlDatIdObjTloEclPth.getInstance().deleteAllImages(strIdThis);
         return true;
      }


      if (evt.getSource() instanceof GfrMimTrsAlrDelAllObjLlosVarImgSwy)
      {
         GfrMimTrsAlrDelAllObjLlosAbs mim = (GfrMimTrsAlrDelAllObjLlosAbs) evt.getSource();
         String strIdThis = mim.getIdThis();
         String strNameThis = GfrWrpBasSynObjNameTloEclSegWiseYes.getInstance().getName(strIdThis);

         String strBody = "Are you sure you want to delete all images of\n  " + strNameThis + "?";
         JFrame frmOwner = GfrFrmAbs.s_getFrameOwnerTrickForActionController(mim);

         if (!GfrOptionPaneAbs.s_showDialogConfirm(
                 frmOwner,
                 "Delete all images" + " - " + strNameThis,
                 strBody))
            return true; // action cancelled by user


         GfrMdlDatIdObjTloEclSegWiseYes.getInstance().deleteAllImages(strIdThis);
         return true;
      }

      // ---

      // beg delete llo
      if (evt.getSource() instanceof GfrMimTrsAlrIdDelChildObj)
      {

         GfrMimTrsAlrIdAbs mim = (GfrMimTrsAlrIdAbs) evt.getSource();
         String strIdChild = mim.getId();
         String strIdParent = ((GfrMimTrsAlrIdDelChildObj) mim).getIdParent();


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

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

         //--


         if (strValueKindObject.compareTo(GfrEnuValuesKindObjectLloVarSpcPrjOgcEcl.VALUE_LLO_IMAGE_ECL_PLC.name()) == 0)
         {
            String strNameChild = GfrWrpBasSynObjNameTloEclPlc.getInstance().getNameImage(strIdChild);
            String strBody = "Are you sure you want to delete image " + strNameChild + "?";
            JFrame frmOwner = GfrFrmAbs.s_getFrameOwnerTrickForActionController(mim);

            if (!GfrOptionPaneAbs.s_showDialogConfirm(
                    frmOwner, GfrResBundleLang.s_getInstance().getValue("word.delete") + " " + strNameChild,
                    strBody))
               return true; // action cancelled by user

            GfrMdlDatIdObjTloEclPlc.getInstance().deleteImage(strIdParent, strIdChild);
            return true;
         }

         if (strValueKindObject.compareTo(GfrEnuValuesKindObjectLloVarSpcPrjOgcEcl.VALUE_LLO_IMAGE_ECL_PNT.name()) == 0)
         {
            String strNameChild = GfrWrpBasSynObjNameTloEclPnt.getInstance().getNameImage(strIdChild);
            String strBody = "Are you sure you want to delete image " + strNameChild + "?";
            JFrame frmOwner = GfrFrmAbs.s_getFrameOwnerTrickForActionController(mim);

            if (!GfrOptionPaneAbs.s_showDialogConfirm(
                    frmOwner, GfrResBundleLang.s_getInstance().getValue("word.delete") + " " + strNameChild,
                    strBody))
               return true; // action cancelled by user

            GfrMdlDatIdObjTloEclPnt.getInstance().deleteImage(strIdParent, strIdChild);
            return true;
         }

         if (strValueKindObject.compareTo(GfrEnuValuesKindObjectLloVarSpcPrjOgcEcl.VALUE_LLO_IMAGE_ECL_ARE.name()) == 0)
         {
            String strNameChild = GfrWrpBasSynObjNameTloEclAre.getInstance().getNameImage(strIdChild);
            String strBody = "Are you sure you want to delete image " + strNameChild + "?";
            JFrame frmOwner = GfrFrmAbs.s_getFrameOwnerTrickForActionController(mim);

            if (!GfrOptionPaneAbs.s_showDialogConfirm(
                    frmOwner, GfrResBundleLang.s_getInstance().getValue("word.delete") + " " + strNameChild,
                    strBody))
               return true; // action cancelled by user

            GfrMdlDatIdObjTloEclAre.getInstance().deleteImage(strIdParent, strIdChild);

            return true;
         }

         if (strValueKindObject.compareTo(GfrEnuValuesKindObjectLloVarSpcPrjOgcEcl.VALUE_LLO_IMAGE_ECL_SPN.name()) == 0)
         {
            String strNameChild = GfrWrpBasSynObjNameTloEclSpn.getInstance().getNameImage(strIdChild);
            String strBody = "Are you sure you want to delete image " + strNameChild + "?";
            JFrame frmOwner = GfrFrmAbs.s_getFrameOwnerTrickForActionController(mim);

            if (!GfrOptionPaneAbs.s_showDialogConfirm(
                    frmOwner, GfrResBundleLang.s_getInstance().getValue("word.delete") + " " + strNameChild,
                    strBody))
               return true; // action cancelled by user

            GfrMdlDatIdObjTloEclSpn.getInstance().deleteImage(strIdParent, strIdChild);

            return true;
         }

         if (strValueKindObject.compareTo(GfrEnuValuesKindObjectLloVarSpcPrjOgcEcl.VALUE_LLO_IMAGE_ECL_PTH.name()) == 0)
         {
            JFrame frmOwner = GfrFrmAbs.s_getFrameOwnerTrickForActionController(mim);

            String strNameChild = GfrWrpBasSynObjNameTloEclPth.getInstance().getNameImage(strIdChild);
            String strBody = "Are you sure you want to delete image " + strNameChild + "?";

            if (!GfrOptionPaneAbs.s_showDialogConfirm(
                    frmOwner, GfrResBundleLang.s_getInstance().getValue("word.delete") + " " + strNameChild,
                    strBody))
               return true; // action cancelled by user

            GfrMdlDatIdObjTloEclPth.getInstance().deleteImage(strIdParent, strIdChild);

            return true;
         }

         if (strValueKindObject.compareTo(GfrEnuValuesKindObjectLloVarSpcPrjOgcEcl.VALUE_LLO_IMAGE_ECL_SCT.name()) == 0)
         {

            String strNameChild = GfrWrpBasSynObjNameTloEclSct.getInstance().getNameImage(strIdChild);
            String strBody = "Are you sure you want to delete image " + strNameChild + "?";
            JFrame frmOwner = GfrFrmAbs.s_getFrameOwnerTrickForActionController(mim);

            if (!GfrOptionPaneAbs.s_showDialogConfirm(
                    frmOwner, GfrResBundleLang.s_getInstance().getValue("word.delete") + " " + strNameChild,
                    strBody))
               return true; // action cancelled by user

            GfrMdlDatIdObjTloEclSct.getInstance().deleteImage(strIdParent, strIdChild);
            return true;
         }

         if (strValueKindObject.compareTo(GfrEnuValuesKindObjectLloVarSpcPrjOgcEcl.VALUE_LLO_IMAGE_ECL_SEG_WISE_YES.name()) == 0)
         {
            JFrame frmOwner = GfrFrmAbs.s_getFrameOwnerTrickForActionController(mim);

            String strNameChild = GfrWrpBasSynObjNameTloEclSegWiseYes.getInstance().getNameImage(strIdChild);
            String strBody = "Are you sure you want to delete image " + strNameChild + "?";

            if (!GfrOptionPaneAbs.s_showDialogConfirm(
                    frmOwner, GfrResBundleLang.s_getInstance().getValue("word.delete") + " " + strNameChild,
                    strBody))
               return true; // action cancelled by user

            GfrMdlDatIdObjTloEclSegWiseYes.getInstance().deleteImage(strIdParent, strIdChild);

            return true;
         }
      }
      // end delete llo

      if (evt.getSource() instanceof GfrMimTrsAlrDelAllObjTlos)
      {
         GfrMimTrsAlrDelAllObjTlos mim = (GfrMimTrsAlrDelAllObjTlos) evt.getSource();
         JFrame frmOwner = GfrFrmAbs.s_getFrameOwnerTrickForActionController(mim);

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

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

      this._mimRename = new GfrMimTrsAlrIdRenTlo(
              alrControllerSpace,
              strUniqueId,
              strValueKindObject);
     
      super._mimDelete = new GfrMimTrsAlrIdDelObj(
              alrControllerSpace,
              strUniqueId,
              strValueKindObject);
   }
View Full Code Here

      this._mimRename = new GfrMimTrsAlrIdRenTlo(
              alrController,
              strUniqueId,
              strValueKindObject);

      super._mimDelete = new GfrMimTrsAlrIdDelObj(
              alrController,
              strUniqueId,
              strValueKindObject);

      super._mimSettings = new GfrMimTrsAlrIdSetTlo(
View Full Code Here

         String strKindWindow,
         String strKindObject)
   {
      this(tree);

      this._mimDelete = new GfrMimTrsAlrIdDelObj(
            alrController, strIdParent,
            strKindObject);
           
      super._mimSettings = new GfrMimTrsAlrIdSetLloFix(
              alrController, strIdParent,
View Full Code Here

            strValueKindObject);

      this._mimRename = new GfrMimTrsAlrIdRenTlo(alrControllerEitherSpcPrjAppliOrPlugin, strUniqueId,
            strValueKindObject);

      super._mimDelete = new GfrMimTrsAlrIdDelObj(
            alrControllerEitherSpcPrjAppliOrPlugin,
            strUniqueId,
            strValueKindObject);

      super._mimSettings = new GfrMimTrsAlrIdSetTlo(
View Full Code Here

           String strValueKindTargetWindow
            )
    {
        super(strUniqueId, tree);

        super._mimDelete = new GfrMimTrsAlrIdDelObj(
                alrController, strUniqueId,
                GfrEnuValuesKindObjectTloSpcPrjOgc.VALUE_TLO_WMS.name());
       
        super._mimSettings = new GfrMimTrsAlrIdSetTlo(
                alrController, strUniqueId,
View Full Code Here

TOP

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

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.