public Presenter(
     IGenericView view,
     IWizardScenarioHost host,
     Help.IPresenter help,
     ITestParsing testParsing,
     IFactory objectsFactory
     )
 {
     this.view = view;
     this.view.SetEventsHandler(this);
     this.host           = host;
     this.help           = help;
     this.testParsing    = testParsing;
     this.objectsFactory = objectsFactory;
     InitLabel(ControlId.PageTitleLabel, "Provide the data needed to parse your JSON logs");
     InitLabel(ControlId.ConceptsLabel, "Learn how LogJoint uses regular expressions and JUST transformation to parse JSON logs");
     InitLabel(ControlId.SampleLogLabel, "Select sample log file that can help you test your JSON format configuration");
     InitLabel(ControlId.HeaderReLabel, "Construct header regular expression");
     InitLabel(ControlId.TransformLabel, "Compose JUST transformation");
     InitLabel(ControlId.TestLabel, "Test the data you provided. Click \"Test\" to extract the messages from sample file.");
 }
Exemplo n.º 2
0
 public Presenter(
     IGenericView view,
     IWizardScenarioHost host,
     Help.IPresenter help,
     ITempFilesManager tempFilesManager,
     IAlertPopup alerts,
     IObjectFactory objectsFactory
     )
 {
     this.view = view;
     this.view.SetEventsHandler(this);
     this.host             = host;
     this.help             = help;
     this.tempFilesManager = tempFilesManager;
     this.alerts           = alerts;
     this.objectsFactory   = objectsFactory;
     this.namespaces       = XmlFormat.UserDefinedFormatFactory.NamespaceManager;
     InitLabel(ControlId.PageTitleLabel, "Provide the data needed to parse your XML logs");
     InitLabel(ControlId.ConceptsLabel, "Learn how LogJoint uses regular expressions and XSLT to parse XML logs");
     InitLabel(ControlId.SampleLogLabel, "Select sample log file that can help you test your XML format configuration");
     InitLabel(ControlId.HeaderReLabel, "Construct header regular expression");
     InitLabel(ControlId.TransformLabel, "Compose XSL tranformation");
     InitLabel(ControlId.TestLabel, "Test the data you provided. Click \"Test\" to extract the messages from sample file.");
 }