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.

persistable sclass G22MasksPanel extends G22CRUDAndDetailPanel<G22MaskConcept> {
  SimpleCRUD_v2<G22MaskConcept> makeCRUD() {
    var crud = new SimpleCRUD_v2<>(g22utils.concepts(), G22MaskConcept);
    crud.excludeFieldsFromEditing("maskImage");
    crud.entityName = -> "Mask";
    ret crud;
  }

  JComponent makeDetailView(G22MaskConcept mask) {
    ret g22utils.stdImageSurface(mask.maskImage);
  }
  
  selfType g22utils(G22Utils g22utils) { super.g22utils(g22utils); this; }
}

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: 68 / 106
Version history: 3 change(s)
Referenced in: #1003674 - Standard Classes + Interfaces (LIVE continued in #1034167)