projects
/
pithos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use the shorter and more common label \"Save As\".
[pithos]
/
src
/
gr
/
ebs
/
gss
/
client
/
FilePropertiesDialog.java
diff --git
a/src/gr/ebs/gss/client/FilePropertiesDialog.java
b/src/gr/ebs/gss/client/FilePropertiesDialog.java
index
bc62883
..
24ea140
100644
(file)
--- a/
src/gr/ebs/gss/client/FilePropertiesDialog.java
+++ b/
src/gr/ebs/gss/client/FilePropertiesDialog.java
@@
-325,12
+325,14
@@
public class FilePropertiesDialog extends DialogBox {
Button removeVersionsButton = new Button(images.delete().getHTML(), new ClickListener() {
\r
\r
public void onClick(Widget sender) {
\r
Button removeVersionsButton = new Button(images.delete().getHTML(), new ClickListener() {
\r
\r
public void onClick(Widget sender) {
\r
- ConfirmationDialog confirm = new ConfirmationDialog(images,"Really remove all previous versions?","Remove"){
\r
+ ConfirmationDialog confirm = new ConfirmationDialog("Really " +
\r
+ "remove all previous versions?", "Remove") {
\r
\r
\r
+ @Override
\r
public void cancel() {
\r
}
\r
\r
public void cancel() {
\r
}
\r
\r
-
\r
+ @Override
\r
public void confirm() {
\r
FilePropertiesDialog.this.closeDialog();
\r
removeAllOldVersions();
\r
public void confirm() {
\r
FilePropertiesDialog.this.closeDialog();
\r
removeAllOldVersions();
\r
@@
-364,6
+366,7
@@
public class FilePropertiesDialog extends DialogBox {
private void updateTags() {
\r
GetCommand<TagsResource> tc = new GetCommand<TagsResource>(TagsResource.class, GSS.get().getCurrentUserResource().getTagsPath()) {
\r
\r
private void updateTags() {
\r
GetCommand<TagsResource> tc = new GetCommand<TagsResource>(TagsResource.class, GSS.get().getCurrentUserResource().getTagsPath()) {
\r
\r
+ @Override
\r
public void onComplete() {
\r
allTagsContent.clear();
\r
TagsResource tagr = getResult();
\r
public void onComplete() {
\r
allTagsContent.clear();
\r
TagsResource tagr = getResult();
\r
@@
-465,10
+468,12
@@
public class FilePropertiesDialog extends DialogBox {
}
\r
PostCommand cf = new PostCommand(file.getUri() + "?update=", jsonString, 200) {
\r
\r
}
\r
PostCommand cf = new PostCommand(file.getUri() + "?update=", jsonString, 200) {
\r
\r
+ @Override
\r
public void onComplete() {
\r
GSS.get().getFileList().updateFileCache(true, false /* do not clear selected file*/);
\r
}
\r
\r
public void onComplete() {
\r
GSS.get().getFileList().updateFileCache(true, false /* do not clear selected file*/);
\r
}
\r
\r
+ @Override
\r
public void onError(Throwable t) {
\r
GWT.log("", t);
\r
if (t instanceof RestException) {
\r
public void onError(Throwable t) {
\r
GWT.log("", t);
\r
if (t instanceof RestException) {
\r
@@
-498,10
+503,12
@@
public class FilePropertiesDialog extends DialogBox {
GWT.log(json.toString(), null);
\r
PostCommand cf = new PostCommand(file.getUri() + "?update=", json.toString(), 200) {
\r
\r
GWT.log(json.toString(), null);
\r
PostCommand cf = new PostCommand(file.getUri() + "?update=", json.toString(), 200) {
\r
\r
+ @Override
\r
public void onComplete() {
\r
toggleVersioned(true);
\r
}
\r
\r
public void onComplete() {
\r
toggleVersioned(true);
\r
}
\r
\r
+ @Override
\r
public void onError(Throwable t) {
\r
GWT.log("", t);
\r
if (t instanceof RestException) {
\r
public void onError(Throwable t) {
\r
GWT.log("", t);
\r
if (t instanceof RestException) {
\r
@@
-529,10
+536,12
@@
public class FilePropertiesDialog extends DialogBox {
GWT.log(json.toString(), null);
\r
PostCommand cf = new PostCommand(file.getUri() + "?update=", json.toString(), 200) {
\r
\r
GWT.log(json.toString(), null);
\r
PostCommand cf = new PostCommand(file.getUri() + "?update=", json.toString(), 200) {
\r
\r
+ @Override
\r
public void onComplete() {
\r
GSS.get().getFileList().updateFileCache(true, false /* do not clear selected file*/);
\r
}
\r
\r
public void onComplete() {
\r
GSS.get().getFileList().updateFileCache(true, false /* do not clear selected file*/);
\r
}
\r
\r
+ @Override
\r
public void onError(Throwable t) {
\r
GWT.log("", t);
\r
if (t instanceof RestException) {
\r
public void onError(Throwable t) {
\r
GWT.log("", t);
\r
if (t instanceof RestException) {
\r