Package org.geoforge.mdldat.event

Examples of org.geoforge.mdldat.event.GfrEvtMdlIdDatRenamedTlo


          return;
       }
      
       if (objId instanceof GfrEvtMdlIdDatRenamedTlo)
       {
          GfrEvtMdlIdDatRenamedTlo objRename = (GfrEvtMdlIdDatRenamedTlo) objId;
          super.setValue(gov.nasa.worldwind.avlist.AVKey.DISPLAY_NAME, objRename.getValueNew());
         // memo: no need to redraw, coz of just handling toolTip
          return;
       }
      
       // end data
View Full Code Here


          return;
       }
      
       if (objId instanceof GfrEvtMdlIdDatRenamedTlo)
       {
          GfrEvtMdlIdDatRenamedTlo objRename = (GfrEvtMdlIdDatRenamedTlo) objId;
          super.setValue(gov.nasa.worldwind.avlist.AVKey.DISPLAY_NAME, objRename.getValueNew());
         // memo: no need to redraw, coz of just handling toolTip
          return;
       }
      
       // end data
View Full Code Here

   public void rename(String strId, String strNew)
           throws Exception
   {
      // notify observers
      super.setChanged();
      Object obj = new GfrEvtMdlIdDatRenamedTlo(strId, strNew);
      super.notifyObservers(obj);
   }
View Full Code Here

          return;
       }
      
       if (objId instanceof GfrEvtMdlIdDatRenamedTlo)
       {
          GfrEvtMdlIdDatRenamedTlo objRename = (GfrEvtMdlIdDatRenamedTlo) objId;
          super.setValue(gov.nasa.worldwind.avlist.AVKey.DISPLAY_NAME, objRename.getValueNew());
         // memo: no need to redraw, coz of just handling toolTip
          return;
       }
      
       // end data
View Full Code Here

        
        
         
         if (objId instanceof GfrEvtMdlIdDatRenamedTlo)
          {
             GfrEvtMdlIdDatRenamedTlo objRename = (GfrEvtMdlIdDatRenamedTlo) objId;
             String strText = objRename.getValueNew();
            
             if (super._strSuffixText != null)
             {
                strText += "\n";
                strText += super._strSuffixText;
View Full Code Here

       if (strIdEvt.compareTo(this._strId) != 0)
          return;
      
       if (objId instanceof GfrEvtMdlIdDatRenamedTlo)
       {
          GfrEvtMdlIdDatRenamedTlo objRename = (GfrEvtMdlIdDatRenamedTlo) objId;
          super.setValue(gov.nasa.worldwind.avlist.AVKey.DISPLAY_NAME, objRename.getValueNew());
         // memo: no need to redraw, coz of just handling toolTip
          return;
       }
      
       // end data
View Full Code Here

          return;
       }
      
       if (objId instanceof GfrEvtMdlIdDatRenamedTlo)
       {
          GfrEvtMdlIdDatRenamedTlo objRename = (GfrEvtMdlIdDatRenamedTlo) objId;
          super.setValue(gov.nasa.worldwind.avlist.AVKey.DISPLAY_NAME, objRename.getValueNew());
         // memo: no need to redraw, coz of just handling toolTip
          return;
       }
      
       // end data
View Full Code Here

         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

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

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

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

         return;
      }
   }
View Full Code Here

TOP

Related Classes of org.geoforge.mdldat.event.GfrEvtMdlIdDatRenamedTlo

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.