Ejemplo n.º 1
0
 public Factory(
     IAlertPopup alerts,
     IFileDialogs fileDialogs,
     Help.IPresenter help,
     ILogProviderFactoryRegistry registry,
     IFormatDefinitionsRepository repo,
     IUserDefinedFormatsManager userDefinedFormatsManager,
     ITempFilesManager tempFilesManager,
     ITraceSourceFactory traceSourceFactory,
     RegularExpressions.IRegexFactory regexFactory,
     LogViewer.IPresenterFactory logViewerPresenterFactory,
     IViewsFactory viewFactories,
     ISynchronizationContext synchronizationContext,
     FieldsProcessor.IFactory fieldsProcessorFactory
     )
 {
     this.viewFactories             = viewFactories;
     this.alerts                    = alerts;
     this.registry                  = registry;
     this.fileDialogs               = fileDialogs;
     this.userDefinedFormatsManager = userDefinedFormatsManager;
     this.help                      = help;
     this.repo                      = repo;
     this.tempFilesManager          = tempFilesManager;
     this.logViewerPresenterFactory = logViewerPresenterFactory;
     this.traceSourceFactory        = traceSourceFactory;
     this.regexFactory              = regexFactory;
     this.synchronizationContext    = synchronizationContext;
     this.fieldsProcessorFactory    = fieldsProcessorFactory;
 }
 public Presenter(
     IView view,
     Help.IPresenter help,
     IAlertPopup alerts
     )
 {
     this.dialog = view;
     this.dialog.SetEventsHandler(this);
     this.help   = help;
     this.alerts = alerts;
 }
Ejemplo n.º 3
0
 public Presenter(
     IView view,
     IAlertPopup alerts,
     IFileDialogs fileDialogs,
     ITempFilesManager tempFilesManager,
     Help.IPresenter help
     )
 {
     this.dialog           = view;
     this.alerts           = alerts;
     this.fileDialogs      = fileDialogs;
     this.tempFilesManager = tempFilesManager;
     this.help             = help;
     this.dialog.SetEventsHandler(this);
 }
 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");
 }
Ejemplo n.º 5
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(
     IView view,
     IAlertPopup alerts,
     IFileDialogs fileDialogs,
     FieldsProcessor.IFactory fieldsProcessorFactory,
     Help.IPresenter help
     )
 {
     this.dialog                 = view;
     this.alerts                 = alerts;
     this.fileDialogs            = fileDialogs;
     this.fieldsProcessorFactory = fieldsProcessorFactory;
     this.help = help;
     this.dialog.SetEventsHandler(this);
 }
Ejemplo n.º 7
0
 public Presenter(
     IView view,
     Help.IPresenter help,
     IAlertPopup alerts,
     ITempFilesManager tempFilesManager,
     IObjectFactory objectFactory
     )
 {
     this.dialog = view;
     this.dialog.SetEventsHandler(this);
     this.help             = help;
     this.alerts           = alerts;
     this.objectsFactory   = objectFactory;
     this.tempFilesManager = tempFilesManager;
     this.dialog.InitStaticControls(
         "XSL transformation code that normalizes your XML log messages", "Help");
 }
 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(
     IView 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;
 }
        public Presenter(
            IView view,
            IWizardScenarioHost host,
            Help.IPresenter help
            )
        {
            this.view = view;
            this.view.SetEventsHandler(this);
            this.host = host;
            this.help = help;

            this.dejitterBufferStepper = new LabeledStepperPresenter.Presenter(view.BufferStepperView);

            UpdateView();
            InitEncodings();
            InitDejitterGauge();
        }
 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.");
 }
Ejemplo n.º 12
0
 public ObjectsFactory(
     IAlertPopup alerts,
     IFileDialogs fileDialogs,
     Help.IPresenter help,
     ILogProviderFactoryRegistry registry,
     IFormatDefinitionsRepository repo,
     IUserDefinedFormatsManager userDefinedFormatsManager,
     ITempFilesManager tempFilesManager,
     LogViewer.IPresenterFactory logViewerPresenterFactory,
     ViewFactories viewFactories
     )
 {
     this.viewFactories             = viewFactories;
     this.alerts                    = alerts;
     this.registry                  = registry;
     this.fileDialogs               = fileDialogs;
     this.userDefinedFormatsManager = userDefinedFormatsManager;
     this.help                      = help;
     this.repo                      = repo;
     this.tempFilesManager          = tempFilesManager;
     this.logViewerPresenterFactory = logViewerPresenterFactory;
 }
Ejemplo n.º 13
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.");
 }