1 | static JList showFilesListWithAction(S title, L<File> files, final VF1<File> action) { |
2 | ret setPIFrameTitle(title, showFilesListWithAction(files, action)); |
3 | } |
4 | |
5 | static JList showFilesListWithAction(L<File> files, final VF1<File> action) { |
6 | ret onDoubleClickOrEnter(showList(map f2s(files)), voidfunc(S path) { |
7 | callF(action, newFile(path)); |
8 | }); |
9 | } |
Began life as a copy of #1018755
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018756 |
Snippet name: | showFilesListWithAction |
Eternal ID of this version: | #1018756/3 |
Text MD5: | f08d047c802732e5c9157d08f870af2c |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-13 15:10:16 |
Source code size: | 359 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 329 / 356 |
Version history: | 2 change(s) |
Referenced in: | [show references] |