Class AbstractLayerCommandHandler<T extends ILayerCommand>

java.lang.Object
org.eclipse.nebula.widgets.nattable.command.AbstractLayerCommandHandler<T>
All Implemented Interfaces:
ILayerCommandHandler<T>
Direct Known Subclasses:
BlinkTimerEnableCommandHandler, ChooseColumnsFromCategoriesCommandHandler, ClearHoverStylingCommandHandler, ColumnGroupExpandCollapseCommandHandler, ColumnGroupReorderCommandHandler, ColumnGroupReorderEndCommandHandler, ColumnGroupReorderStartCommandHandler, ColumnGroupsCommandHandler, ColumnGroupsCommandHandler, ColumnHideCommandHandler, ColumnReorderCommandHandler, ColumnReorderEndCommandHandler, ColumnReorderStartCommandHandler, ColumnResizeCommandHandler, ColumnShowCommandHandler, ColumnWidthResetCommandHandler, CommandHandlerFixture, CopyDataCommandHandler, DisplayColumnChooserCommandHandler, DisplayColumnRenameDialogCommandHandler, DisplayColumnStyleEditorCommandHandler, DisplayPersistenceDialogCommandHandler, EditCellCommandHandler, EditSelectionCommandHandler, ExportCommandHandler, ExportTableCommandHandler, FreezeCommandHandler, GroupByColumnCommandHandler, GroupColumnReorderCommandHandler, GroupColumnReorderCommandHandler, GroupColumnReorderEndCommandHandler, GroupColumnReorderEndCommandHandler, GroupColumnReorderStartCommandHandler, GroupColumnReorderStartCommandHandler, GroupMultiColumnReorderCommandHandler, GroupMultiColumnReorderCommandHandler, GroupMultiRowReorderCommandHandler, GroupRowReorderCommandHandler, GroupRowReorderEndCommandHandler, GroupRowReorderStartCommandHandler, HideColumnByIndexCommandHandler, HideRowByIndexCommandHandler, HierarchicalTreeExpandCollapseCommandHandler, HierarchicalTreeExpandToLevelCommandHandler, HoverStylingByIndexCommandHandler, HoverStylingCommandHandler, InitializeAutoResizeColumnsCommandHandler, InitializeAutoResizeRowsCommandHandler, InternalPasteDataCommandHandler, MultiColumnHideCommandHandler, MultiColumnReorderCommandHandler, MultiColumnResizeCommandHandler, MultiColumnShowCommandHandler, MultiRowHideCommandHandler, MultiRowReorderCommandHandler, MultiRowResizeCommandHandler, MultiRowShowCommandHandler, PrintCommandHandler, RecalculateScrollBarsCommandHandler, RenameColumnHeaderCommandHandler, ReorderColumnGroupCommandHandler, ReorderColumnGroupEndCommandHandler, ReorderColumnGroupStartCommandHandler, ReorderColumnsAndGroupsCommandHandler, ResetColumnReorderCommandHandler, ResetRowReorderCommandHandler, RowGroupExpandCollapseCommandHandler, RowGroupReorderCommandHandler, RowGroupReorderEndCommandHandler, RowGroupReorderStartCommandHandler, RowGroupsCommandHandler, RowHeightResetCommandHandler, RowHideCommandHandler, RowPositionHideCommandHandler, RowReorderCommandHandler, RowReorderEndCommandHandler, RowReorderStartCommandHandler, RowResizeCommandHandler, RowShowCommandHandler, ScrollSelectionCommandHandler, SelectRowGroupCommandHandler, ShowAllColumnsCommandHandler, ShowAllRowsCommandHandler, ShowCellInViewportCommandHandler, ShowColumnInViewportCommandHandler, ShowRowInViewportCommandHandler, SortCommandHandler, TickUpdateCommandHandler, TreeExpandCollapseCommandHandler, TreeExpandToLevelCommandHandler, UngroupByColumnCommandHandler, UpdateDataCommandHandler, ViewportDragCommandHandler, ViewportSelectColumnCommandHandler, ViewportSelectColumnGroupCommandHandler, ViewportSelectRowCommandHandler, ViewportSelectRowGroupCommandHandler

public abstract class AbstractLayerCommandHandler<T extends ILayerCommand> extends Object implements ILayerCommandHandler<T>
  • Constructor Details

    • AbstractLayerCommandHandler

      public AbstractLayerCommandHandler()
  • Method Details

    • doCommand

      public final boolean doCommand(ILayer targetLayer, T command)
      Specified by:
      doCommand in interface ILayerCommandHandler<T extends ILayerCommand>
      Parameters:
      targetLayer - the target layer
      command - the command
      Returns:
      true if the command has been handled, false otherwise
    • doCommand

      protected abstract boolean doCommand(T command)