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

7
LINES

< > BotCompany Repo | #1025774 // dm_importStructureFromTextFileDialog

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

Libraryless. Compilation Failed (10309L/72K).

svoid dm_importStructureFromTextFileDialog(DynModule mod) {
  File f = showFileChooserWithDefaultDir("Module data to restore", javaxBackupDir());
  if (fileExists(f)) {
    infoBox("Replacing module with " + f2s(f));
    dm_replaceModuleWithStructure(mod, loadTextFile(f));
  }
}

Author comment

Began life as a copy of #1025768

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1025774
Snippet name: dm_importStructureFromTextFileDialog
Eternal ID of this version: #1025774/1
Text MD5: 4192eb47772f1b24e8f4292402c2fa33
Transpilation MD5: aa79986c0c83624c3228cbdc89891da2
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-10-18 23:06:59
Source code size: 285 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 139 / 211
Referenced in: [show references]