Revision 67d30f02 src/gr/grnet/pithos/web/client/othersharedtree/OtherSharedTreeView.java
b/src/gr/grnet/pithos/web/client/othersharedtree/OtherSharedTreeView.java | ||
---|---|---|
157 | 157 |
public OtherSharedTreeView(OtherSharedTreeViewModel viewModel, boolean ajaxLoader) { |
158 | 158 |
this.model = viewModel; |
159 | 159 |
|
160 |
PithosDisclosurePanel panel = new PithosDisclosurePanel((Resources) GWT.create(Resources.class), Const.TXT_SHARED_WITH_ME, false, ajaxLoader);
|
|
160 |
PithosDisclosurePanel panel = new PithosDisclosurePanel((Resources) GWT.create(Resources.class), Const.TXT_SHARED_WITH_ME, ajaxLoader, false);
|
|
161 | 161 |
/* |
162 | 162 |
* Create the tree using the model. We use <code>null</code> as the default |
163 | 163 |
* value of the root node. The default value will be passed to |
... | ... | |
165 | 165 |
*/ |
166 | 166 |
CellTree.Resources res = GWT.create(BasicResources.class); |
167 | 167 |
tree = new CellTree(model, null, res); |
168 |
tree.setKeyboardSelectionPolicy(KeyboardSelectionPolicy.ENABLED); |
|
168 |
if(!ajaxLoader) { |
|
169 |
tree.setKeyboardSelectionPolicy(KeyboardSelectionPolicy.ENABLED); |
|
170 |
} |
|
169 | 171 |
|
170 | 172 |
panel.setContent(tree); |
171 | 173 |
initWidget(panel); |
Also available in: Unified diff