!7 sclass AllButtons extends DynTable { L calc() { new Map componentToModule; for (O m : dm_listModules()) mapPut(componentToModule, dm_getVisualization(m), m); ret map(childrenOfType(mainDesktopPane(), JButton), func(JButton b) -> Map { litorderedmap("Text" := (isEnabled(b) ? "" : "[disabled] " + getText(b), "Module" := dm_moduleName(componentToModule.get(b)), "[hidden]" := b); }); } }