void (@NotNull Presentation newPresentation) { if (presentation != null) { presentation.removePropertyChangeListener(this); } newPresentation.addPropertyChangeListener(this); setEnabled(newPresentation.isEnabled()); presentation = newPresentation; }