JAL-1807 includes ?j2sdebug flag and DebugJS._(msg)
[jalviewjs.git] / bin / jalview / appletgui / EditNameDialog.js
index efedf02..68044ad 100644 (file)
@@ -1,44 +1,44 @@
-Clazz.declarePackage ("jalview.appletgui");\r
-Clazz.load (["jalview.appletgui.JVDialog"], "jalview.appletgui.EditNameDialog", ["awt2swing.Label", "$.Panel", "$.TextField", "java.awt.BorderLayout", "$.Font"], function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.id = null;\r
-this.description = null;\r
-Clazz.instantialize (this, arguments);\r
-}, jalview.appletgui, "EditNameDialog", jalview.appletgui.JVDialog);\r
-Clazz.overrideMethod (c$, "getName", \r
-function () {\r
-return this.id.getText ();\r
-});\r
-Clazz.defineMethod (c$, "getDescription", \r
-function () {\r
-if (this.description.getText ().length < 1) {\r
-return null;\r
-} else {\r
-return this.description.getText ();\r
-}});\r
-Clazz.makeConstructor (c$, \r
-function (name, desc, label1, label2, owner, title, width, height, display) {\r
-Clazz.superConstructor (this, jalview.appletgui.EditNameDialog, [owner, title, true, width, height]);\r
-var mono =  new java.awt.Font ("Monospaced", 0, 12);\r
-var panel =  new awt2swing.Panel ( new java.awt.BorderLayout ());\r
-var panel2 =  new awt2swing.Panel ( new java.awt.BorderLayout ());\r
-this.id =  new awt2swing.TextField (name, 40);\r
-this.id.setFont (mono);\r
-var label =  new awt2swing.Label (label1);\r
-label.setFont (mono);\r
-panel2.add (label, "West");\r
-panel2.add (this.id, "Center");\r
-panel.add (panel2, "North");\r
-if (label2 != null) {\r
-panel2 =  new awt2swing.Panel ( new java.awt.BorderLayout ());\r
-this.description =  new awt2swing.TextField (desc, 40);\r
-this.description.setFont (mono);\r
-label =  new awt2swing.Label (label2);\r
-label.setFont (mono);\r
-panel2.add (label, "West");\r
-panel2.add (this.description, "Center");\r
-panel.add (panel2, "Center");\r
-}this.setMainPanel (panel);\r
-this.setVisible (display);\r
-}, "~S,~S,~S,~S,awt2swing.Frame,~S,~N,~N,~B");\r
-});\r
+Clazz.declarePackage ("jalview.appletgui");
+Clazz.load (["jalview.appletgui.JVDialog"], "jalview.appletgui.EditNameDialog", ["awt2swing.Label", "$.Panel", "$.TextField", "java.awt.BorderLayout", "$.Font"], function () {
+c$ = Clazz.decorateAsClass (function () {
+this.id = null;
+this.description = null;
+Clazz.instantialize (this, arguments);
+}, jalview.appletgui, "EditNameDialog", jalview.appletgui.JVDialog);
+Clazz.overrideMethod (c$, "getName", 
+function () {
+return this.id.getText ();
+});
+Clazz.defineMethod (c$, "getDescription", 
+function () {
+if (this.description.getText ().length < 1) {
+return null;
+} else {
+return this.description.getText ();
+}});
+Clazz.makeConstructor (c$, 
+function (name, desc, label1, label2, owner, title, width, height, display) {
+Clazz.superConstructor (this, jalview.appletgui.EditNameDialog, [owner, title, true, width, height]);
+var mono =  new java.awt.Font ("Monospaced", 0, 12);
+var panel =  new awt2swing.Panel ( new java.awt.BorderLayout ());
+var panel2 =  new awt2swing.Panel ( new java.awt.BorderLayout ());
+this.id =  new awt2swing.TextField (name, 40);
+this.id.setFont (mono);
+var label =  new awt2swing.Label (label1);
+label.setFont (mono);
+panel2.add (label, "West");
+panel2.add (this.id, "Center");
+panel.add (panel2, "North");
+if (label2 != null) {
+panel2 =  new awt2swing.Panel ( new java.awt.BorderLayout ());
+this.description =  new awt2swing.TextField (desc, 40);
+this.description.setFont (mono);
+label =  new awt2swing.Label (label2);
+label.setFont (mono);
+panel2.add (label, "West");
+panel2.add (this.description, "Center");
+panel.add (panel2, "Center");
+}this.setMainPanel (panel);
+this.setVisible (display);
+}, "~S,~S,~S,~S,awt2swing.Frame,~S,~N,~N,~B");
+});