Uses 2164K of libraries. Click here for Pure Java version (69795L/371K).
sclass G22ScriptView extends JOnDemandWithReloadButton { G22LAScript script; settable bool mustBeAutoRunnable; *(G22LAScript *script) { if (script != null) makeComponent = -> mustBeAutoRunnable ? g22utils().visualizeAutoRunnableScript(script) : g22utils().visualizeSavedScript(script); } G22Utils g22utils() { ret script.g22utils(); } void makeControls :: after { if (script != null) controls.add(g22utils().editScriptButton(script)); } }
Began life as a copy of #1036191
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1036368 |
Snippet name: | G22ScriptView |
Eternal ID of this version: | #1036368/5 |
Text MD5: | 849d29722ee5cd528984d3139653ecb3 |
Transpilation MD5: | 7606a7bebe3c320229fdaf475c6474d4 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2023-07-27 00:02:02 |
Source code size: | 514 bytes / 18 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 134 / 213 |
Version history: | 4 change(s) |
Referenced in: | [show references] |