Esempio n. 1
0
        public PlotHistoryCommand(IRInteractiveWorkflow interactiveWorkflow, IRPlotHistoryVisualComponent visualComponent) :
            base(interactiveWorkflow) {
            if (visualComponent == null) {
                throw new ArgumentNullException(nameof(visualComponent));
            }

            VisualComponent = visualComponent;
        }
Esempio n. 2
0
        public PlotHistoryCommand(IRInteractiveWorkflow interactiveWorkflow, IRPlotHistoryVisualComponent visualComponent) :
            base(interactiveWorkflow)
        {
            if (visualComponent == null)
            {
                throw new ArgumentNullException(nameof(visualComponent));
            }

            VisualComponent = visualComponent;
        }
Esempio n. 3
0
        public RPlotHistoryCommands(IRInteractiveWorkflow interactiveWorkflow, IRPlotHistoryVisualComponent visualComponent)
        {
            if (interactiveWorkflow == null)
            {
                throw new ArgumentNullException(nameof(interactiveWorkflow));
            }

            if (visualComponent == null)
            {
                throw new ArgumentNullException(nameof(visualComponent));
            }

            ZoomIn       = new PlotHistoryZoomInCommand(interactiveWorkflow, visualComponent);
            ZoomOut      = new PlotHistoryZoomOutCommand(interactiveWorkflow, visualComponent);
            AutoHide     = new PlotHistoryAutoHideCommand(interactiveWorkflow, visualComponent);
            Cut          = new PlotHistoryCutCopyCommand(interactiveWorkflow, visualComponent, cut: true);
            Copy         = new PlotHistoryCutCopyCommand(interactiveWorkflow, visualComponent, cut: false);
            Remove       = new PlotHistoryRemoveCommand(interactiveWorkflow, visualComponent);
            ActivatePlot = new PlotHistoryActivateCommand(interactiveWorkflow, visualComponent);
        }
Esempio n. 4
0
        public RPlotHistoryCommands(IRInteractiveWorkflow interactiveWorkflow, IRPlotHistoryVisualComponent visualComponent) {
            if (interactiveWorkflow == null) {
                throw new ArgumentNullException(nameof(interactiveWorkflow));
            }

            if (visualComponent == null) {
                throw new ArgumentNullException(nameof(visualComponent));
            }

            _interactiveWorkflow = interactiveWorkflow;
            _visualComponent = visualComponent;

            ZoomIn = new PlotHistoryZoomInCommand(_interactiveWorkflow, _visualComponent);
            ZoomOut = new PlotHistoryZoomOutCommand(_interactiveWorkflow, _visualComponent);
            AutoHide = new PlotHistoryAutoHideCommand(_interactiveWorkflow, _visualComponent);
            Cut = new PlotHistoryCutCopyCommand(_interactiveWorkflow, _visualComponent, cut: true);
            Copy = new PlotHistoryCutCopyCommand(_interactiveWorkflow, _visualComponent, cut: false);
            Remove = new PlotHistoryRemoveCommand(_interactiveWorkflow, _visualComponent);
            ActivatePlot = new PlotHistoryActivateCommand(_interactiveWorkflow, _visualComponent);
        }
Esempio n. 5
0
 public PlotHistoryAutoHideCommand(IRInteractiveWorkflow interactiveWorkflow, IRPlotHistoryVisualComponent visualComponent) :
     base(interactiveWorkflow, visualComponent)
 {
 }
 public PlotHistoryCutCopyCommand(IRInteractiveWorkflow interactiveWorkflow, IRPlotHistoryVisualComponent visualComponent, bool cut) :
     base(interactiveWorkflow, visualComponent)
 {
     _cut = cut;
 }
 public PlotHistoryActivateCommand(IRInteractiveWorkflow interactiveWorkflow, IRPlotHistoryVisualComponent visualComponent) :
     base(interactiveWorkflow, visualComponent) {
 }
Esempio n. 8
0
 protected PlotHistoryCommand(IRInteractiveWorkflow interactiveWorkflow, IRPlotHistoryVisualComponent visualComponent) :
     base(interactiveWorkflow)
 {
     Check.ArgumentNull(nameof(visualComponent), visualComponent);
     VisualComponent = visualComponent;
 }
 public PlotHistoryCutCopyCommand(IRInteractiveWorkflow interactiveWorkflow, IRPlotHistoryVisualComponent visualComponent, bool cut) :
     base(interactiveWorkflow, visualComponent) {
     _cut = cut;
 }
 protected PlotHistorySelectionCommand(IRInteractiveWorkflow interactiveWorkflow, IRPlotHistoryVisualComponent visualComponent)
     : base(interactiveWorkflow, visualComponent)
 {
 }