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

18
LINES

< > BotCompany Repo | #1019626 // Recommended Modules

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

Libraryless. Click here for Pure Java version (18995L/139K).

1  
!7
2  
3  
module RecommendedModules > DynObjectTable<RecommendedModule> {
4  
  start {
5  
    defaultAction = voidfunc(RecommendedModule m) {
6  
      dm_addDynamicModuleDialog2(m.moduleID)
7  
    };
8  
    setData(stefansOS_recommendedModules());
9  
    setModuleName(n2(data, "Recommended Module"));
10  
  }
11  
  
12  
  afterVisualize {
13  
    addRowSorter(table());
14  
    rowSorter_setComparators(table(), 0, alphaNumComparator(), 1, alphaNumComparator());
15  
    tableSetColumnPreferredWidths(table(), "Module ID" := 100);
16  
    popupMenuItem_top("Load", voidfunc(RecommendedModule m) { dm_addDynamicModuleDialog2(m.moduleID) });
17  
  }
18  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, hpgrupgrauku, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, vtpnfdczhzww

No comments. add comment

Snippet ID: #1019626
Snippet name: Recommended Modules
Eternal ID of this version: #1019626/16
Text MD5: 8e05d4bcf3634fa3e5794d46911b1982
Transpilation MD5: 1eda7ea92f899369fc91ca052db640f7
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: 2019-08-30 12:14:57
Source code size: 611 bytes / 18 lines
Pitched / IR pitched: No / No
Views / Downloads: 327 / 2329
Version history: 15 change(s)
Referenced in: [show references]