Transpiled version (59712L) is out of date.
concept G22NetworksPanel extends G22CRUDAndDetailPanel<G22Network> { SimpleCRUD_v2<G22Network> makeCRUD() { var crud = new SimpleCRUD_v2<>(g22utils.concepts(), G22Network); crud.iconButtons(true); crud.excludeFieldsFromEditing("elements"); //crud.showDuplicateButton(false); crud.createDuplicate = network -> (G22Network) g22utils.restructure(network); crud.entityName = -> "Network"; crud.addButton(new JPopDownButton().content( "Browse networks in other projects", Runnable -> g22utils.openUIURL("Networks from all projects")) .visualize()); ret crud; } JComponent makeDetailView(G22Network network) { ret JG22Network(g22utils, network).visualize(); } SimpleCRUD_v2<G22Network> networkCRUD() { ret crud(); } selfType g22utils(G22Utils g22utils) { super.g22utils(g22utils); this; } }
Began life as a copy of #1034599
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1035444 |
Snippet name: | G22NetworksPanel |
Eternal ID of this version: | #1035444/14 |
Text MD5: | d1a5ebf6c5792e572e9422921f707b5d |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-06-16 16:43:46 |
Source code size: | 890 bytes / 24 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 174 / 270 |
Version history: | 13 change(s) |
Referenced in: | #1003674 - Standard Classes + Interfaces (LIVE continued in #1034167) |