private void prepareData(){
  final ISearcher searcher=(ISearcher)m_typeBox.getSelectedItem();
  if (searcher != null) {
    m_searchData=searcher.getSearchData(m_inputField.getText());
  }
}

private void prepareData ( ) { final ISearcher searcher = ( ISearcher ) m_typeBox . getSelectedItem ( ) ; if ( searcher != null ) { m_searchData = searcher . getSearchData ( m_inputField . getText ( ) ) ; } }
when the user oks the dialog , this method prepares the search data for easy access from the calling method .
