Example #1
0
        public MainViewModel(ProfilerPluginBase pluginContext)
            : base(pluginContext)
        {
            if (Designer.IsInDesignModeStatic)
            {
                return;
            }

            ThisGuiModelData = new MainGuiModel();
            setActions();
        }
Example #2
0
        public MainViewModel(ProfilerPluginBase pluginContext)
            : base(pluginContext)
        {
            if (Designer.IsInDesignModeStatic)
            {
                return;
            }

            setActions();
            setGuiModel();
            setEvenets();
        }
Example #3
0
        public MainViewModel(ProfilerPluginBase pluginContext)
            : base(pluginContext)
        {
            if (Designer.IsInDesignModeStatic)
            {
                return;
            }

            setActions();
            setGuiModel();
            _callbacksManager = new CallbacksManagerBase(PluginContext, GuiModelData);
            setEvenets();
        }
Example #4
0
        public MainViewModel(ProfilerPluginBase pluginContext)
            : base(pluginContext)
        {
            if (Designer.IsInDesignModeStatic)
            {
                return;
            }

            ThisGuiModelData = new MainGuiModel();
            ThisGuiModelData.PropertyChanged += ThisGuiModelData_PropertyChanged;
            setActions();
            setEvenets();
        }
Example #5
0
        public ChartsViewModelBase(ProfilerPluginBase pluginContext)
            : base(pluginContext)
        {
            if (Designer.IsInDesignModeStatic)
            {
                return;
            }

            CallbacksManagerBase          = new CallbacksManagerBase(PluginContext, GuiModelData);
            GuiModelData.PropertyChanged += GuiModelData_PropertyChanged;
            CustomTooltipProvider         = new CustomTooltipProvider {
                GetCustomTooltip = GetCustomTooltip
            };
        }
Example #6
0
        public MainViewModel(ProfilerPluginBase pluginContext)
            : base(pluginContext)
        {
            if (Designer.IsInDesignModeStatic)
            {
                return;
            }

            manageAppExit();
            initThisGuiModelData();
            setActions();
            setEvenets();
            setCommands();
            setDirectoryMonitor();
        }
Example #7
0
        public MainViewModelBase(ProfilerPluginBase pluginContext)
        {
            if (Designer.IsInDesignModeStatic)
            {
                return;
            }

            PluginContext        = pluginContext;
            GuiModelData         = new GuiModelBase();
            DoOpenFile           = new DelegateCommand <CallingMethodInfo>(OpenFile, info => true);
            DoCopySelectedLine   = new DelegateCommand <object>(CopySelectedLine, info => true);
            DoCopyAllLines       = new DelegateCommand <object>(CopyAllLines, info => true);
            DoOpenPopupToolTip   = new DelegateCommand <object>(OpenPopupToolTip, info => true);
            DoOpenCommandToolTip = new DelegateCommand <Command>(OpenCommandToolTip, info => true);
            PluginContext.ProfilerData.ApplicationIdentities.CollectionChanged += ApplicationIdentities_CollectionChanged;
        }
Example #8
0
        public MainViewModel(ProfilerPluginBase pluginContext)
            : base(pluginContext)
        {
            if (Designer.IsInDesignModeStatic)
            {
                return;
            }

            SetActions();
            setEvenets();

            GuiModelData.PlotModel.Title = "Commands By Rows Returned";
            AddXAxis("Command (Id)");
            AddYAxis("Rows Returned");
            InitPlotModelEvents();
            InitUpdatePlotInterval();
        }
Example #9
0
        public MainViewModel(ProfilerPluginBase pluginContext)
            : base(pluginContext)
        {
            if (Designer.IsInDesignModeStatic)
            {
                return;
            }

            SetActions();
            setEvenets();

            GuiModelData.PlotModel.Title = "Commands Time Line";
            AddXAxis("Time (seconds)");
            AddYAxis("Commands Count");
            InitPlotModelEvents();
            InitUpdatePlotInterval();
        }
Example #10
0
 public CallbacksManager(ProfilerPluginBase pluginContext, GuiModelBase guiModelData)
     : base(pluginContext, guiModelData)
 {
 }
Example #11
0
 public Main(ProfilerPluginBase pluginContext)
 {
     InitializeComponent();
     this.DataContext = new MainViewModel(pluginContext);
 }
 public CallbacksManagerBase(ProfilerPluginBase pluginContext, GuiModelBase guiModelData)
 {
     PluginContext = pluginContext;
     GuiModelData  = guiModelData;
 }
Example #13
0
 public ProjectReleasesLoader(ProfilerPluginBase context, MainGuiModel mainGuiModel)
 {
     _context      = context;
     _mainGuiModel = mainGuiModel;
 }
Example #14
0
 public JsonLoader(ProfilerPluginBase context, MainGuiModel mainGuiModel)
 {
     _context      = context;
     _mainGuiModel = mainGuiModel;
 }