SWT.TRAVERSE_RETURN

Traversal event detail field value indicating that the key which activates the default button in a dialog was pressed; typically, this is the ENTER key (value is 1<<2).

class SWT
int TRAVERSE_RETURN;

Meta