This class passes the inputs of the GUIs to MWData where needed and it is in controll of what is displayed at the screen More...
Public Types | |
enum | MWGUIType { MWGUIType.CreateDevice, MWGUIType.CreateInterface, MWGUIType.Start, MWGUIType.DeviceDescription } |
Enum to represent the GUI More... | |
Public Member Functions | |
MWController (ModellingWizard modellingWizard) | |
Init the controller and reload all amlx devices More... | |
DeviceDescription | GetDeviceDescriptionForm () |
Create the new CreateDevice GUI or return the previously created GUI More... | |
String | CreateDeviceOnClick (MWDevice newDevice, bool isEdit) |
void | ChangeGui (MWGUIType targetGUI) |
Show the correct GUI for the selected device More... | |
string | importFile (string filename, MWData.MWFileType filetype) |
Call the Converter with the given file More... | |
This class passes the inputs of the GUIs to MWData where needed and it is in controll of what is displayed at the screen
|
strong |
|
inline |
Init the controller and reload all amlx devices
modellingWizard |
|
inline |
Show the correct GUI for the selected device
selectedIndex | The index of the selected item in the dropdown |
Reload all .amlx files in ./modellingwizard/ and update the dropdown.
Switch the displayed
targetGUI | the GUI Type to display |
|
inline |
newDevice | |
isEdit |
|
inline |
Create the new CreateDevice GUI or return the previously created GUI
creƔte the new DeviceDescription GUI or return the previously created GUI
|
inline |
Call the Converter with the given file
filename | the full path to the file |
filetype | whether the file is an IODD or an GSD file |