Package org.geoforge.mdldsp.event.state.singleton

Examples of org.geoforge.mdldsp.event.state.singleton.GfrEvtMdlSttSngAbs


   {
      try
      {
         if (objEvt instanceof GfrEvtMdlSttSngAbs)
         {
            GfrEvtMdlSttSngAbs mdl = (GfrEvtMdlSttSngAbs) objEvt;

            String strId = mdl.getKey();

            if (! GfrWrpBasSynObjNameTloWms.getInstance().containsLayerLeafInTop(super.getId(), strId))
               return;

            _update();
            return;
         }
        
         if (objEvt instanceof GfrEvtMdlIdDatAddedLloVarWmsLyrLeaf)
         {
            GfrEvtMdlIdDatAddedLloVarWmsLyrLeaf mdl = (GfrEvtMdlIdDatAddedLloVarWmsLyrLeaf) objEvt;

            String strIdParent = mdl.getIdParent();

            if (strIdParent.compareTo(super.getId()) != 0)
               return;

            _update();
View Full Code Here


   {
      try
      {
         if (objEvt instanceof GfrEvtMdlSttSngAbs)
         {
            GfrEvtMdlSttSngAbs mdl = (GfrEvtMdlSttSngAbs) objEvt;

            String strId = mdl.getKey();

            if (! GfrWrpBasSynObjNameTloWms.getInstance().containsLayerLeafInLayerFolder(super.getId(), strId))
               return;

            _update();
            return;
         }
        
         if (objEvt instanceof GfrEvtMdlIdDatAddedLloVarWmsLyrLeaf)
         {
            GfrEvtMdlIdDatAddedLloVarWmsLyrLeaf mdl = (GfrEvtMdlIdDatAddedLloVarWmsLyrLeaf) objEvt;

            String strIdParent = mdl.getIdParent();

            if (strIdParent.compareTo(this._strIdTlo) != 0)
               return;

            _update();
View Full Code Here

   {
      try
      {
         if (objEvt instanceof GfrEvtMdlSttSngAbs)
         {
            GfrEvtMdlSttSngAbs mdl = (GfrEvtMdlSttSngAbs) objEvt;

            String strId = mdl.getKey();

            if (! GfrWrpBasSynObjNameTloWms.getInstance().containsLayerLeafInLayerFolder(super.getId(), strId))
               return;

            _update();
            return;
         }
        
         if (objEvt instanceof GfrEvtMdlIdDatAddedLloVarWmsLyrLeaf)
         {
            GfrEvtMdlIdDatAddedLloVarWmsLyrLeaf mdl = (GfrEvtMdlIdDatAddedLloVarWmsLyrLeaf) objEvt;

            String strIdParent = mdl.getIdParent();

            if (strIdParent.compareTo(this._strIdTlo) != 0)
               return;

            _update();
View Full Code Here

     
      try
      {
         if (objEvt instanceof GfrEvtMdlSttSngAbs)
         {
            GfrEvtMdlSttSngAbs mdl = (GfrEvtMdlSttSngAbs) objEvt;

            String strId = mdl.getKey();

            if (! GfrWrpBasSynObjNameTloWms.getInstance().containsLayerLeafInTop(super.getId(), strId))
               return;

            _update();
            return;
         }
        
         if (objEvt instanceof GfrEvtMdlIdDatAddedLloVarWmsLyrLeaf)
         {
            GfrEvtMdlIdDatAddedLloVarWmsLyrLeaf mdl = (GfrEvtMdlIdDatAddedLloVarWmsLyrLeaf) objEvt;

            String strIdParent = mdl.getIdParent();

            if (strIdParent.compareTo(super.getId()) != 0)
               return;

            _update();
View Full Code Here

   @Override
   public void update(Observable obs, Object objEvt)
   {
      if (objEvt instanceof GfrEvtMdlSttSngSelTlo)
      {
         GfrEvtMdlSttSngAbs evt = (GfrEvtMdlSttSngAbs) objEvt;
         String strId = evt.getKey();

         if (strId.compareTo(super._strId) != 0)
            return;

         boolean blnValue = evt.getValue();

         if (blnValue && super._blnIsSelected)
            return;

         if (!blnValue && !super._blnIsSelected)
            return;

         super.setSelected(blnValue);

         // TRICK
         if (super._tree != null)
         {
            ((GfrTreCtrTopSpcTogChkPrjSelCatTlosAbs) super._tree).fireValueChangedTrick();
         }

         return;
      }

      if (objEvt instanceof GfrEvtMdlIdDatRenamedTlo)
      {
         GfrEvtMdlIdDatRenamedTlo evt = (GfrEvtMdlIdDatRenamedTlo) objEvt;
         String strId = evt.getId();

         if (strId.compareTo(this._strId) != 0)
            return;

         ((IGfrHandlerRenamerChildNode) super.getParent()).renameChildNode(this, evt.getValueNew());

         return;
      }

      super.update(obs, objEvt);
View Full Code Here

TOP

Related Classes of org.geoforge.mdldsp.event.state.singleton.GfrEvtMdlSttSngAbs

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.