From f389f174481df676c841ebcc87a7b8b313921bbc Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Mon, 17 Sep 2018 16:11:31 +0530 Subject: add importset and getContainer to combined.js --- js/Sinks/CMATVIEW.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'js/Sinks/CMATVIEW.js') diff --git a/js/Sinks/CMATVIEW.js b/js/Sinks/CMATVIEW.js index c6933392..93f2a5fa 100644 --- a/js/Sinks/CMATVIEW.js +++ b/js/Sinks/CMATVIEW.js @@ -75,4 +75,12 @@ function CMATVIEW() { CMATVIEW.prototype.get_popup_title = function CMATVIEW() { return this.set_param_popup_title; } + CMATVIEW.prototype.importset = function CMATVIEW() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.colormap = ary[0]; + this.cmin = ary[1]; + this.cmax = ary[2]; + } + CMATVIEW.prototype.getContainer = function CMATVIEW() { return new BasicBlock(this.x); } } -- cgit