Use the shorter and more common label \"Save As\".
[pithos] / src / gr / ebs / gss / client / FilePropertiesDialog.java
index bc62883..24ea140 100644 (file)
@@ -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
-                               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
+                                       @Override\r
                                        public void cancel() {\r
                                        }\r
 \r
-\r
+                                       @Override\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
+                       @Override\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
+                       @Override\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
@@ -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
+                       @Override\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
@@ -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
+                       @Override\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