/** * Action that toggles the display of boards window * * @param e the event that triggered this action */ @Action(selectedProperty = BOARDS_WINDOW_DISPLAYED) public void toggleBoards (ActionEvent e) { }
/** * Action that toggles the display of annotations in the score * * @param e the event that triggered this action */ @Action(selectedProperty = ANNOTATION_PAINTING) public void toggleAnnotations (ActionEvent e) { }
/** * Action that toggles the display of errors in the score * * @param e the event that triggered this action */ @Action(selectedProperty = ERROR_PAINTING) public void toggleErrors (ActionEvent e) { }
/** * Action that toggles the display of computed marks in the score * * @param e the event that triggered this action */ @Action(selectedProperty = MARK_PAINTING) public void toggleMarks (ActionEvent e) { }
/** * Action that toggles the display of voices with specific colors * * @param e the event that triggered this action */ @Action(selectedProperty = VOICE_PAINTING) public void toggleVoices (ActionEvent e) { }
/** * Action that toggles the display of sentences in selected glyphs * * @param e the event that triggered this action */ @Action(selectedProperty = SENTENCE_PAINTING) public void toggleSentences (ActionEvent e) { }
/** * Action that toggles the display of staff lines * * @param e the event that triggered this action */ @Action(selectedProperty = STAFF_LINE_PAINTING) public void toggleStaffLines (ActionEvent e) { }
/** * Action that toggles the display of inters with translucency. * * @param e the event that triggered this action */ @Action(selectedProperty = TRANSLUCENT_PAINTING) public void toggleTranslucency (ActionEvent e) { }
/** * Action that toggles the display of translations in selected glyphs * * @param e the event that triggered this action */ @Action(selectedProperty = TRANSLATION_PAINTING) public void toggleTranslations (ActionEvent e) { }
/** * Purge the repository sheets * * @param e unused */ @Action public void purgeSheets (ActionEvent e) { repository.purgeSheets(); }
/** * Action that opens a window where units options (logger level, * constants) can be managed. * * @param e the event that triggered this action * @return the SAF task */ @Action public Task<Options, Void> defineOptions (ActionEvent e) { return new OptionsTask(); }
/** * Action to display the current value of occupied memory * * @param e the event that triggered this action */ @Action public void showMemory (ActionEvent e) { logger.info("\n----- Occupied memory is {} bytes -----\n", Memory.getValue()); }
@Action(name = ACTION_CANCEL) public void cancel() { this.dispose(); } }
@Action(enabledProperty = "cutEnabled") public void cut(ActionEvent e) { Object src = e.getSource(); if (src instanceof JTextComponent) { invokeTextAction((JTextComponent) src, "cut"); } }
@Action(name = ACTION_PORTMAPPER_SETTINGS) public void changeSettings() { logger.debug("Open Settings dialog"); app.show(new SettingsDialog(app)); }
@Action(enabledProperty = BOOK_IDLE) public Task<Void, Void> sampleBook (ActionEvent e) { final Book book = StubsController.getCurrentBook(); if (book == null) { return null; } return new SampleBookTask(book); }
/** * Action to load sheet images * * @param e the event which triggered this action */ @Action public void loadImages (ActionEvent e) { repository.loadAllImages(); sampleContext.refresh(); }
@Action(enabledProperty = STUB_IDLE) public Task<Void, Void> sampleSheet (ActionEvent e) { final SheetStub stub = StubsController.getCurrentStub(); if (stub == null) { return null; } return new SampleSheetTask(stub.getSheet()); }
/** * Action to remove current sample * * @param e triggering event */ @Action public void removeSample (ActionEvent e) { final SampleModel sampleModel = (SampleModel) model; final Sample sample = (Sample) sampleModel.getGlyphService().getSelectedEntity(); SampleController.this.removeSample(sample); }
@Action(name = ACTION_DISCONNECT_ROUTER) public void disconnectRouter() { app.disconnectRouter(); updateAddresses(); updatePortMappings(); }