input = new Text(parent, SWT.BORDER);
input.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
input.addTraverseListener(new TraverseListener() {
@Override
public void keyTraversed(TraverseEvent e) {
client.execute(new MessageCommand(userService.getUser(), input
.getText()));
input.setText(""); //$NON-NLS-1$
}
});
}