svoid dm_gazelle_newRuleDialog(S in) { dm_gazelle_newRuleDialog(in, in); } svoid dm_gazelle_newRuleDialog(S in, S out) { final JTextField tf1 = jtextfield(in); final JTextField tf2 = jtextfield(out); showFormTitled("Make a rule", "When", tf1, "Then", tf2, r { Pair<S, Bool> p = dm_gazelle_addRule(gtt(tf1), gtt(tf2)); infoBox(p.b ? "Rule " + p.a + " added" : "Rule already there: " + p.a); }); }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1021467 |
Snippet name: | dm_gazelle_newRuleDialog |
Eternal ID of this version: | #1021467/3 |
Text MD5: | 0bb656590c112f8f46dee651a6446a93 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-02-14 22:34:17 |
Source code size: | 446 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 275 / 317 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1021484 - dm_gazelle_newRuleDialog_2 |