public Presenter(
            ILogSourcesManager logSources,
            IView view,
            ILogSourcesPreprocessingManager logSourcesPreprocessings,
            SourcePropertiesWindow.IPresenter propertiesWindowPresenter,
            LogViewer.IPresenter logViewerPresenter,
            IPresentersFacade navHandler,
            IAlertPopup alerts,
            IFileDialogs fileDialogs,
            IClipboardAccess clipboard,
            IShellOpen shellOpen,
            SaveJointLogInteractionPresenter.IPresenter saveJointLogInteractionPresenter
            )
        {
            this.logSources = logSources;
            this.view       = view;
            this.propertiesWindowPresenter = propertiesWindowPresenter;
            this.logViewerPresenter        = logViewerPresenter;
            this.logSourcesPreprocessings  = logSourcesPreprocessings;
            this.alerts      = alerts;
            this.fileDialogs = fileDialogs;
            this.clipboard   = clipboard;
            this.shellOpen   = shellOpen;
            this.saveJointLogInteractionPresenter = saveJointLogInteractionPresenter;

            logViewerPresenter.FocusedMessageChanged += (sender, args) =>
            {
                view.InvalidateFocusedMessageArea();
            };

            view.SetPresenter(this);
        }
Example #2
0
 public static Task OpenWorkspace(this ILogSourcesPreprocessingManager logSourcesPreprocessings,
                                  Preprocessing.IPreprocessingStepsFactory preprocessingStepsFactory, string workspaceUrl)
 {
     return(logSourcesPreprocessings.Preprocess(
                new[] { preprocessingStepsFactory.CreateOpenWorkspaceStep(new Preprocessing.PreprocessingStepParams(workspaceUrl)) },
                "opening workspace"
                ));
 }
Example #3
0
		public DragDropHandler(
			ILogSourcesPreprocessingManager preprocessingManager,
			IPreprocessingStepsFactory preprocessingStepsFactory,
			ILogSourcesController model)
		{
			this.preprocessingManager = preprocessingManager;
			this.preprocessingStepsFactory = preprocessingStepsFactory;
			this.model = model;
		}
Example #4
0
 public DragDropHandler(
     ILogSourcesController logSourcesController,
     ILogSourcesPreprocessingManager preprocessingManager,
     IPreprocessingStepsFactory preprocessingStepsFactory)
 {
     this.logSourcesController      = logSourcesController;
     this.preprocessingManager      = preprocessingManager;
     this.preprocessingStepsFactory = preprocessingStepsFactory;
 }
Example #5
0
 public Presenter(
     IView view,
     ILogSourcesPreprocessingManager preprocessingManager,
     IPreprocessingStepsFactory preprocessingStepsFactory
     )
 {
     this.view = view;
     this.preprocessingManager      = preprocessingManager;
     this.preprocessingStepsFactory = preprocessingStepsFactory;
 }
Example #6
0
 public static IConnectionParams AppendReorderingStep(this ILogSourcesPreprocessingManager mgr,
                                                      IConnectionParams connectParams, ILogProviderFactory sourceFormatFactory)
 {
     return(mgr.AppendStep(connectParams, TimeAnomalyFixingStep.name,
                           string.Format("{0}\\{1}", sourceFormatFactory.CompanyName, sourceFormatFactory.FormatName)));
 }