Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

18
LINES

< > BotCompany Repo | #1020952 // Add "Show Concepts" to module title menus

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 1113K of libraries. Click here for Pure Java version (13070L/61K).

!7

cm Bla > DynPrintLogAndEnabled {
  start {
    dm_onAnyModulePopupMenu(voidfunc(JPopupMenu menu, S module) {
      if (!enabled) ret;
      temp enter();
      fS dbID = dm_moduleSnippetID(module);
      if (!programHasConcepts(dbID)) ret;
      addMenuItem(menu, "Show Concepts", rThreadEnter {
        pcall-infobox {
          print("Showing concepts of " + dbID);
          dm_showConceptsOf(dbID);
        }
      });
    });
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 10 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1020952
Snippet name: Add "Show Concepts" to module title menus
Eternal ID of this version: #1020952/8
Text MD5: 7b43b002bd2a1e63deb87958537ac575
Transpilation MD5: aa137b71836b0a9076c399bb7de690e6
Author: stefan
Category: javax / concepts
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-05-06 15:52:50
Source code size: 457 bytes / 18 lines
Pitched / IR pitched: No / No
Views / Downloads: 410 / 241517
Version history: 7 change(s)
Referenced in: [show references]