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/CMSCOPE.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'js/Sinks/CMSCOPE.js') diff --git a/js/Sinks/CMSCOPE.js b/js/Sinks/CMSCOPE.js index 2e4bebd8..a99952de 100644 --- a/js/Sinks/CMSCOPE.js +++ b/js/Sinks/CMSCOPE.js @@ -158,4 +158,20 @@ function CMSCOPE() { CMSCOPE.prototype.get_popup_title = function CMSCOPE() { return this.set_param_popup_title; } + CMSCOPE.prototype.importset = function CMSCOPE() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.in1 = ary[0]; + this.clrs = ary[1]; + this.win = ary[2]; + this.wpos = ary[3]; + this.wdim = ary[4]; + this.ymin = ary[5]; + this.ymax = ary[6]; + this.per = ary[7]; + this.N = ary[8]; + this.heritance = ary[9]; + this.nom = ary[10]; + } + CMSCOPE.prototype.getContainer = function CMSCOPE() { return new BasicBlock(this.x); } } -- cgit