/
githubmirror
/
drawio
Обзор
Документация
Войти
/
githubmirror
/
drawio
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
src/main/webapp/js/diagramly/RemoteFile.js
56 строк
831 B
David Benson
28.2.0 release
05 сен 2025, 20:29
05 сен 2025, 20:29
947271f
Код
Авторство
О чём код?
// Copyright (c) 2006-2020, JGraph Holdings Ltd /** */ RemoteFile = function(ui, data, title) { DrawioFile.call(this, ui, data); this.title = title; this.mode = null; }; //Extends mxEventSource mxUtils.extend(RemoteFile, DrawioFile); /** * Translates this point by the given vector. * * @param {number} dx X-coordinate of the translation. * @param {number} dy Y-coordinate of the translation. */ RemoteFile.prototype.isAutosave = function() { return false; }; /** * */ RemoteFile.prototype.getMode = function() { return this.mode; }; /** * */ RemoteFile.prototype.getTitle = function() { return this.title; }; /** * */ RemoteFile.prototype.isRenamable = function() { return false; }; /** */ RemoteFile.prototype.open = function() { this.ui.setFileData(this.getData()); this.installListeners(); };