if (state instanceof SearchStartedState) {
_progressPanel.setVisible(true);
//_progressBar.setProgress(0);
clear();
} else if (state instanceof SearchProgressState) {
SearchProgressState sps = (SearchProgressState) state;
//_progressBar.setProgress(sps.getPercentComplete());
} else if (state instanceof SearchCompleteState) {
_progressPanel.setVisible(false);
} else if (state instanceof PlacesChangedState) {
PlacesChangedState pcs = (PlacesChangedState) state;