1// Copyright (c) 2006-2020, JGraph Ltd
2/**
3 */
4RemoteFile = function(ui, data, title)
5{
6	DrawioFile.call(this, ui, data);
7
8	this.title = title;
9	this.mode = null;
10};
11
12//Extends mxEventSource
13mxUtils.extend(RemoteFile, DrawioFile);
14
15/**
16 * Translates this point by the given vector.
17 *
18 * @param {number} dx X-coordinate of the translation.
19 * @param {number} dy Y-coordinate of the translation.
20 */
21RemoteFile.prototype.isAutosave = function()
22{
23	return false;
24};
25
26/**
27 *
28 */
29RemoteFile.prototype.getMode = function()
30{
31	return this.mode;
32};
33
34/**
35 *
36 */
37RemoteFile.prototype.getTitle = function()
38{
39	return this.title;
40};
41
42/**
43 *
44 */
45RemoteFile.prototype.isRenamable = function()
46{
47	return false;
48};
49
50/**
51 */
52RemoteFile.prototype.open = function()
53{
54	this.ui.setFileData(this.getData());
55	this.installListeners();
56};
57