|
virtual string[] | AvailableCommandsForThisPlugin () |
| Returns a list of the available command names for this plugin that can be called using the command line More...
|
|
virtual ToolStripMenuItem[] | GetMainMenuItems () |
| A collection of tool strip menu items that will be added to the existing main menu of the GREET main form or null More...
|
|
virtual ToolStripMenuItem[] | GetMixMenuItems (int mixID) |
| A collection of menu items that will be added to the context menus shown for a mix or null More...
|
|
virtual MenuItem[] | GetParameterMenuItems (IParameter parameter) |
| Called when a parameter is right clicked in order to add items to the existing menu Parameter ID represents a unique ID for the selected parameter More...
|
|
virtual ToolStripMenuItem[] | GetPathwayMenuItems (int pathwayID) |
| A collection of menu items that will be added to the context menus shown for a pathway or null More...
|
|
virtual ToolStripMenuItem[] | GetProcessMenuItems (int processID) |
| A collection of menu items that will be added to the context menus shown for a process (stationary or transportation) or null More...
|
|
virtual ToolStripMenuItem[] | GetVehiclesMenuItems (int vehicleID) |
| A collection of menu items that will be added to the context menus shown for a vehicle or null More...
|
|
abstract bool | InitializePlugin (IGREETController controler) |
| Initialize the default parameters for the plugin More...
|
|
virtual void | onControlClicked (object sender, EventArgs e) |
| Raised when one of the supported controls raises a Click event More...
|
|
virtual void | onControlKeyPressed (object sender, System.Windows.Forms.KeyPressEventArgs e) |
| Raised when one of the supported controls raises a KeyPress event More...
|
|
virtual void | onControlLeave (object sender, EventArgs e) |
| Raised when one of the supported controls raises a Leave event More...
|
|
virtual void | onControlPaint (object sender, System.Windows.Forms.PaintEventArgs e, object content) |
| Raised when one of the supported controls raises a Paint event More...
|
|
virtual void | onDatabaseLoaded (string filename) |
| Called when a database is loaded by the user or automatically after an update. Method is called after the database is loaded into GREET. More...
|
|
virtual void | onDatabaseUpdate (string updateFile) |
| Called when a new file is available after the user manually checked for updates or the automatic check detected that new database was available. Method is called right after the downloaded file is saved in some folder More...
|
|
virtual void | onFinalizePlugin () |
| Called when GREET main routine ends. This is the last call before everything gets unallocated from the memory At this points the Main form no longer exists More...
|
|
virtual void | onMainFormClosing () |
| Called when the main form is closing, just before we check for any data changes in loaded the database More...
|
|
virtual void | onSaveActionRequired () |
| Called when the user clicks File->Save, File->Save As or when he hits Ctrl+S in the main user interface. More...
|
|
virtual bool | RunCommand (string command, string[] args) |
| Asks the plugin to run the specified command and return True if the execution was done properly More...
|
|
Abstact class to implement in order to be loaded in GREET as a plugin
virtual void Greet.DataStructureV3.Interfaces.APlugin.onSaveActionRequired |
( |
| ) |
|
|
virtual |
Called when the user clicks File->Save, File->Save As or when he hits Ctrl+S in the main user interface.
This is called just before we save all the data to the XML file, so it's a good time to push your plugin XML node to the project or to save the data you need to save
Important, this may also be called before an Autosave or if an other plugin asks the IGREETController to save data to a given file