@Override
 protected void onClick(ClientTAXCode obj, int row, int col) {
   if (!Utility.isUserHavePermissions(AccounterCoreType.TAX_CODE)) {
     return;
   }
   List<ClientTAXCode> records = getRecords();
   if (col == 4) showWarnDialog(records.get(row));
 }
 @Override
 public boolean canEdit() {
   return selectedItem == null
       ? false
       : Utility.isUserHavePermissions(selectedItem.getObjectType());
 }
 /*
  * @see
  * com.vimukti.accounter.web.client.ui.grids.ListGrid#onDoubleClick(java
  * .lang.Object)
  */
 @Override
 public void onDoubleClick(ClientTAXCode obj) {
   if (Utility.isUserHavePermissions(AccounterCoreType.TAX_CODE)) {
     new NewTAXCodeAction().run(obj, false);
   }
 }