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

9
LINES

< > BotCompany Repo | #1018675 // dm_moduleMenuItems

JavaX fragment (include)

// returns [(name, function on module ID)]
static LPair<S, VF1<O>> dm_moduleMenuItems() {
  //bool visible = dm_isVisible(mod);
  ret (L) llNotNulls(
    /*visible ? null :*/ pair("Show", voidfunc(O mod) { dm_showModule(mod) }),
    pair("Reload", voidfunc(O mod) { dm_reloadModule(mod) }),
    pair("Delete", voidfunc(O mod) { dm_deleteModule(mod) }),
    /*!visible ? null :*/ pair("Hide", voidfunc(O mod) { dm_hideModule(mod) }));
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1018675
Snippet name: dm_moduleMenuItems
Eternal ID of this version: #1018675/7
Text MD5: 9494ff3410fc7b37dbc64c4b715ce06e
Author: stefan
Category: javax / stefan's os
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-08-14 01:13:07
Source code size: 443 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 355 / 399
Version history: 6 change(s)
Referenced in: [show references]