Lines Matching refs:ui

19 	var ui = this.editorUi;
20 var editor = ui.editor;
28 this.addAction('new...', function() { graph.openLink(ui.getUrl()); });
34 ui.openFile();
44 ui.actions.get('resetView').funct();
49 ui.actions.get((graph.pageVisible) ? 'fitPage' : 'fitWindow').funct();
58 ui.actions.get('smartFit').funct();
74 ui.hideDialog();
91 ui.showDialog(new OpenDialog(this).container, 320, 220, true, true, function()
96 …this.addAction('save', function() { ui.saveFile(false); }, null, null, Editor.ctrlKey + '+S').isEn…
97 …this.addAction('saveAs...', function() { ui.saveFile(true); }, null, null, Editor.ctrlKey + '+Shif…
98 …this.addAction('export...', function() { ui.showDialog(new ExportDialog(ui).container, 300, 340, t…
101 var dlg = new EditDiagramDialog(ui);
102 ui.showDialog(dlg.container, 620, 420, true, false);
105 …this.addAction('pageSetup...', function() { ui.showDialog(new PageSetupDialog(ui).container, 320, …
106 …this.addAction('print...', function() { ui.showDialog(new PrintDialog(ui).container, 300, 180, tru…
110 this.addAction('undo', function() { ui.undo(); }, null, 'sprite-undo', Editor.ctrlKey + '+Z');
111 …this.addAction('redo', function() { ui.redo(); }, null, 'sprite-redo', (!mxClient.IS_WIN) ? Editor…
118 cells = ui.copyXml();
139 ui.copyXml();
152 ui.handleError(e);
165 ui.readGraphModelFromClipboard(function(xml)
172 ui.pasteXml(xml, true);
261 ui.readGraphModelFromClipboard(function(xml)
268 pasteCellsHere(ui.pasteXml(xml, true));
306 ui.copiedSize = new mxRectangle(geo.x, geo.y, geo.width, geo.height);
313 if (graph.isEnabled() && !graph.isSelectionEmpty() && ui.copiedSize != null)
330 geo.width = ui.copiedSize.width;
331 geo.height = ui.copiedSize.height;
355 ui.copiedValue = value;
386 if (graph.isEnabled() && !graph.isSelectionEmpty() && ui.copiedValue != null)
396 applyValue(model.getRoot(), ui.copiedValue);
402 applyValue(cells[i], ui.copiedValue);
478 ui.handleError(e);
646 ui.showDataDialog(cell);
677 … var dlg = new TextareaDialog(ui, mxResources.get('editTooltip') + ':', tooltip, function(newValue)
681 ui.showDialog(dlg.container, 320, 200, true, true);
702 ui.showLinkDialog(value, mxResources.get('apply'), function(link, docs, linkTarget)
715 ui.actions.get('image').funct();
722 ui.showLinkDialog('', mxResources.get('insert'), function(link, docs, linkTarget)
809 ui.showLinkDialog(oldValue, mxResources.get('apply'), mxUtils.bind(this, function(value)
915 ui.fireEvent(new mxEventObject('styleChanged', 'keys', ['html'],
947 var dlg = new FilenameDialog(ui, value, mxResources.get('apply'), function(newValue)
955 ui.showDialog(dlg.container, 375, 80, true, true);
962 ui.resetScrollbars();
968 graph.lazyZoom(true, true, ui.buttonZoomDelay);
979 graph.lazyZoom(false, true, ui.buttonZoomDelay);
1009 ui.resetScrollbars();
1112 var change = new ChangePageSetup(ui, null, null, null, val / 100);
1129 ui.fireEvent(new mxEventObject('gridEnabledChanged'));
1138 ui.fireEvent(new mxEventObject('guidesEnabledChanged'));
1147 ui.fireEvent(new mxEventObject('tooltipsEnabledChanged'));
1154 var change = new ChangePageSetup(ui);
1166 ui.setScrollbars(!ui.hasScrollbars());
1172 ui.setPageVisible(!graph.pageVisible);
1179 ui.fireEvent(new mxEventObject('connectionArrowsChanged'));
1186 ui.fireEvent(new mxEventObject('connectionPointsChanged'));
1193 ui.fireEvent(new mxEventObject('copyConnectChanged'));
1200 ui.editor.setAutosave(!ui.editor.autosave);
1203 action.setSelectedCallback(function() { return ui.editor.autosave; });
1226 ui.showDialog(new AboutDialog(ui).container, 320, 280, true, true, function()
1313 …this.addAction('fontColor...', function() { ui.menus.pickColor(mxConstants.STYLE_FONTCOLOR, 'forec…
1314 …this.addAction('strokeColor...', function() { ui.menus.pickColor(mxConstants.STYLE_STROKECOLOR); }…
1315 this.addAction('fillColor...', function() { ui.menus.pickColor(mxConstants.STYLE_FILLCOLOR); });
1316 …this.addAction('gradientColor...', function() { ui.menus.pickColor(mxConstants.STYLE_GRADIENTCOLOR…
1317 …this.addAction('backgroundColor...', function() { ui.menus.pickColor(mxConstants.STYLE_LABEL_BACKG…
1318 …this.addAction('borderColor...', function() { ui.menus.pickColor(mxConstants.STYLE_LABEL_BORDERCOL…
1321 …this.addAction('vertical', function() { ui.menus.toggleStyle(mxConstants.STYLE_HORIZONTAL, true); …
1322 this.addAction('shadow', function() { ui.menus.toggleStyle(mxConstants.STYLE_SHADOW); });
1330ui.fireEvent(new mxEventObject('styleChanged', 'keys', [mxConstants.STYLE_DASHED, mxConstants.STYL…
1345ui.fireEvent(new mxEventObject('styleChanged', 'keys', [mxConstants.STYLE_DASHED, mxConstants.STYL…
1360ui.fireEvent(new mxEventObject('styleChanged', 'keys', [mxConstants.STYLE_DASHED, mxConstants.STYL…
1375ui.fireEvent(new mxEventObject('styleChanged', 'keys', [mxConstants.STYLE_ROUNDED, mxConstants.STY…
1390ui.fireEvent(new mxEventObject('styleChanged', 'keys', [mxConstants.STYLE_ROUNDED, mxConstants.STY…
1411ui.fireEvent(new mxEventObject('styleChanged', 'keys', [mxConstants.STYLE_ROUNDED, mxConstants.STY…
1427ui.fireEvent(new mxEventObject('styleChanged', 'keys', [mxConstants.STYLE_ROUNDED, mxConstants.STY…
1446 ui.fireEvent(new mxEventObject('styleChanged', 'keys', ['collapsible'],
1473 ui.setDefaultStyle(graph.getSelectionCell());
1480 ui.clearDefaultStyle();
1520 var rmWaypointAction = ui.actions.get('removeWaypoint');
1604 ui.showImageDialog(title, value, function(newValue, w, h)
1687 this.layersWindow = new LayersWindow(ui, document.body.offsetWidth - 280, 120, 212, 200);
1690 ui.fireEvent(new mxEventObject('layers'));
1695 ui.fireEvent(new mxEventObject('layers'));
1698 ui.fireEvent(new mxEventObject('layers'));
1711 ui.toggleFormatPanel();
1714 action.setSelectedCallback(mxUtils.bind(this, function() { return ui.formatWidth > 0; }));
1720 this.outlineWindow = new OutlineWindow(ui, document.body.offsetWidth - 260, 100, 180, 180);
1723 ui.fireEvent(new mxEventObject('outline'));
1728 ui.fireEvent(new mxEventObject('outline'));
1731 ui.fireEvent(new mxEventObject('outline'));