1/**
2 * Copyright (c) 2006-2017, JGraph Ltd
3 * Copyright (c) 2006-2017, Gaudenz Alder
4 */
5DropboxLibrary = function(ui, data, stat)
6{
7	DropboxFile.call(this, ui, data, stat);
8};
9
10//Extends mxEventSource
11mxUtils.extend(DropboxLibrary, DropboxFile);
12
13/**
14 * Translates this point by the given vector.
15 *
16 * @param {number} dx X-coordinate of the translation.
17 * @param {number} dy Y-coordinate of the translation.
18 */
19DropboxLibrary.prototype.isAutosave = function()
20{
21	return true;
22};
23
24/**
25 * Overridden to avoid updating data with current file.
26 */
27DropboxLibrary.prototype.doSave = function(title, success, error)
28{
29	this.saveFile(title, false, success, error);
30};
31
32/**
33 * Returns the location as a new object.
34 * @type mx.Point
35 */
36DropboxLibrary.prototype.open = function()
37{
38	// Do nothing - this should never be called
39};
40