OSDN Git Service
(root)
/
stew
/
Stew4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e7321d
)
fixed bug: Action copyWithEscape and clearSelectedCellValue were not bound in ResultS...
author
argius
<argius.net@gmail.com>
Wed, 8 May 2013 12:38:50 +0000
(21:38 +0900)
committer
argius
<argius.net@gmail.com>
Wed, 8 May 2013 12:38:50 +0000
(21:38 +0900)
src/net/argius/stew/ui/window/ResultSetTable.java
patch
|
blob
|
history
diff --git
a/src/net/argius/stew/ui/window/ResultSetTable.java
b/src/net/argius/stew/ui/window/ResultSetTable.java
index
3a7c901
..
0ece522
100644
(file)
--- a/
src/net/argius/stew/ui/window/ResultSetTable.java
+++ b/
src/net/argius/stew/ui/window/ResultSetTable.java
@@
-99,7
+99,9
@@
final class ResultSetTable extends JTable implements AnyActionListener, TextSear
// key binds
final int shortcutKey = Utilities.getMenuShortcutKeyMask();
AnyAction aa = new AnyAction(this);
+ aa.bindSelf(copyWithEscape, getKeyStroke(VK_C, shortcutKey | InputEvent.SHIFT_DOWN_MASK));
aa.bindSelf(paste, getKeyStroke(VK_V, shortcutKey));
+ aa.bindSelf(clearSelectedCellValue, getKeyStroke(VK_DELETE, 0));
aa.bindKeyStroke(true, adjustColumnWidth, getKeyStroke(VK_SLASH, shortcutKey));
aa.bindKeyStroke(false, doNothing, getKeyStroke(VK_ESCAPE, 0));
}