Class MultiTurnViewportOnCommandHandler
java.lang.Object
org.eclipse.nebula.widgets.nattable.print.command.MultiTurnViewportOnCommandHandler
- All Implemented Interfaces:
ILayerCommandHandler<TurnViewportOnCommand>
public class MultiTurnViewportOnCommandHandler
extends Object
implements ILayerCommandHandler<TurnViewportOnCommand>
ILayerCommandHandler for the TurnViewportOnCommand that needs to be used with
split viewports. As the command is consumed by the ViewportLayer and it is
also not necessary to process the command any further, this handler is used
to ensure that all viewports in the composition get the chance to process the
command.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
doCommand
(ILayer targetLayer, TurnViewportOnCommand command)
-
Constructor Details
-
MultiTurnViewportOnCommandHandler
-
-
Method Details
-
doCommand
- Specified by:
doCommand
in interfaceILayerCommandHandler<TurnViewportOnCommand>
- Parameters:
targetLayer
- the target layercommand
- the command- Returns:
- true if the command has been handled, false otherwise
-
getCommandClass
- Specified by:
getCommandClass
in interfaceILayerCommandHandler<TurnViewportOnCommand>
-