Chronos Plugins 5.9.0
This documentation covers the plugin interfaces definitions and an example implementation.
|
Provides an editor for the BrewFrappuccino-Task's "Composition" information. More...
Public Member Functions | |
FrappuccinoCompositionEditor () | |
FrappuccinoCompositionEditor (BrewFrappuccino.CompositionData theData) | |
Initialize from a given composition object. | |
Private Member Functions | |
void | CopyDataToGui () |
Let the GUI reflect our data. | |
void | FrappuccinoCompositionEditor_Shown (object sender, EventArgs e) |
If we set the controls' values from the constructor, sometimes they don't get updated properly. | |
void | CopyGuItoData () |
When the user clicked on OK, we want to push the state represented by the GUI into our composition object. | |
void | btnOK_Click (object sender, EventArgs e) |
Update our data object. | |
Private Attributes | |
readonly BrewFrappuccino.CompositionData | mData |
Provides an editor for the BrewFrappuccino-Task's "Composition" information.
Definition at line 9 of file FrappuccinoCompositionEditor.cs.
MockPlugin.Tasks.FrappuccinoCompositionEditor.FrappuccinoCompositionEditor | ( | ) |
Definition at line 11 of file FrappuccinoCompositionEditor.cs.
MockPlugin.Tasks.FrappuccinoCompositionEditor.FrappuccinoCompositionEditor | ( | BrewFrappuccino.CompositionData | theData | ) |
Initialize from a given composition object.
theData |
Definition at line 19 of file FrappuccinoCompositionEditor.cs.
References MockPlugin.Tasks.FrappuccinoCompositionEditor.mData.
|
private |
Update our data object.
sender | |
e |
Definition at line 113 of file FrappuccinoCompositionEditor.cs.
References MockPlugin.Tasks.FrappuccinoCompositionEditor.CopyGuItoData().
|
private |
Let the GUI reflect our data.
Definition at line 29 of file FrappuccinoCompositionEditor.cs.
References MockPlugin.Tasks.FrappuccinoCompositionEditor.mData, and MockPlugin.Tasks.BrewFrappuccino.Volume.
Referenced by MockPlugin.Tasks.FrappuccinoCompositionEditor.FrappuccinoCompositionEditor_Shown().
|
private |
When the user clicked on OK, we want to push the state represented by the GUI into our composition object.
Definition at line 79 of file FrappuccinoCompositionEditor.cs.
Referenced by MockPlugin.Tasks.FrappuccinoCompositionEditor.btnOK_Click().
|
private |
If we set the controls' values from the constructor, sometimes they don't get updated properly.
sender | |
e |
Definition at line 71 of file FrappuccinoCompositionEditor.cs.
References MockPlugin.Tasks.FrappuccinoCompositionEditor.CopyDataToGui().
|
private |
Definition at line 24 of file FrappuccinoCompositionEditor.cs.
Referenced by MockPlugin.Tasks.FrappuccinoCompositionEditor.CopyDataToGui(), and MockPlugin.Tasks.FrappuccinoCompositionEditor.FrappuccinoCompositionEditor().