Chronos Plugins 5.9.0
This documentation covers the plugin interfaces definitions and an example implementation.
|
Just a general purpose column header menu. More...
Public Member Functions | |
ColumnHeaderMenu (Func< string > getCaption, Action< IReadOnlyList< ICellAccessor > > menuAction) | |
void | ProcessSelected (IReadOnlyList< ICellAccessor > affectedCells) |
All cells that were selected while picking the menu entry / all cells of the column if there was no selection. | |
Public Member Functions inherited from AxelSemrau.Chronos.Plugin.Columns.IColumnMenu |
Properties | |
string | Caption [get] |
Text for the menu entry in the column header menu. | |
Properties inherited from AxelSemrau.Chronos.Plugin.Columns.IColumnMenu |
Private Attributes | |
readonly Func< string > | mGetCaption |
readonly Action< IReadOnlyList< ICellAccessor > > | mMenuAction |
Just a general purpose column header menu.
Definition at line 11 of file ColumnHeaderMenu.cs.
MockPlugin.SampleListColumns.ColumnHeaderMenu.ColumnHeaderMenu | ( | Func< string > | getCaption, |
Action< IReadOnlyList< ICellAccessor > > | menuAction ) |
Definition at line 16 of file ColumnHeaderMenu.cs.
References MockPlugin.SampleListColumns.ColumnHeaderMenu.mGetCaption, and MockPlugin.SampleListColumns.ColumnHeaderMenu.mMenuAction.
void MockPlugin.SampleListColumns.ColumnHeaderMenu.ProcessSelected | ( | IReadOnlyList< ICellAccessor > | affectedCells | ) |
All cells that were selected while picking the menu entry / all cells of the column if there was no selection.
Do whatever you promised to do in the menu entry.
affectedCells |
Implements AxelSemrau.Chronos.Plugin.Columns.IColumnMenu.
|
private |
Definition at line 13 of file ColumnHeaderMenu.cs.
Referenced by MockPlugin.SampleListColumns.ColumnHeaderMenu.ColumnHeaderMenu().
|
private |
Definition at line 14 of file ColumnHeaderMenu.cs.
Referenced by MockPlugin.SampleListColumns.ColumnHeaderMenu.ColumnHeaderMenu().
|
get |
Text for the menu entry in the column header menu.
Implements AxelSemrau.Chronos.Plugin.Columns.IColumnMenu.
Definition at line 22 of file ColumnHeaderMenu.cs.