title: GWT: How to disable the anchor link event when clicked
body: <p>I want to disable the anchor link event when it clicked one time.  I used <code>anchor.setenabled(false)</code> but nothing happend.  When I click the same button again the event <code>e</code> is <code>true</code>.  I want <code>false</code> at that time.</p>
  
  <pre><code>public void onCellClick(GridPanel grid, int rowIndex, int colindex,EventObject e) 
      {
                      if(rowIndex==0 &amp;&amp; colindex==2){
                          tomcatHandler = "Start";
                          anchorStart.setEnabled(false);
                      }else if(rowIndex==0 &amp;&amp; colindex==3){
                          tomcatHandler = "Stop";
                          ****anchorStop.setEnabled(false);
                          anchorStart.setEnabled(false);
                          anchorRestart.setEnabled(true);****
  
                  }else if(rowIndex==0 &amp;&amp;colindex==4){
                      tomcatHandler = "Restart";
                      anchorRestart.setEnabled(false);
                  }
  
                      AdminService.Util.getInstance().tomcat(tomcatHandler,new AsyncCallback&lt;String&gt;() {
                          @Override
                          public void onSuccess(String result) {
                              imageChangeEvent(result);
                          }
                          @Override
                          public void onFailure(Throwable caught) {
                          }
                      });}
  </code></pre>