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;
PagedResultsModel model = pcs.getModel();
if (model.getSelectedResult() == null)
_minimized = false;
refresh();
} else if (state instanceof SelectedPlaceChangedState) {
SelectedPlaceChangedState pcs = (SelectedPlaceChangedState) state;
if (pcs.getSelectedResult() == null) {
_minimized = false;
refresh();
}
} else if (state instanceof TripPlansState) {
_minimized = true;