@Override
	public boolean validate() {
		if (searchGeometry == null) {
			SC.say(messages.geometricSearchWidgetTitle(), messages.geometricSearchWidgetNoGeometry());
			return false;
		} else if (SearchCommService.getVisibleServerLayerIds(mapWidget.getMapModel()).size() < 1) {
			SC.say(messages.geometricSearchWidgetTitle(), messages.geometricSearchWidgetNoLayers());
			return false;
		} else {
			return true;
		}
	}
@ Override public boolean validate ( ) { if ( searchGeometry == null ) { SC . say ( messages . geometricSearchWidgetTitle ( ) , messages . geometricSearchWidgetNoGeometry ( ) ) ; return false ; } else if ( SearchCommService . getVisibleServerLayerIds ( mapWidget . getMapModel ( ) ) . size ( ) < 1 ) { SC . say ( messages . geometricSearchWidgetTitle ( ) , messages . geometricSearchWidgetNoLayers ( ) ) ; return false ; } else { return true ; } }
----------------------------------------------------------