Lines Matching refs:ui

4 Draw.loadPlugin(function(ui)  argument
51 if (ui.format != null)
53 ui.format.refresh();
57 ui.initComments(macroData.contentId || macroData.custContentId);
61 ui.fetchAndShowNotification('conf');
70 var renameAction = ui.actions.get("rename");
81 var curFile = ui.getCurrentFile();
88 if (ui.embedFilenameSpan != null)
90 ui.embedFilenameSpan.parentNode.removeChild(ui.embedFilenameSpan);
93 ui.buttonContainer.appendChild(tmp);
94 ui.embedFilenameSpan = tmp;
110 if (ui.format != null)
112 ui.format.refresh();
120 ui.remoteInvoke('checkConfLicense', [license, xdm_e], null, function(licenseValid)
124 ui.menus.get('file').funct = function(menu, parent)
132 ui.menus.get('insertAdvanced').funct = function(menu, parent)
142 ui.actions.get('mathematicalTypesetting').funct = function()
144 ui.alert(mxResources.get('licenseRequired'));
174 ui.importFiles = function()
177 ui.alert(mxResources.get('licenseRequired'));
181 ui.getComments = function(success, error)
186 ui.addComment = function(comment, success, error)
196 var dlg = new FilenameDialog(ui, macroData.diagramDisplayName || "",
207 ui.getCurrentFile().rename(newName);
605 ui.remoteInvoke('getCurPageAnchors', null, null, function(headings)
656 ui.remoteInvoke('getCurPageAttachments', null, null, function(atts)
716 ui.remoteInvoke('getPageDrawioDiagrams', [pageId], null, function(drawioCCs)
778 ui.remoteInvoke('getAvailableSpaces', null, null, function(spaces)
809ui.remoteInvoke('contentSearch', [searchInput.value, spaceSelect.value == '*'? null : [spaceSelect…
889 ui.showLinkDialog = function(value, btnLabel, fn)
897 var origHandleCustomLink = ui.handleCustomLink;
900 ui.handleCustomLink = function(href)
910 ui.remoteInvoke('getContentInfo', [id], null, function(info)
912 ui.remoteInvoke('getBaseUrl', null, null, function(url)
935 ui.remoteInvoke('getPageInfo', [true], null, function(info)
964 origHandleCustomLink.apply(ui, arguments);
968 var origGetLinkTitle = ui.getLinkTitle;
970 ui.getLinkTitle = function(href)
982 return origGetLinkTitle.apply(ui, arguments);
988 ui.isRevisionHistoryEnabled = function()
993 ui.isRevisionHistorySupported = function()
1001 ui.getRevisions = function(success, error)
1005 ui.remoteInvoke('getFileContent', [this.downloadUrl], null, success, error);
1010 if (ui.spinner.spin(document.body, mxResources.get('restoring')))
1012 ui.replaceFileData(xml);
1013 ui.spinner.stop();
1014 ui.hideDialog();
1018ui.remoteInvoke('getDiagramRevisions', [macroData.diagramName, macroData.pageId], null, function(r…
1035 ui.actions.addAction('support...', function()
1037 ui.remoteInvoke('getPageInfo', [true], null, function(info)
1050 ui.openLink(url + '/wiki/plugins/servlet/ac/com.mxgraph.confluence.plugins.diagramly/support');
1054 ui.openLink('https://about.draw.io/support/');
1058 ui.openLink('https://about.draw.io/support/');
1071 if (w > ui.maxImageSize || h > ui.maxImageSize)
1073 … var s = Math.min(1, Math.min(ui.maxImageSize / Math.max(1, w)), ui.maxImageSize / Math.max(1, h));
1109 var cells = ui.stringToCells(Graph.decompress(img.xml));
1113 ui.sidebar.createThumb(cells, ew, eh, wrapper, null, true, false);
1126 ui.actions.addAction('shapes...', mxUtils.bind(this, function()
1128 ui.remoteInvoke('getCustomLibraries', null, null, function(libs)
1138 ui.remoteInvoke('getFileContent', [this.downloadUrl], null, function(libContent)
1165ui.showDialog(new MoreShapesDialog(ui, true, ui.sidebar.entries.concat(customLibsEntry)).container…
1170ui.showDialog(new MoreShapesDialog(ui, true, ui.sidebar.entries).container, 640, (isLocalStorage) ?
1192ui.remoteInvoke('getFileContent', [lib.downloadUrl], null, mxUtils.bind(lib, function(libContent)
1196 ui.loadLibrary(new RemoteLibrary(ui, libContent, this));
1209 ui.closeLibrary(new RemoteLibrary(ui, '', lib));
1257 ui.remoteInvoke('getFileContent', [url], null, callback, function()
1259ui.showError(mxResources.get('error'), mxResources.get('cantReadChckPerms'), mxResources.get('ok')…
1265 ui.remoteInvoke('getCustomTemplates', null, null, customTempCallback, function()
1287 var origInstallMessageHandler = ui.installMessageHandler;
1289 ui.installMessageHandler = function()
1324 return ui.getCurrentUser();
1374 ui.editor.modified = value;
1412ui.remoteInvoke('saveDraftWithFileDesc', [savedData, this.desc], null, mxUtils.bind(this, function…
1574 ui.doSaveLocalFile(this.data, this.getTitle(), 'text/xml');
1586 ui.remoteInvoke('setFileDescriptor', [this.desc], null, mxUtils.bind(this, function(desc)
1648 ui.remoteInvoke('getDraftFileContent', null, null, mxUtils.bind(this, function(data, desc)
1650 success(new EmbedFile(ui, data, desc));
1757 ui.remoteInvoke('getFileDescriptor', null, null, success, error);
1768 var origSaveAction = ui.actions.get('save').funct;
1770 ui.actions.get('save').funct = function(exit)
1773 var curFile = ui.getCurrentFile();
1820 origSaveAction.apply(ui, actArgs);
1839 ui.saveFile(null, doActions);
1843 ui.remoteInvoke('setFileDescriptor', [desc], null, doActions, doActions);
1864 var origInstallMessageHandler = ui.installMessageHandler;
1866 ui.installMessageHandler = function(callback)
1872 var file = ui.getCurrentFile();
1877 ui.fileLoaded(file, true);
1912 ui.editor.setModified = function()
1920 p2pCollab = new P2PCollab(ui);