Added status support to plots

This commit is contained in:
Henry
2016-07-25 16:55:27 -04:00
parent a4f6f6f50b
commit 1b7fc57d21
3 changed files with 15 additions and 2 deletions

View File

@ -239,6 +239,7 @@ define(
setBasePanZoom(bounds);
requery();
}
self.updateStatus($scope.domainObject, follow);
}
this.modeOptions = new PlotModeOptions([], subPlotFactory);
@ -369,6 +370,12 @@ define(
return this.pending;
};
PlotController.prototype.updateStatus = function (domainObject, follow) {
if (domainObject.hasCapability('status')) {
domainObject.getCapability('status').set('timeconductor-unsynced', follow && this.isZoomed());
}
};
return PlotController;
}
);