| java.lang.Object org.eclipse.ui.internal.handlers.SlaveHandlerService org.eclipse.ui.internal.handlers.NestableHandlerService
NestableHandlerService | final public class NestableHandlerService extends SlaveHandlerService implements INestable(Code) | |
A handler service which delegates almost all responsibility to the parent
service. It is capable of being nested inside a component that is not
recognizable by the "sources" event mechanism. This means that the handlers
must be activated and deactivated manually.
This class is not intended for use outside of the
org.eclipse.ui.workbench plug-in.
since: 3.2 |
Constructor Summary | |
public | NestableHandlerService(IHandlerService parentHandlerService, Expression defaultExpression) Constructs a new instance.
Parameters: parentHandlerService - The parent handler service for this slave; must not benull . Parameters: defaultExpression - The default expression to use if none is provided. |
NestableHandlerService | public NestableHandlerService(IHandlerService parentHandlerService, Expression defaultExpression)(Code) | | Constructs a new instance.
Parameters: parentHandlerService - The parent handler service for this slave; must not benull . Parameters: defaultExpression - The default expression to use if none is provided. This isprimarily used for conflict resolution. This value may benull . |
activate | final public void activate()(Code) | | |
deactivate | final public void deactivate()(Code) | | |
Methods inherited from org.eclipse.ui.internal.handlers.SlaveHandlerService | final public IHandlerActivation activateHandler(IHandlerActivation childActivation)(Code)(Java Doc) final public IHandlerActivation activateHandler(String commandId, IHandler handler)(Code)(Java Doc) final public IHandlerActivation activateHandler(String commandId, IHandler handler, Expression expression)(Code)(Java Doc) final public IHandlerActivation activateHandler(String commandId, IHandler handler, Expression expression, boolean global)(Code)(Java Doc) final public IHandlerActivation activateHandler(String commandId, IHandler handler, Expression expression, int sourcePriorities)(Code)(Java Doc) final public void addSourceProvider(ISourceProvider provider)(Code)(Java Doc) final public ExecutionEvent createExecutionEvent(Command command, Event event)(Code)(Java Doc) final public ExecutionEvent createExecutionEvent(ParameterizedCommand command, Event event)(Code)(Java Doc) final public void deactivateHandler(IHandlerActivation activation)(Code)(Java Doc) final public void deactivateHandlers(Collection activations)(Code)(Java Doc) final public void dispose()(Code)(Java Doc) protected IHandlerActivation doActivation(IHandlerActivation localActivation)(Code)(Java Doc) final public Object executeCommand(ParameterizedCommand command, Event event) throws ExecutionException, NotDefinedException, NotEnabledException, NotHandledException(Code)(Java Doc) final public Object executeCommand(String commandId, Event event) throws ExecutionException, NotDefinedException, NotEnabledException, NotHandledException(Code)(Java Doc) final public IEvaluationContext getCurrentState()(Code)(Java Doc) final public void readRegistry()(Code)(Java Doc) final public void removeSourceProvider(ISourceProvider provider)(Code)(Java Doc) final public void setHelpContextId(IHandler handler, String helpContextId)(Code)(Java Doc)
|
|
|