T
- the type of the Gantt chart for which the interceptor will be usedpublic interface ICommandInterceptor<T extends AbstractGanttChart>
AbstractGanttChart.setCommandInterceptor(Class, ICommandInterceptor)
Modifier and Type | Method and Description |
---|---|
boolean |
intercept(T gc,
ICommand cmd)
Callback method that gets invoked after a command gets send to
the Gantt chart for execution but before is gets passed to the
command stack.
|
boolean intercept(T gc, ICommand cmd)
gc
- the Gantt chart for which the command will be executedcmd
- the command that is about to be executedAbstractGanttChart.commandExecute(ICommand)
,
ICommandStack.execute(ICommand, IProgressMonitor)
Copyright © 2006–2016 Dirk Lemmermann Software & Consulting. All rights reserved.