Chronos Plugins 5.9.0
This documentation covers the plugin interfaces definitions and an example implementation.
|
State that the task property describes a filename/folder name and should offer a picker dialog in the Chronos method editor. More...
Public Types | |
enum | TargetMode { FileRead , FileWrite , Folder } |
Dialog type: Open file for reading or for writing? Folder? More... | |
Public Member Functions | |
virtual string | GetCaption () |
Title of the dialog. | |
virtual string | GetFilenamePattern () |
File type specification as described on MSDN: https://docs.microsoft.com/en-us/dotnet/api/microsoft.win32.filedialog.filter?view=netframework-4.8. | |
virtual string | GetInitialValue (ITask theTask) |
Override this if the initial value needs to depend on other properties of the task. | |
Public Member Functions inherited from AxelSemrau.Chronos.Plugin.Columns.RecommendedColumnTypeAttribute | |
RecommendedColumnTypeAttribute (string internalColTypeName) | |
Recommend the decorated property with this type of column (internal names as used in the method file). | |
RecommendedColumnTypeAttribute (BuiltinColumnTypeName bcn) | |
If using builtin columns, use this constructor to avoid errors because of misspelt names. | |
Protected Member Functions | |
FilenameAttribute () | |
Default constructor: Ask for a file that should be read. | |
Properties | |
TargetMode | Mode [get, set] |
File mode for this property. | |
Properties inherited from AxelSemrau.Chronos.Plugin.Columns.RecommendedColumnTypeAttribute | |
string | InternalColumnTypeName [get, protected set] |
Name of the column type as used internally in the method XML. | |
Private Attributes | |
TargetMode | mMode |
State that the task property describes a filename/folder name and should offer a picker dialog in the Chronos method editor.
Implies that the recommended column type, if converted, should also be for a file/folder
Definition at line 780 of file TaskInterfaces.cs.
Dialog type: Open file for reading or for writing? Folder?
Enumerator | |
---|---|
FileRead | File should be opened for reading. |
FileWrite | File should be opened for writing. |
Folder | Pick a folder, not a file. |
Definition at line 787 of file TaskInterfaces.cs.
|
protected |
Default constructor: Ask for a file that should be read.
Definition at line 845 of file TaskInterfaces.cs.
|
virtual |
Title of the dialog.
Reimplemented in AxelSemrau.Chronos.Plugin.SimpleFilenameAttribute.
|
virtual |
File type specification as described on MSDN: https://docs.microsoft.com/en-us/dotnet/api/microsoft.win32.filedialog.filter?view=netframework-4.8.
Reimplemented in AxelSemrau.Chronos.Plugin.SimpleFilenameAttribute.
|
virtual |
Override this if the initial value needs to depend on other properties of the task.
theTask |
Reimplemented in AxelSemrau.Chronos.Plugin.SimpleFilenameAttribute.
|
private |
Definition at line 782 of file TaskInterfaces.cs.
|
getset |
File mode for this property.
Definition at line 806 of file TaskInterfaces.cs.