projects
/
pithos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
74113dc
)
Fix a merge error by returning the token field to its former read-only status. Fixed...
author
pastith
<devnull@localhost>
Mon, 16 Mar 2009 13:38:31 +0000
(13:38 +0000)
committer
pastith
<devnull@localhost>
Mon, 16 Mar 2009 13:38:31 +0000
(13:38 +0000)
gss/src/gr/ebs/gss/client/CredentialsDialog.java
patch
|
blob
|
history
diff --git
a/gss/src/gr/ebs/gss/client/CredentialsDialog.java
b/gss/src/gr/ebs/gss/client/CredentialsDialog.java
index
480e271
..
b69e4c4
100644
(file)
--- a/
gss/src/gr/ebs/gss/client/CredentialsDialog.java
+++ b/
gss/src/gr/ebs/gss/client/CredentialsDialog.java
@@
-32,8
+32,10
@@
import com.google.gwt.user.client.ui.Widget;
/**
/**
- * @author kman
+ * A dialog box that displays the user credentials for use in other client
+ * applications, such as WebDAV clients.
*
*
+ * @author kman
*/
public class CredentialsDialog extends DialogBox {
/**
*/
public class CredentialsDialog extends DialogBox {
/**
@@
-67,7
+69,7
@@
public class CredentialsDialog extends DialogBox {
table.setWidget(0, 1, username);
TextBox tokenBox = new TextBox();
tokenBox.setText(token);
table.setWidget(0, 1, username);
TextBox tokenBox = new TextBox();
tokenBox.setText(token);
- tokenBox.setReadOnly(false);
+ tokenBox.setReadOnly(true);
table.setWidget(1, 1, tokenBox);
table.getFlexCellFormatter().setStyleName(0, 0, "props-labels");
table.getFlexCellFormatter().setStyleName(0, 1, "props-values");
table.setWidget(1, 1, tokenBox);
table.getFlexCellFormatter().setStyleName(0, 0, "props-labels");
table.getFlexCellFormatter().setStyleName(0, 1, "props-values");
@@
-89,11
+91,7
@@
public class CredentialsDialog extends DialogBox {
setWidget(outer);
}
setWidget(outer);
}
- /*
- * (non-Javadoc)
- *
- * @see com.google.gwt.user.client.ui.PopupPanel#onKeyDownPreview(char, int)
- */
+ @Override
public boolean onKeyDownPreview(char key, int modifiers) {
// Use the popup's key preview hooks to close the dialog when either
// enter or escape is pressed.
public boolean onKeyDownPreview(char key, int modifiers) {
// Use the popup's key preview hooks to close the dialog when either
// enter or escape is pressed.
@@
-103,10
+101,7
@@
public class CredentialsDialog extends DialogBox {
hide();
break;
}
hide();
break;
}
-
return true;
}
return true;
}
-
-
}
}