import com.google.gwt.http.client.Request;
import com.google.gwt.http.client.Response;
import com.google.gwt.http.client.URL;
-import com.google.gwt.json.client.JSONObject;
import com.google.gwt.safehtml.shared.SafeHtml;
import com.google.gwt.safehtml.shared.SafeHtmlBuilder;
import com.google.gwt.text.shared.SafeHtmlRenderer;
import gr.grnet.pithos.web.client.FolderContextMenu;
import gr.grnet.pithos.web.client.Pithos;
import gr.grnet.pithos.web.client.SharingUsers;
-import gr.grnet.pithos.web.client.catalog.GetUserCatalogs;
import gr.grnet.pithos.web.client.catalog.UpdateUserCatalogs;
import gr.grnet.pithos.web.client.catalog.UserCatalogs;
import gr.grnet.pithos.web.client.foldertree.AccountResource;
return new DefaultNodeInfo<String>(userLevelDataProviderForIDs, new TextCell(new SafeHtmlRenderer<String>() {
@Override
public SafeHtml render(String object) {
- final String displayName = app.getUserDisplayNameForID(object);
+ final String displayName = app.getDisplayNameForUserID(object);
// LOG("render(userID = "+object+"), displayName = " + displayName);
SafeHtmlBuilder builder = new SafeHtmlBuilder();
render(displayName, builder);
String html = AbstractImagePrototype.create(OtherSharedTreeView.images.myShared()).getHTML();
builder.appendHtmlConstant(html).appendHtmlConstant(" ");
}
- final String displayName = app.getUserDisplayNameForID(object);
+ final String displayName = app.getDisplayNameForUserID(object);
builder.append(OtherSharedTreeView.Templates.INSTANCE.nameSpan(object));
}
}), null, null);