private void ExtractRAMLCallback(object sender, EventArgs e) { ChangeCommandStatus(extractRAMLCommandId, false); var service = ReverseEngineeringServiceBase.GetReverseEngineeringService(ServiceProvider.GlobalProvider); service.ExtractRAML(); ChangeCommandStatus(extractRAMLCommandId, true); }
private void DisableRamlMetadataOutputCallback(object sender, EventArgs e) { ChangeCommandStatus(enableRamlMetadataOutputCommandId, false); StartProgressBar("Disable RAML metadata output", "Uninstalling...", "Processing..."); var service = ReverseEngineeringServiceBase.GetReverseEngineeringService(ServiceProvider.GlobalProvider); service.RemoveReverseEngineering(); StopProgressBar(); ChangeCommandStatus(enableRamlMetadataOutputCommandId, true); }
private void EnableRamlMetadataOutputCallback(object sender, EventArgs e) { ChangeCommandStatus(enableRamlMetadataOutputCommandId, false); StartProgressBar("Enable RAML metadata output", "Installing...", "Processing..."); var service = ReverseEngineeringServiceBase.GetReverseEngineeringService(ServiceProvider.GlobalProvider); service.AddReverseEngineering(); StopProgressBar(); System.Diagnostics.Process.Start("https://github.com/mulesoft-labs/raml-dotnet-tools#metadata"); ChangeCommandStatus(enableRamlMetadataOutputCommandId, true); }