Uses 1113K of libraries. Click here for Pure Java version (7494L/36K).
!7 cmodule2 ModuleCmds > DynPrintLogAndEnabled { bool _startMinimized() { true; } start { dm_onAnyModulePopupMenu(voidfunc(JPopupMenu menu, S mod) { if (!enabled) ret; temp enter(); // TODO: use dbProgramID S dbID = dm_moduleSnippetID(mod); if (!fileExists(conceptsFile(dbID))) ret; addMenuItem(menu, "Backup concepts", rThread { File f = backupOtherProgramsConceptsNow(dbID); infoBox(f == null ? "No backup made" : renderFileInfo(f)); }); }); } }
Began life as a copy of #1029567
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1031015 |
Snippet name: | Add "Backup concepts" command to module title menus |
Eternal ID of this version: | #1031015/4 |
Text MD5: | f897ef893ff84dae8bfb13901a54ca72 |
Transpilation MD5: | d5a6850a47493e227a8169ed32b974e3 |
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-04-21 16:10:19 |
Source code size: | 576 bytes / 23 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 166 / 174007 |
Version history: | 3 change(s) |
Referenced in: | [show references] |