示例#1
0
 void upButton_actionPerformed(ActionEvent e) {
   int row = filtersTable.getSelectedRow();
   m_model.moveData(row, row - 1);
 }
示例#2
0
 void addButton_actionPerformed(ActionEvent e) {
   m_model.addNewRow();
 }
示例#3
0
 void deleteButton_actionPerformed(ActionEvent e) {
   int row = filtersTable.getSelectedRow();
   m_model.removeRowData(row);
 }
示例#4
0
 /**
  * setEDPData
  *
  * @param data DPCellData
  */
 public void setCellData(EDPCellData data) {
   m_data = data;
   m_filters = mimeTypeEditorBuilder.getMap(m_data.getPlugin());
   m_model.updateTableData();
 }