C# Class Microsoft.R.Components.Plots.Implementation.ViewModel.RPlotDeviceViewModel

Inheritance: BindableBase, IRPlotDeviceViewModel
Show file Open project: Microsoft/RTVS

Public Methods

Method Description
Assign ( IRPlotDevice device ) : void
ClickPlot ( int pixelX, int pixelY ) : void
CopyPlotFromAsync ( System.Guid sourceDeviceId, System.Guid sourcePlotId, bool isMove ) : Task
EndLocatorMode ( ) : void
EndLocatorMode ( LocatorResult result ) : void
RPlotDeviceViewModel ( IRPlotManager plotManager, ICoreShell shell, int instanceId ) : System
ResizePlotAsync ( int pixelWidth, int pixelHeight, int resolution ) : Task
StartLocatorModeAsync ( CancellationToken ct ) : Task
Unassign ( ) : void

Private Methods

Method Description
Cleared ( object sender, EventArgs e ) : void
DeviceNumChanged ( object sender, RPlotDeviceEventArgs e ) : void
PlotAddedOrUpdated ( object sender, RPlotEventArgs e ) : void
Refresh ( IRPlot plot ) : void

Method Details

Assign() public method

public Assign ( IRPlotDevice device ) : void
device IRPlotDevice
return void

ClickPlot() public method

public ClickPlot ( int pixelX, int pixelY ) : void
pixelX int
pixelY int
return void

CopyPlotFromAsync() public method

public CopyPlotFromAsync ( System.Guid sourceDeviceId, System.Guid sourcePlotId, bool isMove ) : Task
sourceDeviceId System.Guid
sourcePlotId System.Guid
isMove bool
return Task

EndLocatorMode() public method

public EndLocatorMode ( ) : void
return void

EndLocatorMode() public method

public EndLocatorMode ( LocatorResult result ) : void
result Microsoft.R.Host.Client.LocatorResult
return void

RPlotDeviceViewModel() public method

public RPlotDeviceViewModel ( IRPlotManager plotManager, ICoreShell shell, int instanceId ) : System
plotManager IRPlotManager
shell ICoreShell
instanceId int
return System

ResizePlotAsync() public method

public ResizePlotAsync ( int pixelWidth, int pixelHeight, int resolution ) : Task
pixelWidth int
pixelHeight int
resolution int
return Task

StartLocatorModeAsync() public method

public StartLocatorModeAsync ( CancellationToken ct ) : Task
ct System.Threading.CancellationToken
return Task

Unassign() public method

public Unassign ( ) : void
return void