Lines Matching refs:title

13 StorageFile = function(ui, data, title)  argument
17 this.title = title;
76 return this.title;
107 StorageFile.prototype.saveAs = function(title, success, error) argument
110 this.saveFile(title, false, success, error);
119 StorageFile.insertFile = function(ui, title, data, success, error) argument
125 var file = new StorageFile(ui, data, title);
128 file.saveFile(title, false, function()
136 ui.confirm(mxResources.get('replaceIt', [title]), fn, error);
144 StorageFile.getFileContent(ui, title, function(data)
159 StorageFile.getFileContent = function(ui, title, success, error) argument
161 ui.getDatabaseItem(title, function(obj)
169 ui.getLocalData(title, success);
184 StorageFile.getFileInfo = function(ui, title, success, error) argument
186 ui.getDatabaseItem(title, function(obj)
194 ui.getLocalData(title, function(data)
196 success(data != null? {title: title} : null);
212 StorageFile.prototype.saveFile = function(title, revision, success, error) argument
227 this.title = title;
247 title: this.title,
252 title: this.title,
258 this.ui.setLocalData(this.title, data, saveDone);
276 if (this.isRenamable() && title.charAt(0) == '.' && error != null)
282 StorageFile.getFileInfo(this.ui, title, mxUtils.bind(this, function(data)
284 if (!this.isRenamable() || this.getTitle() == title || data == null)
290 this.ui.confirm(mxResources.get('replaceIt', [title]), fn, error);
303 StorageFile.prototype.rename = function(title, success, error) argument
307 if (oldTitle != title)
309 StorageFile.getFileInfo(this.ui, title, mxUtils.bind(this, function(data)
313 this.title = title;
316 if (!this.hasSameExtension(oldTitle, title))
321 this.saveFile(title, false, mxUtils.bind(this, function()
329 this.ui.confirm(mxResources.get('replaceIt', [title]), fn, error);
360 StorageFile.getFileContent(this.ui, this.title, mxUtils.bind(this, function(data)
362 success(new StorageFile(this.ui, data, this.title));
404 title: key,
425 …lsFilesInfo.push({title: '.scratchpad', type: 'L'}); //Adding scratchpad also since it is a librar…
433 var data = localStorage.getItem(lsFileInfo.title);
435 title: lsFileInfo.title,
458 if (filesInfo[i].title.charAt(0) != '.' && (type == null || filesInfo[i].type == type))
485 StorageFile.deleteFile = function(ui, title, success, error) argument
487 ui.removeDatabaseItem([title, title], success, function()
491 localStorage.removeItem(title)