173174175176177178179180181182183
@UiHandler("cancel") void onClickCancel(ClickEvent e) { if( currentZoneDetailId.indexOf("TEMP") != -1) { eventBus.fireEvent(new CancelZoneEvent(currentZoneDetailId)); } else { clearZoneEditView(); refreshZoneDetails = true; fetchZoneDetails(); }
243244245246247248249250251252253
vertices.setText("Current polyline in ZoneListing=" + n); String zoneName = Window.prompt("Name this zone", ""); if( zoneName == null) { eventBus.fireEvent(new CancelZoneEvent(p.getZoneDetailsId())); } else { name.setText(zoneName); description.setText(""); } }