diff options
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Stubs/StubsModule.cs')
| -rw-r--r-- | Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Stubs/StubsModule.cs | 36 |
1 files changed, 8 insertions, 28 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Stubs/StubsModule.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Stubs/StubsModule.cs index 359ac2977..817c68b49 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Stubs/StubsModule.cs +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Stubs/StubsModule.cs @@ -16,59 +16,39 @@ namespace Tango.MachineStudio.Stubs /// Represents a stubs execution Machine Studio module capable of executing stubs against the current connected machine using a C# script engine. /// </summary> /// <seealso cref="Tango.MachineStudio.Common.IStudioModule" /> - public class StubsModule : IStudioModule + public class StubsModule : StudioModuleBase { - private bool _isLoaded; - /// <summary> /// Gets the module name. /// </summary> - public string Name => "Stubs"; + public override string Name => "Stubs"; /// <summary> /// Gets the module description. /// </summary> - public string Description => "Execute machine tests using an interactive C# scripting editor"; + public override string Description => "Execute machine tests using an interactive C# scripting editor"; /// <summary> /// Gets the module cover image. /// </summary> - public BitmapSource Image => ResourceHelper.GetImageFromResources("Images/stubs.jpg"); + public override BitmapSource Image => ResourceHelper.GetImageFromResources("Images/stubs.jpg"); /// <summary> /// Gets the module entry point view. /// </summary> - public FrameworkElement MainView => new MainView(); - - /// <summary> - /// Sets a value indicating whether this module is loaded. - /// </summary> - public bool IsLoaded { get => _isLoaded; set => _isLoaded = value; } + public override FrameworkElement MainView => new MainView(); /// <summary> /// Gets the permission required to see and load this module. /// </summary> - public Permissions Permission => Permissions.RunSynchronizationModule; - - /// <summary> - /// Gets a value indicating whether this module has been initialized. - /// </summary> - public bool IsInitialized => true; + public override Permissions Permission => Permissions.RunSynchronizationModule; /// <summary> /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. /// </summary> - public void Dispose() - { - //throw new NotImplementedException(); - } - - /// <summary> - /// Perform any operations required to initialize this module. - /// </summary> - public void Initialize() + public override void Dispose() { - //throw new NotImplementedException(); + } } } |
