|
Chronos Plugins 5.9.0
This documentation covers the plugin interfaces definitions and an example implementation.
|
Simple case: Enum based column. Possible values are given in the StandardItems, custom editor is not used. More...
Inheritance diagram for MockPlugin.SampleListColumns.CreamTypeColumn:
Collaboration diagram for MockPlugin.SampleListColumns.CreamTypeColumn:Properties | |
| string | InternalName [get] |
| Nametag that will be used internally for storing a column of this type in the method. Do not change this once released, or the methods using this column type will no longer be usable. | |
| string | VisibleName [get] |
| Column type name that will be presented to the user in the method editor in the "Cell Type" column. Should be localizable. | |
| IEnumerable< object > | ComboboxItems [get] |
| List of possible values that can be presented to the user in a drop-down list. | |
| Type | ValueType [get] |
| Used for getting information which UITypeEditor, TypeConverter etc to use for your column. | |
| IEnumerable< IColumnMenu > | ColumnHeaderMenu [get] |
| If this is not null, it declares column header menu entries that can be used for "Autofill" like features. | |
Properties inherited from AxelSemrau.Chronos.Plugin.Columns.IColumnTypeDefinition | |
Private Member Functions | |
| void | CycleThrough (IReadOnlyList< ICellAccessor > cells) |
| void | FillDown (IReadOnlyList< ICellAccessor > cells) |
| Fill all given cells with the value of the top row. | |
Simple case: Enum based column. Possible values are given in the StandardItems, custom editor is not used.
Definition at line 17 of file CreamTypeColumn.cs.
|
private |
Definition at line 35 of file CreamTypeColumn.cs.
|
private |
Fill all given cells with the value of the top row.
| cells |
Definition at line 66 of file CreamTypeColumn.cs.
|
get |
If this is not null, it declares column header menu entries that can be used for "Autofill" like features.
Implements AxelSemrau.Chronos.Plugin.Columns.IColumnTypeDefinition.
Definition at line 26 of file CreamTypeColumn.cs.
|
get |
List of possible values that can be presented to the user in a drop-down list.
As stated in the class documentation: Make sure ToString() returns values that can be converted back to your object type. If you don't want to restrict the user to a given value list, use the [Editable(true)] attribute.
Implements AxelSemrau.Chronos.Plugin.Columns.IColumnTypeDefinition.
Definition at line 22 of file CreamTypeColumn.cs.
|
get |
Nametag that will be used internally for storing a column of this type in the method. Do not change this once released, or the methods using this column type will no longer be usable.
Implements AxelSemrau.Chronos.Plugin.Columns.IColumnTypeDefinition.
Definition at line 19 of file CreamTypeColumn.cs.
|
get |
Used for getting information which UITypeEditor, TypeConverter etc to use for your column.
Implements AxelSemrau.Chronos.Plugin.Columns.IColumnTypeDefinition.
Definition at line 24 of file CreamTypeColumn.cs.
|
get |
Column type name that will be presented to the user in the method editor in the "Cell Type" column. Should be localizable.
Implements AxelSemrau.Chronos.Plugin.Columns.IColumnTypeDefinition.
Definition at line 20 of file CreamTypeColumn.cs.