Commit 8e559b94 authored by Romain Bioteau's avatar Romain Bioteau
Browse files

Merge pull request #355 from bonitasoft/fix/BS-14823_selectAllForGrayedNodes

BS-14823: workaround to have "select all" button working
parents 7d5c6b0a 1e6d4469
/**
* Copyright (C) 2012-2014 Bonitasoft S.A.
* BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble
* Copyright (C) 2012-2015 Bonitasoft S.A.
* Bonitasoft, 32 rue Gustave Eiffel - 38000 Grenoble
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2.0 of the License, or
......@@ -180,6 +180,7 @@ public class ExportRepositoryWizardPage extends WizardPage {
@Override
public void widgetSelected(final SelectionEvent e) {
checkedElementsObservable.clear();
final ITreeContentProvider provider = (ITreeContentProvider) treeViewer.getContentProvider();
checkedElementsObservable.addAll(Arrays.asList(provider.getElements(stores)));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment