void (@NotNull RepositoryNodeListener<T> listener) { myListeners.add(listener); myDestPushTargetPanelComponent.addTargetEditorListener(new PushTargetEditorListener() { @Override public void onTargetInEditModeChanged(@NotNull @Nls String value) { for (RepositoryNodeListener listener : myListeners) { listener.onTargetInEditMode(value); } } }); }