public E4HandlerProxy(Command command, IHandler handler) { this.command = command; this.handler = handler; handler.addHandlerListener(this); }
@Override public void addHandlerListener(IHandlerListener handlerListener) { handler.addHandlerListener(handlerListener); }
public MergeIncomingChangesAction(ISynchronizePageConfiguration configuration) { super(null, configuration); // TODO: We're past the API freeze so we need to access the property by string handler = (IHandler)configuration.getProperty("org.eclipse.team.ui.mergeAll"); //$NON-NLS-1$ if (handler == null) handler = new MergeAllActionHandler(configuration); handler.addHandlerListener(this); }
public MergeIncomingChangesAction(ISynchronizePageConfiguration configuration) { super(null, configuration); // TODO: We're past the API freeze so we need to access the property by string handler = (IHandler)configuration.getProperty("org.eclipse.team.ui.mergeAll"); //$NON-NLS-1$ if (handler == null) handler = new MergeAllActionHandler(configuration); handler.addHandlerListener(this); }
handler = (IHandler) configurationElement .createExecutableExtension(handlerAttributeName); handler.addHandlerListener(getHandlerListener()); setEnabled(evaluationService == null ? null : evaluationService.getCurrentState());
this.handler.addHandlerListener(getHandlerListener());
this.handler.addHandlerListener(getHandlerListener());
this.handler.addHandlerListener(getHandlerListener());