srecord noeq G22VariablesPanel(G22Utils g22utils) { settable bool compactView; transient SimpleCRUD_v2 crud; cachedVisualize { crud = new SimpleCRUD_v2<>(g22utils.concepts(), G22Variable); crud.iconButtons(true); crud.entityName = -> "Variable"; if (compactView) crud.hideField("persistent"); ret jCenteredSection("Project Variables", crud.visualize()); } void updateCount { crud.update(); } void setSelected(G22Variable var) { crud.setSelected(var); } }