lineButton.setVisible(true);
shapeButton.setVisible(false);
}
});
eventBus.addHandler(ShowZonesEvent.TYPE, new ShowZonesEventHandler() {
@Override
public void onShowZones(ShowZonesEvent event) {
// make sure line button is off and shape button is on
lineButton.setVisible(false);