Revision 0a85a75b src/gr/grnet/pithos/web/client/Pithos.java
b/src/gr/grnet/pithos/web/client/Pithos.java | ||
---|---|---|
287 | 287 |
private String userID = null; |
288 | 288 |
|
289 | 289 |
/** |
290 |
* Hold mappings from user UUIDs to emails and vice-versa. |
|
290 |
* Holds mappings from user UUIDs to emails and vice-versa.
|
|
291 | 291 |
*/ |
292 | 292 |
private UserCatalogs userCatalogs = new UserCatalogs(); |
293 | 293 |
|
... | ... | |
1302 | 1302 |
}); |
1303 | 1303 |
selectionModels.add(otherSharedTreeSelectionModel); |
1304 | 1304 |
otherSharedTreeViewModel = new OtherSharedTreeViewModel(Pithos.this, otherSharedTreeSelectionModel); |
1305 |
// #3784 We show it empty... |
|
1306 |
otherSharedTreeView = new OtherSharedTreeView(otherSharedTreeViewModel); |
|
1307 |
trees.insert(otherSharedTreeView, 1); |
|
1308 |
|
|
1305 | 1309 |
LOG("Pithos::createOtherSharedTree(), initializing otherSharedTreeViewModel with a callback"); |
1306 | 1310 |
otherSharedTreeViewModel.initialize(new Command() { |
1307 | 1311 |
@Override |
1308 | 1312 |
public void execute() { |
1313 |
// #3784 ... then remove the empty stuff and add a new view with the populated model |
|
1314 |
trees.remove(otherSharedTreeView); |
|
1315 |
|
|
1309 | 1316 |
otherSharedTreeView = new OtherSharedTreeView(otherSharedTreeViewModel); |
1310 | 1317 |
trees.insert(otherSharedTreeView, 1); |
1311 | 1318 |
treeViews.add(otherSharedTreeView); |
Also available in: Unified diff