Class: ControlManager

ControlManager

new epiviz.ui.ControlManager(config, chartFactory, chartManager, measurementsManager, locationManager)

ui/control-manager.js, line 27
Name Type Description
config epiviz.Config
chartFactory epiviz.ui.charts.ChartFactory
chartManager epiviz.ui.charts.ChartManager
measurementsManager epiviz.measurements.MeasurementsManager
locationManager epiviz.ui.LocationManager

Members

static,constantepiviz.ui.ControlManager.CHART_TYPE_CONTAINERSObject.<epiviz.ui.charts.VisualizationType.DisplayType, string>

static,constantepiviz.ui.ControlManager.DISPLAY_TYPE_LABELSObject.<epiviz.ui.charts.VisualizationType.DisplayType, string>

Methods

onActiveWorkspaceChanged(){epiviz.events.Event.<{oldValue: {id: string, name: string}, newValue: {id: string, name: string}}>}

ui/control-manager.js, line 207
Returns:
Type Description
epiviz.events.Event.<{oldValue: {id: string, name: string}, newValue: {id: string, name: string}}>

onAddChart(){epiviz.events.Event.<{type: epiviz.ui.charts.ChartType, visConfigSelection: epiviz.ui.controls.VisConfigSelection}>}

ui/control-manager.js, line 202
Returns:
Type Description
epiviz.events.Event.<{type: epiviz.ui.charts.ChartType, visConfigSelection: epiviz.ui.controls.VisConfigSelection}>

onDeleteActiveWorkspace(){epiviz.events.Event}

ui/control-manager.js, line 217
Returns:
Type Description
epiviz.events.Event

onLoginLinkClicked(){epiviz.events.Event}

ui/control-manager.js, line 227
Returns:
Type Description
epiviz.events.Event

onRevertActiveWorkspace(){epiviz.events.Event}

ui/control-manager.js, line 222
Returns:
Type Description
epiviz.events.Event

onSaveWorkspace(){epiviz.events.Event.<{name: string, id: ?string}>}

ui/control-manager.js, line 212
Returns:
Type Description
epiviz.events.Event.<{name: string, id: ?string}>

onSearch(){epiviz.events.Event.<{searchTerm: string, callback: (function(Array.<{probe: string, gene: string, seqName: string, start: number, end: number}>))}>}

ui/control-manager.js, line 237
Returns:
Type Description
epiviz.events.Event.<{searchTerm: string, callback: (function(Array.<{probe: string, gene: string, seqName: string, start: number, end: number}>))}>

onSearchWorkspaces(){epiviz.events.Event.<{searchTerm: string, callback: (function(Array))}>}

ui/control-manager.js, line 232
Returns:
Type Description
epiviz.events.Event.<{searchTerm: string, callback: (function(Array))}>

updateSelectedWorkspace(workspaceInfo)

ui/control-manager.js, line 286
Name Type Description
workspaceInfo Object
comments powered by Disqus