/plugin/diagramsnet/lib/js/diagramly/ |
H A D | Menus.js | 56 var editorUi = this.editorUi; 101 editorUi.pickFolder(editorUi.mode, function(folderId) 248 editorUi.ruler = new mxDualRuler(editorUi, editorUi.editor.graph.view.unit); 323 var noPages = editorUi.pages == null || editorUi.pages.length <= 1; 383 editorUi.getPublicUrl(editorUi.getCurrentFile(), function(url) 411 (editorUi.pages != null && editorUi.pages.length > 1 && (editorUi.editor.editable || 491 if (editorUi.currentPage == editorUi.pages[i]) 706 editorUi.editor.setAutosave(!editorUi.editor.autosave); 1964 editorUi.getPublicUrl(editorUi.getCurrentFile(), function(url) 2369 if (editorUi.isOffline() || editorUi.printPdfExport) [all …]
|
H A D | Dialogs.js | 260 editorUi.createFile(editorUi.defaultFilename, 523 if (editorUi.mode == App.MODE_GOOGLE && editorUi.drive != null) 597 …else if (editorUi.mode == App.MODE_ONEDRIVE && editorUi.oneDrive != null && !editorUi.oneDrive.noL… 1561 if (editorUi.pages[i] == editorUi.currentPage) 2609 if (editorUi.mode == App.MODE_GOOGLE && editorUi.drive != null) 2959 editorUi.pickFolder(editorUi.mode, function(folderId) 4195 if (!editorUi.isOfflineApp() && !editorUi.isOffline()) 5873 var patch = editorUi.diffPages(editorUi.pages, pages); 5970 editorUi.openLink(editorUi.getUrl(), null, true); 6025 if (editorUi.currentPage != null && editorUi.pages != null) [all …]
|
H A D | ElectronApp.js | 27 var file = editorUi.getCurrentFile(); 157 var editorUi = this.editorUi; 202 editorUi.resetRecent(); 299 var editorUi = this; 304 if (editorUi.getCurrentFile()) 494 editorUi.spinner.stop(); 495 editorUi.handleError(e); 634 editorUi.showDialog(new PluginsDialog(editorUi, function(callback) 749 var editorUi = this; 755 editorUi.fileLoaded(file); [all …]
|
H A D | mxRuler.js | 51 var diagCont = editorUi.diagramContainer; 88 this.editorUiRefresh = editorUi.refresh; 90 editorUi.refresh = function(minor) method 108 this.ui = editorUi; 109 var graph = editorUi.editor.graph; 571 function mxDualRuler(editorUi, unit) argument 581 this.editorUiRefresh = editorUi.refresh; 582 this.ui = editorUi; 600 if (editorUi.editor.graph.isEnabled() && !editorUi.editor.graph.isMouseDown && 604 editorUi.hideCurrentMenu(); [all …]
|
H A D | OneDriveClient.js | 12 window.OneDriveClient = function(editorUi, isExtAuth, inlinePicker, noLogout) argument 29 DrawioClient.call(this, editorUi, isExtAuth? 'oneDriveExtAuthInfo' : 'oneDriveAuthInfo');
|
H A D | DrawioClient.js | 5 DrawioClient = function(editorUi, cookieName) argument 9 this.ui = editorUi;
|
H A D | Editor.js | 3968 editorUi.hideDialog(); 3975 editorUi.hideDialog(); 4104 var ui = this.editorUi; 5093 that.editorUi.propertiesCollapsed = !that.editorUi.propertiesCollapsed; 5192 var ui = this.editorUi; 7896 if (editorUi.currentPage == editorUi.pages[i]) 8343 if (!ignorePages && editorUi.pages != null && editorUi.pages.length) 8409 return (editorUi.pages != null) ? editorUi.pages.length : 1; 8472 editorUi.hideDialog(); 8496 editorUi.hideDialog(); [all …]
|
H A D | Minimal.js | 28 var WrapperWindow = function(editorUi, title, x, y, w, h, fn) argument 30 var graph = editorUi.editor.graph; 76 return (evt != null && editorUi.isSelectionAllowed(evt)); 720 if (this.editorUi.sidebarWindow == null || 721 mxUtils.isAncestorNode(this.editorUi.picker, elt)) 723 var off = mxUtils.getOffset(this.editorUi.picker); 725 off.x += this.editorUi.picker.offsetWidth + 4; 747 var graph = this.editorUi.editor.graph; 813 if (this.editorUi.editor.graph.isSelectionEmpty()) 939 var ui = this.editorUi; [all …]
|
H A D | EditorUi.js | 13897 editorUi.hideDialog(); 13898 editorUi.saveData(name, 'xml', mxUtils.getXml(editorUi.editor.getGraphXml()), 'text/xml'); 13902 editorUi.hideDialog(); 13914 editorUi.hideDialog(); 15288 var newReply = editorUi.newComment(initContent, editorUi.getCurrentUser()); 15519 var newComment = editorUi.newComment('', editorUi.getCurrentUser()); 15640 editorUi.handleError(e); 15831 editorUi.hideDialog(); 15849 if (editorUi.editor.cancelFirst) 15856 editorUi.hideDialog(); [all …]
|
/plugin/diagramsnet/lib/plugins/ |
H A D | trello.js | 4 Draw.loadPlugin(function(editorUi) argument 7 if (editorUi.actions.get('exit') == null) 13 editorUi.actions.get('exit').funct = function() 21 var file = editorUi.getCurrentFile(); 34 editorUi.showSplash = function() 58 editorUi.trello.getFile(card + editorUi.trello.SEPARATOR + 74 editorUi.loadFile(editorUi.getDiagramId(), true); 77 editorUi.addEmbedButtons(); 81 if (editorUi.trello == null) 85 if (editorUi.trello != null) [all …]
|
H A D | anonymize.js | 4 Draw.loadPlugin(function(editorUi) argument 15 elt.nodeValue = editorUi.anonymizeString(elt.nodeValue); 40 editorUi.actions.addAction('anonymizeCurrentPage', function() 42 var graph = editorUi.editor.graph; 62 label = editorUi.anonymizeString(label); 74 if (editorUi.currentPage != null) 76 model.execute(new RenamePage(editorUi, editorUi.currentPage, 77 editorUi.anonymizeString(editorUi.currentPage.getName()))); 86 var menu = editorUi.menus.get('extras'); 93 editorUi.menus.addMenuItems(menu, ['-', 'anonymizeCurrentPage'], parent);
|
H A D | update.js | 70 Draw.loadPlugin(function(editorUi) argument 72 if (editorUi.editor.isChromelessView()) 74 var graph = editorUi.editor.graph; 84 if (editorUi.createFile != null && editorUi.getCurrentFile() == null) 86 editorUi.createFile(editorUi.defaultFilename, null, null, null, null, null, null, true); 98 editorUi.alert(desc.tooltip); 106 var doc = editorUi.updateDiagram(xml); 127 var page = editorUi.currentPage; 128 var root = editorUi.editor.graph.getModel().getRoot(); 154 if (page === editorUi.currentPage) [all …]
|
H A D | tags.js | 14 Draw.loadPlugin(function(editorUi) argument 22 editorUi.actions.addAction('hiddenTags...', function() 24 if (editorUi.hiddenTagsWindow == null) 26 …editorUi.hiddenTagsWindow = new HiddenTagsWindow(editorUi, document.body.offsetWidth - 380, 120, 3… 35 editorUi.hiddenTagsWindow.window.setVisible(true); 36 editorUi.fireEvent(new mxEventObject('hiddenTags')); 40 editorUi.hiddenTagsWindow.window.setVisible(!editorUi.hiddenTagsWindow.window.isVisible()); 44 var menu = editorUi.menus.get('extras'); 54 var HiddenTagsWindow = function(editorUi, x, y, w, h) argument 56 var graph = editorUi.editor.graph; [all …]
|
H A D | animation.js | 4 Draw.loadPlugin(function(editorUi) argument 10 editorUi.actions.addAction('animation', function() 25 var menu = editorUi.menus.get('extras'); 32 editorUi.menus.addMenuItems(menu, ['-', 'animation'], parent); 173 var AnimationWindow = function(editorUi, x, y, w, h) argument 194 var root = editorUi.editor.graph.getModel().getRoot(); 315 if (editorUi.editor.isChromelessView()) 319 var root = editorUi.editor.graph.getModel().getRoot(); 328 run(editorUi.editor.graph, desc.split('\n'), true); 339 editorUi.editor.addListener('fileLoaded', startAnimation); [all …]
|
H A D | number.js | 9 var graph = format.editorUi.editor.graph;
|
/plugin/diagramsnet/lib/js/grapheditor/ |
H A D | Toolbar.js | 7 function Toolbar(editorUi, container) argument 9 this.editorUi = editorUi; 17 if (this.editorUi.currentMenu != null && mxEvent.getSource(evt) != this.editorUi.currentMenu.div) 308 var ui = this.editorUi; 600 this.editorUi.handleError(e); 613 this.editorUi.handleError(e); 628 this.editorUi.handleError(e); 642 this.editorUi.handleError(e); 655 this.editorUi.handleError(e); 668 this.editorUi.handleError(e); [all …]
|
H A D | Menus.js | 7 Menus = function(editorUi) argument 9 this.editorUi = editorUi; 46 var ui = this.editorUi; 720 this.editorUi.handleError(e); 740 this.editorUi.handleError(e); 786 this.editorUi.handleError(e); 806 this.editorUi.handleError(e); 1306 var ui = this.editorUi; 1690 this.editorUi = editorUi; 1699 this.editorUi.hideCurrentMenu(); [all …]
|
H A D | Format.js | 4 Format = function(editorUi, container) argument 6 this.editorUi = editorUi; 113 var ui = this.editorUi; 447 var ui = this.editorUi; 692 this.editorUi = editorUi; 710 var ui = this.editorUi; 1074 var ui = this.editorUi; 1323 var ui = this.editorUi; 1716 var ui = this.editorUi; 1899 var ui = this.editorUi; [all …]
|
H A D | Dialogs.js | 30 this.editorUi = editorUi; 58 editorUi.hideDialog(); 256 editorUi.hideDialog(); 302 editorUi.hideDialog(); 416 editorUi.hideDialog(); 517 editorUi.hideDialog(); 629 editorUi.hideDialog(); 677 editorUi.hideDialog(); 1222 editorUi.hideDialog(); 1327 editorUi.hideDialog(); [all …]
|
H A D | Editor.js | 901 editorUi.hideDialog(true); 1092 editorUi.hideDialog(); 1119 editorUi.hideDialog(); 1137 editorUi.hideDialog(); 1344 editorUi.hideDialog(); 1357 editorUi.hideDialog(); 1366 editorUi.hideDialog(); 1646 editorUi.hideDialog(); 1657 editorUi.hideDialog(); 2035 editorUi.hideDialog(); [all …]
|
H A D | Sidebar.js | 7 function Sidebar(editorUi, container) argument 9 this.editorUi = editorUi; 15 this.graph = editorUi.createTemporaryGraph(this.editorUi.editor.graph.getStylesheet()); 268 …return new mxPoint(this.container.offsetWidth + this.editorUi.splitSize + 10 + this.editorUi.conta… 2220 var graph = this.editorUi.editor.graph; 2378 this.editorUi.handleError(e); 2576 this.editorUi.handleError(e); 2601 var graph = this.editorUi.editor.graph; 2786 var ui = this.editorUi; 2835 if (this.editorUi.hoverIcons != null) [all …]
|
H A D | Actions.js | 7 function Actions(editorUi) argument 9 this.editorUi = editorUi; 19 var ui = this.editorUi; 1092 …var dlg = new FilenameDialog(this.editorUi, parseInt(graph.getView().getScale() * 100), mxResource… 1101 this.editorUi.showDialog(dlg.container, 300, 80, true, true); 1106 …var dlg = new FilenameDialog(this.editorUi, parseInt(graph.pageScale * 100), mxResources.get('appl… 1119 this.editorUi.showDialog(dlg.container, 300, 80, true, true); 1457 var dlg = new TextareaDialog(this.editorUi, mxResources.get('editStyle') + ':', 1465 this.editorUi.showDialog(dlg.container, 420, 300, true, true);
|
/plugin/diagramsnet/lib/js/diagramly/sidebar/ |
H A D | Sidebar.js | 386 done = this.editorUi.getServiceName() == 'draw.io'; 894 this.editorUi.addLibraryEntries(data, content); 918 this.editorUi.addLibraryEntries(images, content); 927 if (!this.editorUi.editor.isCorsEnabledForUrl(url)) 982 if (!this.editorUi.editor.isCorsEnabledForUrl(url)) 1293 if (!this.editorUi.isOffline() && results.length <= count / 4) 1314 this.editorUi.handleError(res); 1325 this.editorUi.handleError(e); 1342 this.editorUi.handleError(e); 1367 var graph = this.editorUi.editor.graph; [all …]
|
/plugin/diagramsnet/lib/js/diagramly/vsdx/ |
H A D | VsdxExport.js | 4 function VsdxExport(editorUi) argument 854 var pagesCount = editorUi.pages != null? editorUi.pages.length : 1; 875 if (editorUi.pages != null) 880 var graph = editorUi.editor.graph; 911 var currentPage = editorUi.currentPage; 921 var page = editorUi.pages[i]; 923 if (editorUi.currentPage != page) 925 editorUi.selectPage(page, true); 941 var graph = editorUi.editor.graph; 959 editorUi.spinner.stop(); [all …]
|
/plugin/diagramsnet/lib/js/ |
H A D | export.js | 112 var editorUi = new EditorUi(); 113 var tmpFile = new LocalFile(editorUi, xml); 114 editorUi.setCurrentFile(tmpFile); 115 editorUi.setFileData(xml); 116 …ipcRenderer.send('xml-data', mxUtils.getXml(editorUi.getXmlFileData(null, null, data.uncompressed)…
|