use of org.talend.designer.camel.dependencies.core.model.ManifestItem in project tesb-studio-se by Talend.
the class CheckedCamelDependenciesPanel method selectAll.
private void selectAll(boolean state) {
boolean hasChanged = false;
Collection<? extends ManifestItem> input = getInput();
for (ManifestItem bcp : input) {
if (bcp.isBuiltIn() || !bcp.isOptional() == state) {
continue;
}
hasChanged = true;
bcp.setOptional(!state);
((CheckboxTableViewer) tableViewer).setChecked(bcp, state);
}
if (hasChanged) {
//((CheckboxTableViewer) tableViewer).setAllChecked(state);
fireDependenciesChangedListener();
}
}
Aggregations