public void actionPerformed(ActionEvent e) {
      int ix = table.getSelectedRow();
      if (ix == -1) return;
      ix = table.convertRowIndexToModel(ix);

      LoadTestAssertion assertion = loadTest.getAssertionAt(ix);
      if (UISupport.confirm("Remove assertion [" + assertion.getName() + "]", "Remove Assertion")) {
        loadTest.removeAssertion(assertion);
      }
    }
    public Object getValueAt(int rowIndex, int columnIndex) {
      LoadTestAssertion assertion = loadTest.getAssertionAt(rowIndex);

      switch (columnIndex) {
        case 0:
          return assertion.getIcon();
        case 1:
          return assertion.getName();
        case 2:
          return assertion.getTargetStep();
        case 3:
          return assertion.getDescription();
      }

      return null;
    }
 public void assertionAdded(LoadTestAssertion assertion) {
   assertion.addPropertyChangeListener(LoadTestAssertion.CONFIGURATION_PROPERTY, this);
   fireTableRowsInserted(getRowCount() - 1, getRowCount() - 1);
 }
 public void assertionRemoved(LoadTestAssertion assertion) {
   assertion.removePropertyChangeListener(LoadTestAssertion.CONFIGURATION_PROPERTY, this);
   fireTableDataChanged();
 }