Exemplo n.º 1
0
 public void actionPerformed(java.awt.event.ActionEvent e) {
   Condition cond = new Condition();
   /*
   try {
    cond.setProperty(FedoraUtils.getAdvancedSearchFields((tufts.oki.dr.fedora.DR)dr)[0]);
   } catch (Exception ex) {
    */
   cond.setProperty("label");
   //            }
   cond.setOperator(ComparisonOperator.has);
   cond.setValue("");
   m_model.getConditions().add(cond);
   m_model.fireTableDataChanged();
 }
Exemplo n.º 2
0
 public void actionPerformed(java.awt.event.ActionEvent e) {
   // will only be invoked if an existing row is selected
   int r = m_sListener.getSelectedRow();
   m_model.getConditions().remove(r);
   m_model.fireTableRowsDeleted(r, r);
 }