/*
- * Copyright 2011 GRNET S.A. All rights reserved.
+ * Copyright 2011-2012 GRNET S.A. All rights reserved.
*
* Redistribution and use in source and binary forms, with or
* without modification, are permitted provided that the following
import com.google.gwt.core.client.GWT;
import com.google.gwt.resources.client.ImageResource;
+import com.google.gwt.resources.client.ClientBundle.Source;
import com.google.gwt.resources.client.ImageResource.ImageOptions;
+import com.google.gwt.resources.client.ImageResource.RepeatStyle;
import com.google.gwt.safehtml.client.SafeHtmlTemplates;
import com.google.gwt.safehtml.shared.SafeHtml;
import com.google.gwt.user.cellview.client.CellTree;
@Override
@Source({"gr/grnet/pithos/web/client/PithosCellTreeBasic.css"})
CellTree.Style cellTreeStyle();
+
+ @Source("gr/grnet/pithos/web/client/cellTreeLoadingBasic.gif")
+ @ImageOptions(repeatStyle=RepeatStyle.None)
+ ImageResource cellTreeLoadingBasic();
}
public static interface Images extends Tree.Resources, FolderContextMenu.Images {
}
public void updateRoot() {
+ TreeNode root = ((CellTree) getWidget()).getRootTreeNode();
+ root.setChildOpen(0, true);
+ root.setChildOpen(0, false);
model.fetchSharedFiles(false);
}
}