use of org.eclipse.equinox.internal.p2.discovery.model.Tag in project epp.mpc by eclipse.
the class CheckboxTagFilter method updateUi.
@Override
protected void updateUi() {
for (Control control : buttonContainer.getChildren()) {
final Object data = control.getData();
if (data instanceof Tag) {
if (control instanceof Button) {
Button checkbox = (Button) control;
checkbox.setSelection(getSelected().contains(data));
}
}
}
super.updateUi();
}
Aggregations