@SuppressWarnings({"UnusedDeclaration"}) protected void selectButtonActionPerformed(ActionEvent event) { if (this.selector.getSector() != null) { this.selector.disable(); } else { this.selector.enable(); } updateSector(); }
/** Clear the current selection sector and remove it from the globe. */ public void clearSector() { if (this.selector.getSector() != null) { this.selector.disable(); } updateSector(); }