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

18
LINES

< > BotCompany Repo | #1035444 // G22NetworksPanel

JavaX fragment (include) [tags: use-pretranspiled]

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.entityName = -> "Network";
    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; }
}

Author comment

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/8
Text MD5: 75b9c4d6a7369a4a8fa7fc677eb92fd1
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-05-13 22:54:15
Source code size: 611 bytes / 18 lines
Pitched / IR pitched: No / No
Views / Downloads: 23 / 60
Version history: 7 change(s)
Referenced in: [show references]