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

14
LINES

< > BotCompany Repo | #1036107 // G22MasksPanel

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

Transpiled version (63885L) is out of date.

1  
persistable sclass G22MasksPanel extends G22CRUDAndDetailPanel<G22MaskConcept> {
2  
  SimpleCRUD_v2<G22MaskConcept> makeCRUD() {
3  
    var crud = new SimpleCRUD_v2<>(g22utils.concepts(), G22MaskConcept);
4  
    crud.excludeFieldsFromEditing("maskImage");
5  
    crud.entityName = -> "Mask";
6  
    ret crud;
7  
  }
8  
9  
  JComponent makeDetailView(G22MaskConcept mask) {
10  
    ret g22utils.stdImageSurface(mask.maskImage);
11  
  }
12  
  
13  
  selfType g22utils(G22Utils g22utils) { super.g22utils(g22utils); this; }
14  
}

Author comment

Began life as a copy of #1036104

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1036107
Snippet name: G22MasksPanel
Eternal ID of this version: #1036107/4
Text MD5: 4b16c1068a81e9f8e76a047388230606
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-09-15 19:24:30
Source code size: 496 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 12 / 25
Version history: 3 change(s)
Referenced in: [show references]