Chronos Plugins 5.4.0
This documentation covers the plugin interfaces definitions and an example implementation.
Loading...
Searching...
No Matches
MockPlugin.SampleListColumns.CoffeeTypeColumn Class Reference

Just an example for freshly updated combobox entries. More...

+ Inheritance diagram for MockPlugin.SampleListColumns.CoffeeTypeColumn:
+ Collaboration diagram for MockPlugin.SampleListColumns.CoffeeTypeColumn:

Properties

string InternalName = "MockPlugin_CoffeeType" [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 = "Coffee Type" [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]
 Last entry is based on current time to show when it was created.
 
Type ValueType = typeof(string) [get]
 Used for getting information which UITypeEditor, TypeConverter etc to use for your column.
 
IEnumerable< IColumnMenuColumnHeaderMenu = null [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
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< IColumnMenuColumnHeaderMenu [get]
 If this is not null, it declares column header menu entries that can be used for "Autofill" like features.
 

Detailed Description

Just an example for freshly updated combobox entries.

The [Editable(true)] attribute on the ComboboxItems property allows entering your own unlisted coffee type.

Definition at line 16 of file CoffeeTypeColumn.cs.

Property Documentation

◆ ColumnHeaderMenu

IEnumerable<IColumnMenu> MockPlugin.SampleListColumns.CoffeeTypeColumn.ColumnHeaderMenu = null
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 37 of file CoffeeTypeColumn.cs.

37{ get; } = null;

◆ ComboboxItems

IEnumerable<object> MockPlugin.SampleListColumns.CoffeeTypeColumn.ComboboxItems
get

Last entry is based on current time to show when it was created.

Implements AxelSemrau.Chronos.Plugin.Columns.IColumnTypeDefinition.

Definition at line 25 of file CoffeeTypeColumn.cs.

26 {
27 get
28 {
29 yield return "Americano";
30 yield return "Espresso";
31 yield return "Cortado";
32 yield return $"Hyped coffee of the second ({DateTime.Now:yyyy-MM-dd HH:mm:ss})";
33 }
34 }

◆ InternalName

string MockPlugin.SampleListColumns.CoffeeTypeColumn.InternalName = "MockPlugin_CoffeeType"
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 18 of file CoffeeTypeColumn.cs.

18{ get; } = "MockPlugin_CoffeeType";

◆ ValueType

Type MockPlugin.SampleListColumns.CoffeeTypeColumn.ValueType = typeof(string)
get

Used for getting information which UITypeEditor, TypeConverter etc to use for your column.

Implements AxelSemrau.Chronos.Plugin.Columns.IColumnTypeDefinition.

Definition at line 36 of file CoffeeTypeColumn.cs.

36{ get; } = typeof(string);

◆ VisibleName

string MockPlugin.SampleListColumns.CoffeeTypeColumn.VisibleName = "Coffee Type"
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 19 of file CoffeeTypeColumn.cs.

19{ get; } = "Coffee Type";

The documentation for this class was generated from the following file: