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

13
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 911K of libraries. Click here for Pure Java version (5883L/29K).

!7

cmodule 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", rThread { dm_showConceptsOf(dbID) });
    });
  }
}

download  show line numbers  debug dex   

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

No comments. add comment

Snippet ID: #1020952
Snippet name: Add "Show Concepts" to module title menus
Eternal ID of this version: #1020952/5
Text MD5: 0a159ea0209634e78c137dd52850d005
Transpilation MD5: 24d693f57453cd63b946b8f17f63730a
Author: stefan
Category: javax / concepts
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-06-08 21:52:21
Source code size: 353 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 150 / 44200
Version history: 4 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1020952 & http://1020952.tinybrain.de