Skip to content

Commit

Permalink
Merge pull request #476 from eclipse/bugfix/Issue_454_MultiChoice_Wid…
Browse files Browse the repository at this point in the history
…get_adding_Select_all_as_an_entry

Bug #454 - MultiChoice Widget adding Select all as an entry
  • Loading branch information
lcaron authored Jul 6, 2022
2 parents cf5ca13 + fea8fcc commit af12099
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1077,13 +1077,15 @@ private void createPopup() {
selectAllLink.setText("<a>" + ResourceManager.getLabel(ResourceManager.SELECT_ALL) + "</a>");
selectAllLink.addListener(SWT.Selection, e -> {
changeButtonState(true);
setLabel();
});

final Link deselectAllLink = new Link(parent, SWT.NONE);
deselectAllLink.setLayoutData(new GridData(GridData.CENTER, GridData.CENTER, false, false));
deselectAllLink.setText("<a>" + ResourceManager.getLabel(ResourceManager.DESELECT_ALL) + "</a>");
deselectAllLink.addListener(SWT.Selection, e -> {
changeButtonState(false);
setLabel();
});
}

Expand Down

0 comments on commit af12099

Please sign in to comment.