Lines Matching refs:LocalFile

10042LocalFile=function(b,e,d,c,g,k){DrawioFile.call(this,b,e);this.title=d;this.mode=c?null:App.MODE_D…
10043 LocalFile.prototype.isRenamable=function(){return!0};LocalFile.prototype.save=function(b,e,d){this.…
10044 LocalFile.prototype.getLatestVersion=function(b,e){null==this.fileHandle?b(null):this.ui.loadFileSy…
10045 LocalFile.prototype.saveFile=function(b,e,d,c,g){b!=this.title&&(this.desc=this.fileHandle=null);th…
10048 …l(b)}),c,this.ui.getCurrentFile()!=this?n:null,e.scale,e.border)):l(n)};LocalFile.prototype.rename…
10049 LocalFile.prototype.open=function(){this.ui.setFileData(this.getData());this.installListeners()};Lo…
10060 …File.call(this,b,e,d.title);this.libObj=d};mxUtils.extend(RemoteLibrary,LocalFile);RemoteLibrary.p…
10743 ….data?b.data:"";null!=d&&0<d.length&&(0<e.length&&(e+="\n"),e+=d);d=new LocalFile(this,"csv"!=b.fo…
11613 …lChangesLost");var b=this.getCurrentFile();if(null!=b)if(b.constructor!=LocalFile||""!=b.getHash()…
11628 ….drawio");this.fileLoaded(mxClient.IS_IOS?new StorageFile(this,b,c):new LocalFile(this,b,c,e))}))}…
11640 c=null!=c?decodeURIComponent(c):this.defaultFilename;b=new LocalFile(this,b,c,!0);null!=window.loca…
11643 …on(b){this.spinner.stop();if("0"!=urlParams.splash){this.fileLoaded(new LocalFile(this,b,null));th…
11658 ….result;"image/png"==c.type&&(k=this.extractGraphModelFromPng(k));e(new LocalFile(this,k,c.name,nu…
11665 …wio");this.fileLoaded(b==App.MODE_BROWSER?new StorageFile(this,c,d):new LocalFile(this,c,d))}),f=t…
11678 …||null!=d.invalidFileHandle||null==this.mode)if(null!=d&&d.constructor==LocalFile&&null!=d.fileHan…
11681 …s(b)):(this.setMode(App.MODE_DEVICE),this.save(b,c)):"download"==e?(new LocalFile(this,null,b)).sa…
11690LocalFile(this,e,c.name,null,b,c);f.saveFile(c.name,!1,mxUtils.bind(this,function(){this.fileCreat…
11693 …es.get("discardChanges"))});null!=c&&c();null==d||d?m():(b.constructor==LocalFile&&(window.openFil…
11694 null==b.getMode())),null!=c&&c(),window.openWindow(k,null,m))});b.constructor==LocalFile?q():b.save…
11697 …mponent(b.substring(1));"<"!=g.charAt(0)&&(g=Graph.decompress(g));g=new LocalFile(this,g,null!=url…
11701 …==g||".xml"===g||".html"===g||".png"===g||".drawio"===g)&&(e=f+g)}d=new LocalFile(this,d,null!=url…
11740LocalFile(this,b,l,!0))}),k,e)}else null!=k&&k({message:mxResources.get("errorLoadingFile")})});p.…
11741LocalFile(this,d,l,!0)):g(new LocalFile(this,c,e,!0))):Graph.fileSupport&&(new XMLHttpRequest).upl…
11868 EmbedFile||b.constructor==LocalFile&&null==b.mode||c.saveFile()},c.actions.addAction("saveAndExit",…
11881 …ion(){var b=this.editorUi.getCurrentFile();if(null!=b)if(b.constructor==LocalFile&&null!=b.fileHan…
11919 …(mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||null==e||e.constructor==LocalFile&&null==e.fileHan…
11993 …i.isElectronApp){var c=this.getCurrentFile();if(null!=c&&c.constructor!=LocalFile&&"draw.io"==this…
12097 …,mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||null==e||e.constructor==LocalFile||c.menus.addMenu…
12100 …|mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||null==e||e.constructor==LocalFile||c.menus.addMenu…