GREET API
Exposed interfaces to create modules that can be loaded in GREET
 All Classes Namespaces Files Functions Enumerations Enumerator Properties Events
IGraphicalMenusPlugin.cs
Go to the documentation of this file.
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5 using System.Windows.Forms;
6 using System.Reflection;
7 using System.Drawing;
8 using PlugInsInterfaces.DataTypes;
9 
10 namespace PlugInsInterfaces.PluginTypes
11 {
15  [Obfuscation(Feature = "renaming", Exclude = true)]
16  public interface IGraphicalMenusPlugin : IPlugin
17  {
22  [Obfuscation(Feature = "renaming", Exclude = true)]
23  bool InitializeGraphicalPlugin();
29  [Obfuscation(Feature = "renaming", Exclude = true)]
30  ToolStripMenuItem[] GetMainMenuItems();
36  [Obfuscation(Feature = "renaming", Exclude = true)]
37  ToolStripMenuItem[] GetProcessMenuItems(int processID);
43  [Obfuscation(Feature = "renaming", Exclude = true)]
44  ToolStripMenuItem[] GetPathwayMenuItems(int pathwayID);
50  [Obfuscation(Feature = "renaming", Exclude = true)]
51  ToolStripMenuItem[] GetMixMenuItems(int mixID);
57  [Obfuscation(Feature = "renaming", Exclude = true)]
58  ToolStripMenuItem[] GetVehiclesMenuItems(int vehicleID);
64  [Obfuscation(Feature = "renaming", Exclude = true)]
65  Button GetMainButton();
72  [Obfuscation(Feature = "renaming", Exclude = true)]
73  MenuItem[] GetParameterMenuItems(IParameter parameter);
74  }
75 }
Interface that any class must implement in order to be loaded in GREET as a plugin ...
Definition: IPlugin.cs:14
Class that represents a value and unit
Definition: IParameter.cs:13
If a plugin extends from this interface, some menu can be added to the main GREET windows ...