public Presenter(
     ICCEView view,
     Help.IPresenter help,
     IAlertPopup alerts,
     ITestParsing testParsing
     )
 {
     this.dialog = view;
     this.dialog.SetEventsHandler(this);
     this.help        = help;
     this.alerts      = alerts;
     this.testParsing = testParsing;
     this.dialog.InitStaticControls(
         "XSLT editor", "XSL transformation code that normalizes your XML log messages", "Help");
 }
示例#2
0
 public Presenter(
     IView 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;
 }
 public Presenter(
     ICCEView view,
     Help.IPresenter help,
     IAlertPopup alerts,
     ITestParsing testParsing,
     IFactory objectFactory
     )
 {
     this.dialog = view;
     this.dialog.SetEventsHandler(this);
     this.help           = help;
     this.alerts         = alerts;
     this.objectsFactory = objectFactory;
     this.testParsing    = testParsing;
     this.dialog.InitStaticControls(
         "JUST editor", "JUST transformation code that normalizes your JSON log messages", "Help");
 }
 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.");
 }