101102103104105106107108
public void setLabeled(boolean labeled) { this.labeled = labeled; if (labeled) { eventBus.fireEvent(new LayerLabelShowEvent(this)); } else { eventBus.fireEvent(new LayerLabelHideEvent(this)); } }