This is an automated email from the git hooks/post-receive script. New change to branch feature/1166-Annule_Edition in repository lima. See http://git.chorem.org/lima.git at 0f3e22b fixes #1166 rétablie le fonctionnement par défaut de la touche échape c.a.d annule les changements This branch includes the following new commits: new 0f3e22b fixes #1166 rétablie le fonctionnement par défaut de la touche échape c.a.d annule les changements The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit 0f3e22b660722cf09526c3034826589e81e60aaf Author: dcosse <japbiw74> Date: Fri Feb 20 10:27:39 2015 +0100 fixes #1166 rétablie le fonctionnement par défaut de la touche échape c.a.d annule les changements -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch feature/1166-Annule_Edition in repository lima. See http://git.chorem.org/lima.git commit 0f3e22b660722cf09526c3034826589e81e60aaf Author: dcosse <japbiw74> Date: Fri Feb 20 10:27:39 2015 +0100 fixes #1166 rétablie le fonctionnement par défaut de la touche échape c.a.d annule les changements --- .../chorem/lima/ui/common/AbstractLimaTable.java | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/lima-swing/src/main/java/org/chorem/lima/ui/common/AbstractLimaTable.java b/lima-swing/src/main/java/org/chorem/lima/ui/common/AbstractLimaTable.java index 5c92c77..5d70468 100644 --- a/lima-swing/src/main/java/org/chorem/lima/ui/common/AbstractLimaTable.java +++ b/lima-swing/src/main/java/org/chorem/lima/ui/common/AbstractLimaTable.java @@ -38,12 +38,9 @@ import org.chorem.lima.ui.celleditor.EntryBookTableCellRender; import org.chorem.lima.ui.celleditor.StringTableCellEditor; import org.jdesktop.swingx.JXTable; -import javax.swing.*; import javax.swing.table.TableCellEditor; import javax.swing.table.TableModel; import java.awt.*; -import java.awt.event.ActionEvent; -import java.awt.event.KeyEvent; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.math.BigDecimal; @@ -101,20 +98,7 @@ public abstract class AbstractLimaTable<H> extends JXTable { } } - protected void initNavigation() { - - InputMap inputMap= getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT); - ActionMap actionMap = getActionMap(); - - // action on Tab - Object binding = inputMap.get(KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE, 0)); - actionMap.put(binding, new AbstractAction() { - @Override - public void actionPerformed(ActionEvent e) { - clearSelection(); - } - }); - } + protected void initNavigation() {} public H getHandler() { return handler; @@ -127,7 +111,6 @@ public abstract class AbstractLimaTable<H> extends JXTable { } } - private class MyMouseAdapter extends MouseAdapter { @Override @@ -137,6 +120,4 @@ public abstract class AbstractLimaTable<H> extends JXTable { } } } - - } -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
participants (1)
-
chorem.org scm