Beispiel #1
0
        void EnsureTimeSeriesInitialized()
        {
            if (timeSeriesForm != null)
            {
                return;
            }

            var viewObjects = postprocessingViewsFactory.CreateTimeSeriesViewObjects();

            timeSeriesForm = viewObjects.Item1;
            var view = viewObjects.Item2;

            timeSeriesModel = new LogJoint.Postprocessing.TimeSeries.TimelineVisualizerModel(
                postprocessorsManager,
                logSourcesManager,
                shortNames,
                logSourceNamesProvider
                );
            timeSeriesPresenter = new TimeSeriesVisualizer.TimeSeriesVisualizerPresenter(
                timeSeriesModel,
                view,
                new Common.PresentationObjectsFactory(postprocessorsManager, logSourcesManager, changeNotification, alerts),
                loadedMessagesPresenter.LogViewerPresenter,
                bookmarks,
                presentersFacade,
                changeNotification
                );
            FormCreated?.Invoke(this, new PostprocessorOutputFormCreatedEventArgs(ViewControlId.TimeSeries, timeSeriesForm, timeSeriesPresenter));
        }
Beispiel #2
0
        void EnsureStateInspectorInitialized()
        {
            if (stateInspectorForm != null)
            {
                return;
            }
            var viewObjects = postprocessingViewsFactory.CreateStateInspectorViewObjects();

            stateInspectorForm = viewObjects.Item1;
            var view = viewObjects.Item2;

            stateInspectorModel = new LogJoint.Postprocessing.StateInspector.StateInspectorVisualizerModel(
                postprocessorsManager,
                logSourcesManager,
                synchronizationContext,
                shortNames
                );
            stateInspectorPresenter = new StateInspectorVisualizer.StateInspectorPresenter(
                view,
                stateInspectorModel,
                shortNames,
                logSourcesManager,
                loadedMessagesPresenter,
                bookmarks,
                threads,
                presentersFacade,
                clipboardAccess,
                sourcesManagerPresenter,
                colorTheme
                );
            FormCreated?.Invoke(this, new PostprocessorOutputFormCreatedEventArgs(ViewControlId.StateInspector, stateInspectorForm, stateInspectorPresenter));
        }
        void EnsureStateInspectorInitialized()
        {
            if (stateInspectorForm != null)
            {
                return;
            }
            var viewObjects = CreateStateInspectorViewObjects();

            stateInspectorForm = viewObjects.Item1;
            var view = viewObjects.Item2;

            stateInspectorModel = new LogJoint.Postprocessing.StateInspector.StateInspectorVisualizerModel(
                app.Model.Postprocessing.PostprocessorsManager,
                app.Model.SourcesManager,
                app.Model.ModelThreadSynchronization,
                app.Model.Postprocessing.ShortNames
                );
            stateInspectorPresenter = new Presenters.Postprocessing.StateInspectorVisualizer.StateInspectorPresenter(
                view,
                stateInspectorModel,
                app.Model.Postprocessing.ShortNames,
                app.Model.SourcesManager,
                app.Presentation.LoadedMessages,
                app.Model.Bookmarks,
                app.Model.Threads,
                app.Presentation.Facade,
                app.Presentation.ClipboardAccess,
                app.Presentation.SourcesManager
                );
            FormCreated?.Invoke(this, new PostprocessorOutputFormCreatedEventArgs(ViewControlId.StateInspector, stateInspectorForm, stateInspectorPresenter));
        }
        void EnsureTimeSeriesInitialized()
        {
            if (timeSeriesForm != null)
            {
                return;
            }

            var viewObjects = CreateTimeSeriesViewObjects();

            timeSeriesForm = viewObjects.Item1;
            var view = viewObjects.Item2;

            timeSeriesModel = new LogJoint.Postprocessing.TimeSeries.TimelineVisualizerModel(
                app.Model.Postprocessing.PostprocessorsManager,
                app.Model.SourcesManager,
                app.Model.Postprocessing.ShortNames,
                app.Model.Postprocessing.LogSourceNamesProvider
                );
            timeSeriesPresenter = new Presenters.Postprocessing.TimeSeriesVisualizer.TimeSeriesVisualizerPresenter(
                timeSeriesModel,
                view,
                new Presenters.Postprocessing.Common.PresentationObjectsFactory(app.Model.Postprocessing.PostprocessorsManager, app.Model.SourcesManager),
                app.Presentation.LoadedMessages.LogViewerPresenter,
                app.Model.Bookmarks,
                app.Presentation.Facade
                );
            FormCreated?.Invoke(this, new PostprocessorOutputFormCreatedEventArgs(ViewControlId.TimeSeries, timeSeriesForm, timeSeriesPresenter));
        }
        void EnsureSequenceDiagramInitialized()
        {
            if (sequenceDiagramForm != null)
            {
                return;
            }

            EnsureStateInspectorInitialized();

            var viewObjects = CreateSequenceDiagramViewObjects();

            sequenceDiagramForm = viewObjects.Item1;
            var view = viewObjects.Item2;

            sequenceDiagramModel = new LogJoint.Postprocessing.SequenceDiagram.SequenceDiagramVisualizerModel(
                app.Model.Postprocessing.PostprocessorsManager,
                app.Model.SourcesManager,
                app.Model.Postprocessing.ShortNames,
                app.Model.Postprocessing.LogSourceNamesProvider
                );
            sequenceDiagramPresenter = new Presenters.Postprocessing.SequenceDiagramVisualizer.SequenceDiagramVisualizerPresenter(
                sequenceDiagramModel,
                view,
                stateInspectorPresenter,
                new Presenters.Postprocessing.Common.PresentationObjectsFactory(app.Model.Postprocessing.PostprocessorsManager, app.Model.SourcesManager),
                app.Presentation.LoadedMessages,
                app.Model.Bookmarks,
                app.Model.StorageManager,
                app.Presentation.Facade,
                app.Model.Postprocessing.ShortNames
                );
            FormCreated?.Invoke(this, new PostprocessorOutputFormCreatedEventArgs(ViewControlId.Sequence, sequenceDiagramForm, sequenceDiagramPresenter));
        }
Beispiel #6
0
        void EnsureSequenceDiagramInitialized()
        {
            if (sequenceDiagramForm != null)
            {
                return;
            }

            EnsureStateInspectorInitialized();

            var viewObjects = postprocessingViewsFactory.CreateSequenceDiagramViewObjects();

            sequenceDiagramForm = viewObjects.Item1;
            var view = viewObjects.Item2;

            sequenceDiagramModel = new LogJoint.Postprocessing.SequenceDiagram.SequenceDiagramVisualizerModel(
                postprocessorsManager,
                logSourcesManager,
                shortNames,
                logSourceNamesProvider,
                changeNotification
                );
            sequenceDiagramPresenter = new SequenceDiagramVisualizer.SequenceDiagramVisualizerPresenter(
                sequenceDiagramModel,
                view,
                stateInspectorPresenter,
                new Common.PresentationObjectsFactory(postprocessorsManager, logSourcesManager, changeNotification, alerts),
                loadedMessagesPresenter,
                bookmarks,
                storageManager,
                presentersFacade,
                shortNames,
                changeNotification,
                colorTheme
                );
            FormCreated?.Invoke(this, new PostprocessorOutputFormCreatedEventArgs(ViewControlId.Sequence, sequenceDiagramForm, sequenceDiagramPresenter));
        }