@Override public <F extends Facet> void addListener( final Class<F> facetClass, final FacetPointerListener<F> listener) { EventDispatcher<FacetPointerListener> dispatcher = myDispatchers.get(facetClass); if (dispatcher == null) { dispatcher = EventDispatcher.create(FacetPointerListener.class); myDispatchers.put(facetClass, dispatcher); } dispatcher.addListener(listener); }
public void addListener(LineProcessEventListener listener) { myLineListeners.addListener(listener); super.addListener(listener); }
@Override public void addDebuggerManagerListener(DebuggerManagerListener listener) { myDispatcher.addListener(listener); }
@Override public void addListener(ColorAndFontSettingsListener listener) { myDispatcher.addListener(listener); }
@Override public void addListener(Listener listener, Disposable parentDisposable) { myDispatcher.addListener(listener, parentDisposable); }
public void addListener(ChangeListener changeListener) { myEventDispatcher.addListener(changeListener); }
public void addUpdateListener(UpdateListener listener) { myEventDispatcher.addListener(listener); }
public void addApplicationListener(@NotNull ApplicationListener l) { myDispatcher.addListener(l); }
@Override public void addListener(final WindowManagerListener listener) { myEventDispatcher.addListener(listener); }
public void addDomEventListener(DomEventListener listener, Disposable parentDisposable) { myListeners.addListener(listener, parentDisposable); }
public static void addModalityStateListener( @NotNull ModalityStateListener listener, @NotNull Disposable parentDisposable) { if (!ourModalityStateMulticaster.getListeners().contains(listener)) { ourModalityStateMulticaster.addListener(listener, parentDisposable); } }
@Override public void addModelRootEntryListener(ModelRootEntryListener listener) { myEventDispatcher.addListener(listener); }
/** * Add listener * * @param listener a listener to add */ public void addLineListener(LineHandlerListener listener) { super.addListener(listener); myLineListeners.addListener(listener); }
@Override public void addTaskListener(TaskListener listener) { myDispatcher.addListener(listener); }
final void addInternalDecoratorListener(InternalDecoratorListener l) { myDispatcher.addListener(l); }
public void addSelectedListChangeListener(SelectedListChangeListener listener) { myDispatcher.addListener(listener); }
public void addBreakpointManagerListener(@NotNull BreakpointManagerListener listener) { myDispatcher.addListener(listener); }
// we allow add listeners inside DebuggerContextListener.changeEvent public void addListener(DebuggerContextListener listener) { myEventDispatcher.addListener(listener); }
public void addApplicationListener(@NotNull ApplicationListener l, @NotNull Disposable parent) { myDispatcher.addListener(l, parent); }
/** * @deprecated use {@link UISettings#addUISettingsListener(com.intellij.ide.ui.UISettingsListener, * Disposable disposable)} instead. */ public void addUISettingsListener(UISettingsListener listener) { myDispatcher.addListener(listener); }
public void addProjectSettingsListener(ProjectSettingsListener listener) { dispatcher.addListener(listener); }
public void addUISettingsListener( @NotNull final UISettingsListener listener, @NotNull Disposable parentDisposable) { myDispatcher.addListener(listener, parentDisposable); }
public void addListener(OrderPanelListener listener) { myListeners.addListener(listener); }
public void addListener(final ProcessEventListener listener) { synchronized (myLock) { myListeners.addListener(listener); } }