From 54e9da81f331216dd021dd4164db2811f28c6f33 Mon Sep 17 00:00:00 2001
From: Sunil Shetye
Date: Fri, 24 Aug 2018 13:19:45 +0530
Subject: get the title from the definition

---
 js/Misc/AUTOMAT.js            | 4 ++++
 js/Misc/BACKLASH.js           | 4 ++++
 js/Misc/BOUNCE.js             | 4 ++++
 js/Misc/BOUNCEXY.js           | 4 ++++
 js/Misc/BPLATFORM.js          | 4 ++++
 js/Misc/CBLOCK.js             | 4 ++++
 js/Misc/CBLOCK4.js            | 4 ++++
 js/Misc/CONSTRAINT2_c.js      | 4 ++++
 js/Misc/CONSTRAINT_c.js       | 4 ++++
 js/Misc/DEADBAND.js           | 4 ++++
 js/Misc/DEBUG.js              | 4 ++++
 js/Misc/DEBUG_SCICOS.js       | 4 ++++
 js/Misc/DIFF_f.js             | 4 ++++
 js/Misc/DSUPER.js             | 4 ++++
 js/Misc/EDGETRIGGER.js        | 4 ++++
 js/Misc/EDGE_TRIGGER.js       | 4 ++++
 js/Misc/ENDBLK.js             | 4 ++++
 js/Misc/Extract_Activation.js | 4 ++++
 js/Misc/HYSTHERESIS.js        | 4 ++++
 js/Misc/IMPSPLIT_f.js         | 4 ++++
 js/Misc/LOGICAL_OP.js         | 4 ++++
 js/Misc/MBLOCK.js             | 4 ++++
 js/Misc/MEMORY_f.js           | 4 ++++
 js/Misc/MPBLOCK.js            | 4 ++++
 js/Misc/PAL_f.js              | 4 ++++
 js/Misc/PENDULUM_ANIM.js      | 4 ++++
 js/Misc/RATELIMITER.js        | 4 ++++
 js/Misc/RELATIONALOP.js       | 4 ++++
 js/Misc/SPLIT_f.js            | 4 ++++
 js/Misc/SUPER_f.js            | 4 ++++
 js/Misc/TEXT_f.js             | 4 ++++
 js/Misc/c_block.js            | 4 ++++
 js/Misc/fortran_block.js      | 4 ++++
 js/Misc/func_block.js         | 4 ++++
 js/Misc/generic_block.js      | 4 ++++
 js/Misc/generic_block2.js     | 4 ++++
 js/Misc/generic_block3.js     | 4 ++++
 js/Misc/scifunc_block.js      | 4 ++++
 js/Misc/scifunc_block_m.js    | 4 ++++
 39 files changed, 156 insertions(+)

(limited to 'js/Misc')

diff --git a/js/Misc/AUTOMAT.js b/js/Misc/AUTOMAT.js
index 0125a535..2603b806 100644
--- a/js/Misc/AUTOMAT.js
+++ b/js/Misc/AUTOMAT.js
@@ -137,4 +137,8 @@ function AUTOMAT() {
         }
         return new BasicBlock(this.x);
     }
+    AUTOMAT.prototype.get_popup_title = function AUTOMAT() {
+        var set_param_popup_title = "Set parameters";
+        return set_param_popup_title;
+    }
 }
diff --git a/js/Misc/BACKLASH.js b/js/Misc/BACKLASH.js
index c13500ce..0656e789 100644
--- a/js/Misc/BACKLASH.js
+++ b/js/Misc/BACKLASH.js
@@ -53,4 +53,8 @@ function BACKLASH() {
         }
         return new BasicBlock(this.x);
     }
+    BACKLASH.prototype.get_popup_title = function BACKLASH() {
+        var set_param_popup_title = "Set backlash parameters";
+        return set_param_popup_title;
+    }
 }
diff --git a/js/Misc/BOUNCE.js b/js/Misc/BOUNCE.js
index 2b5e2c06..5e99ad2f 100644
--- a/js/Misc/BOUNCE.js
+++ b/js/Misc/BOUNCE.js
@@ -130,4 +130,8 @@ function BOUNCE() {
         }
         return new BasicBlock(this.x);
     }
+    BOUNCE.prototype.get_popup_title = function BOUNCE() {
+        var set_param_popup_title = "Set Bounce Block";
+        return set_param_popup_title;
+    }
 }
diff --git a/js/Misc/BOUNCEXY.js b/js/Misc/BOUNCEXY.js
index 56d24cae..6fccc308 100644
--- a/js/Misc/BOUNCEXY.js
+++ b/js/Misc/BOUNCEXY.js
@@ -110,4 +110,8 @@ function BOUNCEXY() {
         }
         return new BasicBlock(this.x);
     }
+    BOUNCEXY.prototype.get_popup_title = function BOUNCEXY() {
+        var set_param_popup_title = "Set Scope parameters";
+        return set_param_popup_title;
+    }
 }
diff --git a/js/Misc/BPLATFORM.js b/js/Misc/BPLATFORM.js
index 38230026..a388f123 100644
--- a/js/Misc/BPLATFORM.js
+++ b/js/Misc/BPLATFORM.js
@@ -78,4 +78,8 @@ function BPLATFORM() {
         }
         return new BasicBlock(this.x);
     }
+    BPLATFORM.prototype.get_popup_title = function BPLATFORM() {
+        var set_param_popup_title = "Set Scope parameters";
+        return set_param_popup_title;
+    }
 }
diff --git a/js/Misc/CBLOCK.js b/js/Misc/CBLOCK.js
index 05401ed7..9bd6992a 100644
--- a/js/Misc/CBLOCK.js
+++ b/js/Misc/CBLOCK.js
@@ -164,4 +164,8 @@ function CBLOCK() {
         }
         return new BasicBlock(this.x);
     }
+    CBLOCK.prototype.get_popup_title = function CBLOCK() {
+        var set_param_popup_title = "Set C-Block2 block parameters";
+        return set_param_popup_title;
+    }
 }
diff --git a/js/Misc/CBLOCK4.js b/js/Misc/CBLOCK4.js
index 1a51633b..19dc8fa3 100644
--- a/js/Misc/CBLOCK4.js
+++ b/js/Misc/CBLOCK4.js
@@ -156,4 +156,8 @@ function CBLOCK4() {
         }
         return new BasicBlock(this.x);
     }
+    CBLOCK4.prototype.get_popup_title = function CBLOCK4() {
+        var set_param_popup_title = "Set C-Block4 block parameters";
+        return set_param_popup_title;
+    }
 }
diff --git a/js/Misc/CONSTRAINT2_c.js b/js/Misc/CONSTRAINT2_c.js
index 01675ac1..b1a500bb 100644
--- a/js/Misc/CONSTRAINT2_c.js
+++ b/js/Misc/CONSTRAINT2_c.js
@@ -79,4 +79,8 @@ function CONSTRAINT2_c() {
         }
         return new BasicBlock(this.x);
     }
+    CONSTRAINT2_c.prototype.get_popup_title = function CONSTRAINT2_c() {
+        var set_param_popup_title = "Set Constraint block parameters";
+        return set_param_popup_title;
+    }
 }
diff --git a/js/Misc/CONSTRAINT_c.js b/js/Misc/CONSTRAINT_c.js
index f48f637e..589bba95 100644
--- a/js/Misc/CONSTRAINT_c.js
+++ b/js/Misc/CONSTRAINT_c.js
@@ -56,4 +56,8 @@ function CONSTRAINT_c() {
         }
         return new BasicBlock(this.x);
     }
+    CONSTRAINT_c.prototype.get_popup_title = function CONSTRAINT_c() {
+        var set_param_popup_title = "Set solver block parameters";
+        return set_param_popup_title;
+    }
 }
diff --git a/js/Misc/DEADBAND.js b/js/Misc/DEADBAND.js
index a0e06241..355c7f87 100644
--- a/js/Misc/DEADBAND.js
+++ b/js/Misc/DEADBAND.js
@@ -60,4 +60,8 @@ function DEADBAND() {
         }
         return new BasicBlock(this.x);
     }
+    DEADBAND.prototype.get_popup_title = function DEADBAND() {
+        var set_param_popup_title = "Set Deadband parameters";
+        return set_param_popup_title;
+    }
 }
diff --git a/js/Misc/DEBUG.js b/js/Misc/DEBUG.js
index d1d6a432..c9816c9b 100644
--- a/js/Misc/DEBUG.js
+++ b/js/Misc/DEBUG.js
@@ -49,4 +49,8 @@ function DEBUG() {
         }
         return new BasicBlock(this.x);
     }
+    DEBUG.prototype.get_popup_title = function DEBUG() {
+        var set_param_popup_title = "Set parameters";
+        return set_param_popup_title;
+    }
 }
diff --git a/js/Misc/DEBUG_SCICOS.js b/js/Misc/DEBUG_SCICOS.js
index ecb3e0ae..384a6ac7 100644
--- a/js/Misc/DEBUG_SCICOS.js
+++ b/js/Misc/DEBUG_SCICOS.js
@@ -16,4 +16,8 @@ function DEBUG_SCICOS() {
         var typ = tmpvar0[2];
         return new BasicBlock(this.x);
     }
+    DEBUG_SCICOS.prototype.get_popup_title = function DEBUG_SCICOS() {
+        var set_param_popup_title = "Set parameters";
+        return set_param_popup_title;
+    }
 }
diff --git a/js/Misc/DIFF_f.js b/js/Misc/DIFF_f.js
index e5c64927..a7693fbf 100644
--- a/js/Misc/DIFF_f.js
+++ b/js/Misc/DIFF_f.js
@@ -42,4 +42,8 @@ function DIFF_f() {
         this.x.model.firing = [];
         return new BasicBlock(this.x);
     }
+    DIFF_f.prototype.get_popup_title = function DIFF_f() {
+        var set_param_popup_title = "Set continuous linear system parameters";
+        return set_param_popup_title;
+    }
 }
diff --git a/js/Misc/DSUPER.js b/js/Misc/DSUPER.js
index ce9ea810..3e740768 100644
--- a/js/Misc/DSUPER.js
+++ b/js/Misc/DSUPER.js
@@ -50,4 +50,8 @@ function DSUPER() {
         }
         return new BasicBlock(this.x);
     }
+    DSUPER.prototype.get_popup_title = function DSUPER() {
+        var set_param_popup_title = "Set parameters";
+        return set_param_popup_title;
+    }
 }
diff --git a/js/Misc/EDGETRIGGER.js b/js/Misc/EDGETRIGGER.js
index cb318610..f625b76c 100644
--- a/js/Misc/EDGETRIGGER.js
+++ b/js/Misc/EDGETRIGGER.js
@@ -41,4 +41,8 @@ function EDGETRIGGER() {
         }
         return new BasicBlock(this.x);
     }
+    EDGETRIGGER.prototype.get_popup_title = function EDGETRIGGER() {
+        var set_param_popup_title = "Set edge trigger block parameters";
+        return set_param_popup_title;
+    }
 }
diff --git a/js/Misc/EDGE_TRIGGER.js b/js/Misc/EDGE_TRIGGER.js
index e4cc4f37..5f7b9040 100644
--- a/js/Misc/EDGE_TRIGGER.js
+++ b/js/Misc/EDGE_TRIGGER.js
@@ -152,4 +152,8 @@ function EDGE_TRIGGER() {
         var typ = newpar;
         return new BasicBlock(this.x);
     }
+    EDGE_TRIGGER.prototype.get_popup_title = function EDGE_TRIGGER() {
+        var set_param_popup_title = "Set parameters";
+        return set_param_popup_title;
+    }
 }
diff --git a/js/Misc/ENDBLK.js b/js/Misc/ENDBLK.js
index 23ce92be..d28f61a1 100644
--- a/js/Misc/ENDBLK.js
+++ b/js/Misc/ENDBLK.js
@@ -80,4 +80,8 @@ function ENDBLK() {
         var typ = newpar;
         return new BasicBlock(this.x);
     }
+    ENDBLK.prototype.get_popup_title = function ENDBLK() {
+        var set_param_popup_title = "Set parameters";
+        return set_param_popup_title;
+    }
 }
diff --git a/js/Misc/Extract_Activation.js b/js/Misc/Extract_Activation.js
index eea51aaf..5a5d062e 100644
--- a/js/Misc/Extract_Activation.js
+++ b/js/Misc/Extract_Activation.js
@@ -95,4 +95,8 @@ function Extract_Activation() {
     Extract_Activation.prototype.set = function Extract_Activation() {
         return new BasicBlock(this.x);
     }
+    Extract_Activation.prototype.get_popup_title = function Extract_Activation() {
+        var set_param_popup_title = "Set parameters";
+        return set_param_popup_title;
+    }
 }
diff --git a/js/Misc/HYSTHERESIS.js b/js/Misc/HYSTHERESIS.js
index 1dbed3e8..e96ec98d 100644
--- a/js/Misc/HYSTHERESIS.js
+++ b/js/Misc/HYSTHERESIS.js
@@ -61,4 +61,8 @@ function HYSTHERESIS() {
         }
         return new BasicBlock(this.x);
     }
+    HYSTHERESIS.prototype.get_popup_title = function HYSTHERESIS() {
+        var set_param_popup_title = "Set parameters";
+        return set_param_popup_title;
+    }
 }
diff --git a/js/Misc/IMPSPLIT_f.js b/js/Misc/IMPSPLIT_f.js
index 70a28349..119f14d6 100644
--- a/js/Misc/IMPSPLIT_f.js
+++ b/js/Misc/IMPSPLIT_f.js
@@ -24,4 +24,8 @@ function IMPSPLIT_f() {
     IMPSPLIT_f.prototype.set = function IMPSPLIT_f() {
         return new BasicBlock(this.x);
     }
+    IMPSPLIT_f.prototype.get_popup_title = function IMPSPLIT_f() {
+        var set_param_popup_title = "Set parameters";
+        return set_param_popup_title;
+    }
 }
diff --git a/js/Misc/LOGICAL_OP.js b/js/Misc/LOGICAL_OP.js
index 02de4be4..edf34cca 100644
--- a/js/Misc/LOGICAL_OP.js
+++ b/js/Misc/LOGICAL_OP.js
@@ -131,4 +131,8 @@ function LOGICAL_OP() {
         }
         return new BasicBlock(this.x);
     }
+    LOGICAL_OP.prototype.get_popup_title = function LOGICAL_OP() {
+        var set_param_popup_title = "Set parameters";
+        return set_param_popup_title;
+    }
 }
diff --git a/js/Misc/MBLOCK.js b/js/Misc/MBLOCK.js
index 5612ef4a..f0550d85 100644
--- a/js/Misc/MBLOCK.js
+++ b/js/Misc/MBLOCK.js
@@ -296,4 +296,8 @@ function MBLOCK() {
         }
         return new BasicBlock(this.x);
     }
+    MBLOCK.prototype.get_popup_title = function MBLOCK() {
+        var set_param_popup_title = "Set Modelica generic block parameters";
+        return set_param_popup_title;
+    }
 }
diff --git a/js/Misc/MEMORY_f.js b/js/Misc/MEMORY_f.js
index 8edcc38f..6d423838 100644
--- a/js/Misc/MEMORY_f.js
+++ b/js/Misc/MEMORY_f.js
@@ -63,4 +63,8 @@ function MEMORY_f() {
         }
         return new BasicBlock(this.x);
     }
+    MEMORY_f.prototype.get_popup_title = function MEMORY_f() {
+        var set_param_popup_title = "Set memory block parameters";
+        return set_param_popup_title;
+    }
 }
diff --git a/js/Misc/MPBLOCK.js b/js/Misc/MPBLOCK.js
index 1c5aed9b..7afd3924 100644
--- a/js/Misc/MPBLOCK.js
+++ b/js/Misc/MPBLOCK.js
@@ -278,4 +278,8 @@ function MPBLOCK() {
         }
         return new BasicBlock(this.x);
     }
+    MPBLOCK.prototype.get_popup_title = function MPBLOCK() {
+        var set_param_popup_title = "Set parameters";
+        return set_param_popup_title;
+    }
 }
diff --git a/js/Misc/PAL_f.js b/js/Misc/PAL_f.js
index 605f3afb..768538a7 100644
--- a/js/Misc/PAL_f.js
+++ b/js/Misc/PAL_f.js
@@ -31,4 +31,8 @@ function PAL_f() {
         %exit = resume(false)
         return new BasicBlock(this.x);
     }
+    PAL_f.prototype.get_popup_title = function PAL_f() {
+        var set_param_popup_title = "Set parameters";
+        return set_param_popup_title;
+    }
 }
diff --git a/js/Misc/PENDULUM_ANIM.js b/js/Misc/PENDULUM_ANIM.js
index 36570c2d..005a8879 100644
--- a/js/Misc/PENDULUM_ANIM.js
+++ b/js/Misc/PENDULUM_ANIM.js
@@ -78,4 +78,8 @@ function PENDULUM_ANIM() {
         }
         return new BasicBlock(this.x);
     }
+    PENDULUM_ANIM.prototype.get_popup_title = function PENDULUM_ANIM() {
+        var set_param_popup_title = "Set Scope parameters";
+        return set_param_popup_title;
+    }
 }
diff --git a/js/Misc/RATELIMITER.js b/js/Misc/RATELIMITER.js
index df753c2e..ca198476 100644
--- a/js/Misc/RATELIMITER.js
+++ b/js/Misc/RATELIMITER.js
@@ -49,4 +49,8 @@ function RATELIMITER() {
         }
         return new BasicBlock(this.x);
     }
+    RATELIMITER.prototype.get_popup_title = function RATELIMITER() {
+        var set_param_popup_title = "Set rate limiter parameters";
+        return set_param_popup_title;
+    }
 }
diff --git a/js/Misc/RELATIONALOP.js b/js/Misc/RELATIONALOP.js
index 4febec77..a291f63d 100644
--- a/js/Misc/RELATIONALOP.js
+++ b/js/Misc/RELATIONALOP.js
@@ -104,4 +104,8 @@ function RELATIONALOP() {
         }
         return new BasicBlock(this.x);
     }
+    RELATIONALOP.prototype.get_popup_title = function RELATIONALOP() {
+        var set_param_popup_title = "Set parameters";
+        return set_param_popup_title;
+    }
 }
diff --git a/js/Misc/SPLIT_f.js b/js/Misc/SPLIT_f.js
index 55f148eb..4bd6cd0f 100644
--- a/js/Misc/SPLIT_f.js
+++ b/js/Misc/SPLIT_f.js
@@ -19,4 +19,8 @@ function SPLIT_f() {
     SPLIT_f.prototype.set = function SPLIT_f() {
         return new BasicBlock(this.x);
     }
+    SPLIT_f.prototype.get_popup_title = function SPLIT_f() {
+        var set_param_popup_title = "Set parameters";
+        return set_param_popup_title;
+    }
 }
diff --git a/js/Misc/SUPER_f.js b/js/Misc/SUPER_f.js
index 06795b41..6e590b1b 100644
--- a/js/Misc/SUPER_f.js
+++ b/js/Misc/SUPER_f.js
@@ -31,4 +31,8 @@ function SUPER_f() {
     SUPER_f.prototype.set = function SUPER_f() {
         return new SuperBlock(this.x);
     }
+    SUPER_f.prototype.get_popup_title = function SUPER_f() {
+        var set_param_popup_title = "Set parameters";
+        return set_param_popup_title;
+    }
 }
diff --git a/js/Misc/TEXT_f.js b/js/Misc/TEXT_f.js
index 36ae5150..502c5211 100644
--- a/js/Misc/TEXT_f.js
+++ b/js/Misc/TEXT_f.js
@@ -74,4 +74,8 @@ function TEXT_f() {
         }
         return new TextBlock(this.x);
     }
+    TEXT_f.prototype.get_popup_title = function TEXT_f() {
+        var set_param_popup_title = "Set Text block parameters";
+        return set_param_popup_title;
+    }
 }
diff --git a/js/Misc/c_block.js b/js/Misc/c_block.js
index f435472c..97ce52d1 100644
--- a/js/Misc/c_block.js
+++ b/js/Misc/c_block.js
@@ -88,4 +88,8 @@ function c_block() {
         }
         return new BasicBlock(this.x);
     }
+    c_block.prototype.get_popup_title = function c_block() {
+        var set_param_popup_title = "Set C_block parameters";
+        return set_param_popup_title;
+    }
 }
diff --git a/js/Misc/fortran_block.js b/js/Misc/fortran_block.js
index 6d282574..38be4adc 100644
--- a/js/Misc/fortran_block.js
+++ b/js/Misc/fortran_block.js
@@ -79,4 +79,8 @@ function fortran_block() {
         }
         return new BasicBlock(this.x);
     }
+    fortran_block.prototype.get_popup_title = function fortran_block() {
+        var set_param_popup_title = "Set fortran_block parameters";
+        return set_param_popup_title;
+    }
 }
diff --git a/js/Misc/func_block.js b/js/Misc/func_block.js
index fba85e3e..a8e7a333 100644
--- a/js/Misc/func_block.js
+++ b/js/Misc/func_block.js
@@ -33,4 +33,8 @@ function func_block() {
         }
         return new BasicBlock(this.x);
     }
+    func_block.prototype.get_popup_title = function func_block() {
+        var set_param_popup_title = "Set parameters";
+        return set_param_popup_title;
+    }
 }
diff --git a/js/Misc/generic_block.js b/js/Misc/generic_block.js
index 233f653a..01ccc1b0 100644
--- a/js/Misc/generic_block.js
+++ b/js/Misc/generic_block.js
@@ -126,4 +126,8 @@ function generic_block() {
         needcompile = resume(needcompile)
         return new BasicBlock(this.x);
     }
+    generic_block.prototype.get_popup_title = function generic_block() {
+        var set_param_popup_title = "Set GENERIC block parameters";
+        return set_param_popup_title;
+    }
 }
diff --git a/js/Misc/generic_block2.js b/js/Misc/generic_block2.js
index 98432b66..463f15cf 100644
--- a/js/Misc/generic_block2.js
+++ b/js/Misc/generic_block2.js
@@ -132,4 +132,8 @@ function generic_block2() {
         needcompile = resume(needcompile)
         return new BasicBlock(this.x);
     }
+    generic_block2.prototype.get_popup_title = function generic_block2() {
+        var set_param_popup_title = "Set GENERIC block parameters";
+        return set_param_popup_title;
+    }
 }
diff --git a/js/Misc/generic_block3.js b/js/Misc/generic_block3.js
index d5728743..55cdf65f 100644
--- a/js/Misc/generic_block3.js
+++ b/js/Misc/generic_block3.js
@@ -146,4 +146,8 @@ function generic_block3() {
         needcompile = resume(needcompile)
         return new BasicBlock(this.x);
     }
+    generic_block3.prototype.get_popup_title = function generic_block3() {
+        var set_param_popup_title = "Set GENERIC block parameters";
+        return set_param_popup_title;
+    }
 }
diff --git a/js/Misc/scifunc_block.js b/js/Misc/scifunc_block.js
index ec4e6ef3..9da74f19 100644
--- a/js/Misc/scifunc_block.js
+++ b/js/Misc/scifunc_block.js
@@ -117,4 +117,8 @@ function scifunc_block() {
         needcompile = resume(needcompile)
         return new BasicBlock(this.x);
     }
+    scifunc_block.prototype.get_popup_title = function scifunc_block() {
+        var set_param_popup_title = "Set scifunc_block parameters";
+        return set_param_popup_title;
+    }
 }
diff --git a/js/Misc/scifunc_block_m.js b/js/Misc/scifunc_block_m.js
index a93fb549..e4954df0 100644
--- a/js/Misc/scifunc_block_m.js
+++ b/js/Misc/scifunc_block_m.js
@@ -119,4 +119,8 @@ function scifunc_block_m() {
         needcompile = resume(needcompile)
         return new BasicBlock(this.x);
     }
+    scifunc_block_m.prototype.get_popup_title = function scifunc_block_m() {
+        var set_param_popup_title = "Set scifunc_block parameters";
+        return set_param_popup_title;
+    }
 }
-- 
cgit