Пример #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();
 }