| 12345678910111213141516171819202122232425262728 |
- // Copyright (c) 2006-2020, JGraph Ltd
- /**
- *
- */
- DesktopLibrary = function(ui, data, fileObj)
- {
- LocalLibrary.call(this, ui, data, fileObj.name);
- this.fileObj = fileObj;
- };
- //Extends LocalLibrary
- mxUtils.extend(DesktopLibrary, LocalLibrary);
- /**
- *
- */
- DesktopLibrary.prototype.getHash = function()
- {
- return 'S' + encodeURIComponent(this.fileObj.path);
- };
- /**
- *
- */
- DesktopLibrary.prototype.save = function(revision, success, error)
- {
- LocalFile.prototype.saveFile.apply(this, arguments);
- };
|