Revision 2acd47a8
b/src/gr/grnet/pithos/web/client/Pithos.java | ||
---|---|---|
480 | 480 |
public void deselectOthers(TreeView _selectedTree, SingleSelectionModel model) { |
481 | 481 |
selectedTree = _selectedTree; |
482 | 482 |
|
483 |
for (Composite c : treeViews) |
|
484 |
if (c.equals(selectedTree)) |
|
485 |
c.addStyleName("cellTreeWidget-selectedTree"); |
|
486 |
else |
|
487 |
c.removeStyleName("cellTreeWidget-selectedTree"); |
|
488 |
|
|
489 | 483 |
for (SingleSelectionModel s : selectionModels) |
490 | 484 |
if (!s.equals(model) && s.getSelectedObject() != null) |
491 | 485 |
s.setSelected(s.getSelectedObject(), false); |
... | ... | |
1126 | 1120 |
public void onSelectionChange(SelectionChangeEvent event) { |
1127 | 1121 |
if (otherSharedTreeSelectionModel.getSelectedObject() != null) { |
1128 | 1122 |
deselectOthers(otherSharedTreeView, otherSharedTreeSelectionModel); |
1129 |
otherSharedTreeView.addStyleName("cellTreeWidget-selectedTree"); |
|
1130 | 1123 |
applyPermissions(otherSharedTreeSelectionModel.getSelectedObject()); |
1131 | 1124 |
updateOtherSharedFolder(otherSharedTreeSelectionModel.getSelectedObject(), true); |
1132 | 1125 |
showRelevantToolbarButtons(); |
b/src/gr/grnet/pithos/web/client/PithosDisclosurePanel.java | ||
---|---|---|
88 | 88 |
panel.addStyleName(resources.pithosDisclosurePanelCss().disclosurePanel()); |
89 | 89 |
panel.setHeader(createHeader(resources, title, open)); |
90 | 90 |
panel.setOpen(open); |
91 |
panel.setAnimationEnabled(true); |
|
92 | 91 |
panel.addOpenHandler(new OpenHandler<DisclosurePanel>() { |
93 | 92 |
|
94 | 93 |
@Override |
b/src/gr/grnet/pithos/web/client/foldertree/FolderTreeView.java | ||
---|---|---|
175 | 175 |
public FolderTreeView(FolderTreeViewModel viewModel) { |
176 | 176 |
this.model = viewModel; |
177 | 177 |
|
178 |
PithosDisclosurePanel panel = new PithosDisclosurePanel((Resources) GWT.create(Resources.class), "My Files", true);
|
|
178 |
PithosDisclosurePanel panel = new PithosDisclosurePanel((Resources) GWT.create(Resources.class), "My Files", false);
|
|
179 | 179 |
|
180 | 180 |
VerticalPanel content = new VerticalPanel(); |
181 | 181 |
|
b/src/gr/grnet/pithos/web/public/pithos.css | ||
---|---|---|
442 | 442 |
margin-top: 0; |
443 | 443 |
} |
444 | 444 |
|
445 |
/*.cellTreeWidget-selectedTree { |
|
446 |
background-color: #BCD7E3; |
|
447 |
}*/ |
|
448 |
|
|
449 | 445 |
.pithos-list thead th img { |
450 | 446 |
top: 5px !important; |
451 | 447 |
} |
Also available in: Unified diff