private void reset(){
  savedQueryText.setText(Messages.getString("WorkItemPickerDialog.SavedQueryLabelText"));
  idsText.setText("");
  titleText.setText("");
  workItemTypeCombo.select(0);
  fillResultsWithQuery(workItemClient.createEmptyQuery(),false);
  selectedWorkItems=null;
  selectedQueryDefinition=null;
  setFindEnablement();
  setOKEnablement();
}

private void reset ( ) { savedQueryText . setText ( Messages . getString ( "WorkItemPickerDialog.SavedQueryLabelText" ) ) ; idsText . setText ( "" ) ; titleText . setText ( "" ) ; workItemTypeCombo . select ( 0 ) ; fillResultsWithQuery ( workItemClient . createEmptyQuery ( ) , false ) ; selectedWorkItems = null ; selectedQueryDefinition = null ; setFindEnablement ( ) ; setOKEnablement ( ) ; }
the reset button was clicked by the user .
