public void performRemove() {
   final int rowCount = getSelectedRowCount();
   if (rowCount > 0) {
     final int[] rows = getSelectedRows();
     for (int i = rows.length - 1; i >= 0; i--) {
       removeConfiguration(rows[i]);
     }
   }
 }
 private void share() {
   final int rowCount = myLocalTable.getSelectedRowCount();
   if (rowCount > 0) {
     final int[] rows = myLocalTable.getSelectedRows();
     for (int i = rows.length - 1; i >= 0; i--) {
       FileColorConfiguration removed = myLocalTable.removeConfiguration(rows[i]);
       if (removed != null) {
         mySharedTable.addConfiguration(removed);
       }
     }
   }
 }