protected Text doCreateFilterText(Composite parent){
  if (useNativeSearchField(parent)) {
    return new Text(parent,SWT.SINGLE | SWT.BORDER | SWT.SEARCH| SWT.ICON_CANCEL);
  }
  return new Text(parent,SWT.SINGLE);
}

protected Text doCreateFilterText ( Composite parent ) { if ( useNativeSearchField ( parent ) ) { return new Text ( parent , SWT . SINGLE | SWT . BORDER | SWT . SEARCH | SWT . ICON_CANCEL ) ; } return new Text ( parent , SWT . SINGLE ) ; }
creates the text control for entering the filter text . subclasses may override .
