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

9
LINES

< > BotCompany Repo | #1007472 // addAISuiteMenu

JavaX fragment (include)

static void addAISuiteMenu(Component c) {
  addAISuiteMenu(c, "AI Suite");
}

static void addAISuiteMenu(Component c, S title) {
  final Map<S, S> map = cast get(hotwire(#1007449), "aiPrograms");
  for (fS name : keys(map))
    addToMenu(c, title, name, r { startOrActivate(map.get(name)) });
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1007472
Snippet name: addAISuiteMenu
Eternal ID of this version: #1007472/6
Text MD5: 454cf4e1a581b1278e47c8c8ef4bd4c5
Author: stefan
Category: javax / a.i. / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-03-25 16:15:00
Source code size: 302 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 580 / 568
Version history: 5 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)