Community
Participate
Working Groups
To define a defaultSelection handler for a SWT.SEARCH field, I currently have to write: text = text(SWT.BORDER | SWT.SEARCH | SWT.ICON_SEARCH).message("Enter City") .layoutData(fillDefaults().grab(true, false).create()).create(parent); text.addSelectionListener(SelectionListener.widgetDefaultSelectedAdapter(e -> updateBrowser())); Maybe we should add a onDefaultSelect method?