git://git.nikiroo.be
/
jvcard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add text-image control and separate Edit/View contact
[jvcard.git]
/
src
/
be
/
nikiroo
/
jvcard
/
tui
/
KeyAction.java
diff --git
a/src/be/nikiroo/jvcard/tui/KeyAction.java
b/src/be/nikiroo/jvcard/tui/KeyAction.java
index 70282d5fbc46b6439883a648555f616e8faf0ee1..a95835eb28b77468b758b6b53516bf0e481bda7f 100644
(file)
--- a/
src/be/nikiroo/jvcard/tui/KeyAction.java
+++ b/
src/be/nikiroo/jvcard/tui/KeyAction.java
@@
-27,7
+27,7
@@
public class KeyAction {
*
*/
public enum Mode {
*
*/
public enum Mode {
- NONE, MOVE, BACK, HELP, FILE_LIST, CONTACT_LIST, CONTACT_DETAILS, EDIT_DETAIL, DELETE_CONTACT, SAVE_CARD,
+ NONE, MOVE, BACK, HELP, FILE_LIST, CONTACT_LIST, CONTACT_DETAILS
_RAW, CONTACT_DETAILS
, EDIT_DETAIL, DELETE_CONTACT, SAVE_CARD,
}
public enum DataType {
}
public enum DataType {
@@
-146,14
+146,14
@@
public class KeyAction {
return null;
}
return null;
}
- // override this one if needed
+ // override this one if needed
, DO NOT process here as it will be call a lot
public Object getObject() {
return null;
}
/**
* The method which is called when the action is performed. You can subclass
public Object getObject() {
return null;
}
/**
* The method which is called when the action is performed. You can subclass
- * it if you want to customi
z
e the action (by default, it just accepts the
+ * it if you want to customi
s
e the action (by default, it just accepts the
* mode change (see {@link KeyAction#getMode}).
*
* @return false to cancel mode change
* mode change (see {@link KeyAction#getMode}).
*
* @return false to cancel mode change