onModuleLoad()
.
*/
public class Pithos implements EntryPoint, ResizeHandler {
- public static final String HOME_CONTAINER = "pithos";
+ public static final String HOME_CONTAINER = "pithos";
+
+ public static final String TRASH_CONTAINER = "trash";
+
+ public static final Configuration config = GWT.create(Configuration.class);
+
+ public interface Style extends CssResource {
+ String commandAnchor();
+
+ String statistics();
+
+ @ClassName("gwt-HTML")
+ String html();
+
+ String uploadAlert();
+
+ String uploadAlertLink();
+
+ String uploadAlertProgress();
+
+ String uploadAlertPercent();
+
+ String uploadAlertClose();
+ }
+
+ public interface Resources extends ClientBundle {
+ @Source("Pithos.css")
+ Style pithosCss();
- public static final String TRASH_CONTAINER = "trash";
-
- /**
- * Instantiate an application-level image bundle. This object will provide
- * programmatic access to all the images needed by widgets.
- */
- static Images images = (Images) GWT.create(Images.class);
+ @Source("gr/grnet/pithos/resources/close-popup.png")
+ ImageResource closePopup();
+ }
+
+ public static Resources resources = GWT.create(Resources.class);
+
+ /**
+ * Instantiate an application-level image bundle. This object will provide
+ * programmatic access to all the images needed by widgets.
+ */
+ static Images images = (Images) GWT.create(Images.class);
public String getUsername() {
return username;
@@ -130,30 +130,28 @@ public class Pithos implements EntryPoint, ResizeHandler {
return account;
}
- public void updateFolder(Folder f, boolean showfiles, Command callback) {
- folderTreeView.updateFolder(f, showfiles, callback);
+ public void updateFolder(Folder f, boolean showfiles, Command callback, final boolean openParent) {
+ folderTreeView.updateFolder(f, showfiles, callback, openParent);
}
public void updateGroupNode(Group group) {
groupTreeView.updateGroupNode(group);
}
- public void updateSharedFolder(Folder f, boolean showfiles) {
- mysharedTreeView.updateFolder(f, showfiles);
+ public void updateMySharedRoot() {
+ mysharedTreeView.updateRoot();
}
-
- public void updateOtherSharedFolder(Folder f, boolean showfiles) {
- otherSharedTreeView.updateFolder(f, showfiles);
+
+ public void updateSharedFolder(Folder f, boolean showfiles, Command callback) {
+ mysharedTreeView.updateFolder(f, showfiles, callback);
}
- public List" + imageProto.getHTML() - + " | " - + caption + " |
" + imageProto.getHTML() + + " | " + + caption + " |