Uses 1113K of libraries. Click here for Pure Java version (7172L/34K).
!7 cmodule2 Bla > DynPrintLogAndEnabled { start { dm_onAnyModulePopupMenu(voidfunc(JPopupMenu menu, S mod) { if (!enabled) ret; temp enter(); LS names = sortedAlphanumIC(noArgumentMethodNames(dm_mod(mod))); if (empty(names)) ret; JMenu subMenu = jmenu("Call function"); for (S method : names) addMenuItem(subMenu, names + "()", rThread { dm_call(mod, method) }); addSubMenu(menu, subMenu); }); } }
Began life as a copy of #1027868
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1029665 |
Snippet name: | Add function calls to all module title menus |
Eternal ID of this version: | #1029665/3 |
Text MD5: | c81a01ba49f6bf6332b6281df50504eb |
Transpilation MD5: | b7d2c09f5d6d32b66e67342c42958337 |
Author: | stefan |
Category: | javax / stefan's os |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-06-19 15:15:51 |
Source code size: | 491 bytes / 18 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 205 / 276 |
Version history: | 2 change(s) |
Referenced in: | -