Chronos Plugins 5.4.0
This documentation covers the plugin interfaces definitions and an example implementation.
Loading...
Searching...
No Matches
AxelSemrau.Chronos.Plugin.SimpleFilenameAttribute Class Reference

Easier to use if you don't care about localization. More...

+ Inheritance diagram for AxelSemrau.Chronos.Plugin.SimpleFilenameAttribute:
+ Collaboration diagram for AxelSemrau.Chronos.Plugin.SimpleFilenameAttribute:

Public Member Functions

override string GetCaption ()
 Just returning the property's value.
 
override string GetFilenamePattern ()
 Just returning the property's value.
 
override string GetInitialValue (ITask theTask)
 Just returning the value of the property here.
 
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.
 

Properties

string Caption [get, set]
 Title of the dialog.
 
string FilenamePattern [get, set]
 File type specification as described on MSDN: https://docs.microsoft.com/en-us/dotnet/api/microsoft.win32.filedialog.filter?view=netframework-4.8.
 
string InitialValue [get, set]
 First value to show to the user.
 
- Properties inherited from AxelSemrau.Chronos.Plugin.FilenameAttribute
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.
 

Additional Inherited Members

- Public Types inherited from AxelSemrau.Chronos.Plugin.FilenameAttribute
enum  TargetMode { FileRead , FileWrite , Folder }
 Dialog type: Open file for reading or for writing? Folder? More...
 
- Protected Member Functions inherited from AxelSemrau.Chronos.Plugin.FilenameAttribute
 FilenameAttribute ()
 Default constructor: Ask for a file that should be read.
 

Detailed Description

Easier to use if you don't care about localization.

Definition at line 846 of file TaskInterfaces.cs.

Member Function Documentation

◆ GetCaption()

override string AxelSemrau.Chronos.Plugin.SimpleFilenameAttribute.GetCaption ( )
virtual

Just returning the property's value.

Returns

Reimplemented from AxelSemrau.Chronos.Plugin.FilenameAttribute.

◆ GetFilenamePattern()

override string AxelSemrau.Chronos.Plugin.SimpleFilenameAttribute.GetFilenamePattern ( )
virtual

Just returning the property's value.

Returns

Reimplemented from AxelSemrau.Chronos.Plugin.FilenameAttribute.

◆ GetInitialValue()

override string AxelSemrau.Chronos.Plugin.SimpleFilenameAttribute.GetInitialValue ( ITask  theTask)
virtual

Just returning the value of the property here.

Parameters
theTask
Returns

Reimplemented from AxelSemrau.Chronos.Plugin.FilenameAttribute.

Property Documentation

◆ Caption

string AxelSemrau.Chronos.Plugin.SimpleFilenameAttribute.Caption
getset

Title of the dialog.

Definition at line 851 of file TaskInterfaces.cs.

851{ get; set; }

◆ FilenamePattern

string AxelSemrau.Chronos.Plugin.SimpleFilenameAttribute.FilenamePattern
getset

File type specification as described on MSDN: https://docs.microsoft.com/en-us/dotnet/api/microsoft.win32.filedialog.filter?view=netframework-4.8.

Definition at line 855 of file TaskInterfaces.cs.

855{ get; set; }

◆ InitialValue

string AxelSemrau.Chronos.Plugin.SimpleFilenameAttribute.InitialValue
getset

First value to show to the user.

Definition at line 859 of file TaskInterfaces.cs.

859{ get; set; }

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