This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository tutti. See http://git.codelutin.com/tutti.git commit 514e59e21934f1a6c9418f3dabb760bd8035997e Author: Tony CHEMIT <chemit@codelutin.com> Date: Wed Jan 20 15:47:21 2016 +0100 suppression code commenté --- .../swing/content/protocol/rtp/RtpCellEditor.java | 32 ++-------------------- 1 file changed, 3 insertions(+), 29 deletions(-) diff --git a/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/protocol/rtp/RtpCellEditor.java b/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/protocol/rtp/RtpCellEditor.java index 29bba6b..3b4746b 100644 --- a/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/protocol/rtp/RtpCellEditor.java +++ b/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/protocol/rtp/RtpCellEditor.java @@ -17,6 +17,7 @@ import java.util.EventObject; * Created on 14/01/16. * * @author Tony Chemit - chemit@codelutin.com + * @since 4.4 */ public class RtpCellEditor extends AbstractCellEditor implements TableCellEditor { @@ -26,14 +27,6 @@ public class RtpCellEditor extends AbstractCellEditor implements TableCellEditor return new RtpCellEditor(ui); } -// protected JTable table; -// -// protected EditProtocolSpeciesTableModel tableModel; -// -// protected Integer rowIndex; -// -// protected Integer columnIndex; - protected final RtpButton editorButton; public RtpCellEditor(EditProtocolUI context) { @@ -59,16 +52,11 @@ public class RtpCellEditor extends AbstractCellEditor implements TableCellEditor boolean isSelected, int row, int column) { -// this.table = table; -// this.tableModel = (EditProtocolSpeciesTableModel) table.getRowSorter().getModel(); - EditProtocolSpeciesTableModel tableModel = (EditProtocolSpeciesTableModel) table.getModel(); - -// int rowIndex = table.convertRowIndexToModel(row); -// columnIndex = table.convertColumnIndexToModel(column); + EditProtocolSpeciesTableModel tableModel = (EditProtocolSpeciesTableModel) table.getModel(); editorButton.init(tableModel, table.getRowSorter(), row); - return editorButton; + } @Override @@ -82,18 +70,4 @@ public class RtpCellEditor extends AbstractCellEditor implements TableCellEditor return true; } -// @Override -// public boolean stopCellEditing() { -// boolean b = super.stopCellEditing(); -// if (b) { -// editorButton.setBean(null); -// } -// return b; -// } -// -// @Override -// public void cancelCellEditing() { -// editorButton.setBean(null); -// super.cancelCellEditing(); -// } } -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.