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