Lines Matching refs:actions

2169 …ningEvent=function(a){return!mxEvent.isPopupTrigger(a.getEvent())});this.actions=new Actions(this);
2199 arguments);d.updateActionStates()};a.editLink=d.actions.get("editLink").funct;this.updateActionStat…
2224 …asteActionStates=function(){var a=this.editor.graph,b=this.actions.get("paste"),d=this.actions.get…
2233 …essResize(!0)}));this.actions.get("zoomIn").funct=mxUtils.bind(this,function(b){a.zoomIn();this.ch…
2237actions.get("previousPage").funct();mxEvent.consume(a)}),Editor.previousImage,mxResources.get("pre…
2239actions.get("zoomOut").funct();mxEvent.consume(a)}),Editor.zoomOutImage,mxResources.get("zoomOut")…
2261 …dChromelessToolbarItems=function(a){a(mxUtils.bind(this,function(a){this.actions.get("print").func…
2281 ….graph.view.validateBackground(),this.editor.graph.sizeDidChange()):this.actions.get("pageView").f…
2282 ….graph.view.validateBackground(),this.editor.graph.sizeDidChange()):this.actions.get("pageView").f…
2283 EditorUi.prototype.addUndoListener=function(){var a=this.actions.get("undo"),b=this.actions.get("re…
2286actions.get(k[h]).setEnabled(c);this.actions.get("lockUnlock").setEnabled(!a.isSelectionEmpty());t…
2287actions.get("curved").setEnabled(e);this.actions.get("rotation").setEnabled(b);this.actions.get("w…
2288actions.get("collapsible").setEnabled(b&&(a.isContainer(a.getSelectionCell())||0<a.model.getChildC…
2289actions.get("editLink").setEnabled(1==f.length);this.actions.get("openLink").setEnabled(1==a.getSe…
2290 …is.actions.get("selectVertices").setEnabled(f);this.actions.get("selectEdges").setEnabled(f);this.
2335 …(e.isEnabled()){if(mxEvent.isShiftDown(a)&&mxEvent.isAltDown(a)){var c=d.actions.get(d.altShiftAct…
2337 mxUtils.bind(this,function(a,b,d,e){var f=this.actions.get(d);null!=f&&(d=function(){f.isEnabled()&…
2978 …e.opacity=.5,m.appendChild(g),mxEvent.addListener(g,"click",function(){a.actions.get("formatPanel"…
3018actions.get("toFront").funct()});e.setAttribute("title",mxResources.get("toFront")+" ("+this.edito…
3019actions.get("bringForward").funct()}),e.setAttribute("title",mxResources.get("bringForward")),e.st…
3021 …("group"),function(a){b.actions.get("group").funct()}),k.setAttribute("title",mxResources.get("gro…
3022actions.get("ungroup").funct()}),k.setAttribute("title",mxResources.get("ungroup")+" ("+this.edito…
3023actions.get("copySize").shortcut+")"),k.style.width="210px",k.style.marginBottom="2px",a.appendChi…
3024 …le","data.json");b.showDialog(a.container,450,240,!0,!0);a.init()}else b.actions.get("copyData").f…
3025actions.get("copyData").shortcut+") Shift+Click to Extract Data"),k.style.width="210px",k.style.ma…
3026 ….br(a),k=mxUtils.button(mxResources.get("removeFromGroup"),function(a){b.actions.get("removeFromGr…
3027actions.get("clearWaypoints").funct(a)})),k.setAttribute("title",mxResources.get("clearWaypoints")…
3028 …on(a){this.editorUi.actions.get("editLink").funct()})),k.setAttribute("title",mxResources.get("edi…
3037 …),h=mxUtils.button(c,function(a){b.actions.get("turn").funct(a)}),h.setAttribute("title",c+" ("+th…
3043 …t";u.setAttribute("title",mxResources.get("autosize")+" ("+this.editorUi.actions.get("autosize").s…
3044 …(){mxUtils.setOpacity(u,50)});mxEvent.addListener(u,"click",function(){d.actions.get("autosize").f…
3065actions.get("bold").shortcut+")");l[1].setAttribute("title",mxResources.get("italic")+" ("+this.ed…
3091 …ateCellOption(mxResources.get("formattedText"),"html",0,null,null,null,d.actions.get("formattedTex…
3126 …n(a){this.editorUi.actions.get("editStyle").funct()})),d.setAttribute("title",mxResources.get("edi…
3127 function(a){this.editorUi.actions.get("image").funct()})),b.setAttribute("title",mxResources.get("e…
3203 …s.editorUi.actions.get("setAsDefaultStyle").funct()}));b.setAttribute("title",mxResources.get("set…
3225 …Resources.get("pageView"),function(){return d.pageVisible},function(a){b.actions.get("pageView").f…
3228 …ctionArrows"),function(){return d.connectionArrowsEnabled},function(a){b.actions.get("connectionAr…
3229actions.get("connectionPoints").funct()},{install:function(a){this.listener=function(){a(d.connect…
3238actions.get("editData").funct()}));b.setAttribute("title",mxResources.get("editData")+" ("+this.ed…
3239 b.setAttribute("title",mxResources.get("clearDefaultStyle")+" ("+this.editorUi.actions.get("clearDe…
3498 …straint(new mxPoint(1,.5),!1)]})();function Actions(a){this.editorUi=a;this.actions={};this.init()}
3500actions.get("resetView").funct();1E-5>Math.abs(a-c.view.scale)&&b==c.view.translate.x&&e==c.view.t…
3519 …sEnabled()&&!c.isCellLocked(c.getDefaultParent())&&(c.clearSelection(),d.actions.get("image").func…
3550 …ntAt(b.state,h,f)}}});this.addAction("removeWaypoint",function(){var a=d.actions.get("removeWaypoi…
3559 …ns.prototype.put=function(a,b){return this.actions[a]=b};Actions.prototype.get=function(a){return …
3612 Menus.prototype.addMenuItem=function(a,b,d,e,c,f){var k=this.editorUi.actions.get(b);return null!=k…
3619 …l==c.bends[f].node||""==c.bends[f].node.style.opacity)&&(k=this.editorUi.actions.get("removeWaypoi…
3631 …" ("+this.editorUi.actions.get("zoomIn").shortcut+")"),b[1].setAttribute("title",mxResources.get("…
3632 …)+" ("+this.editorUi.actions.get("undo").shortcut+")");b[2].setAttribute("title",mxResources.get("…
3633 mxResources.get("delete")+" ("+this.editorUi.actions.get("delete").shortcut+")"));550<=a&&this.addI…
3650actions.get("undo").shortcut+")");d[2].setAttribute("title",mxResources.get("redo")+" ("+a.actions
3655 …mat"),!1,mxUtils.bind(this,function(a){c=a.addItem("",null,this.editorUi.actions.get("subscript").…
3656actions.get("superscript").funct,null,"geIcon geSprite geSprite-superscript");c.setAttribute("titl…
3659 …his.editorUi.actions.get("link").funct()}));a.addItem(mxResources.get("insertImage"),null,mxUtils.…
3671 …eturn e};Toolbar.prototype.addItem=function(a,b,d,e){var c=this.editorUi.actions.get(b),f=null;nul…
3736 …ind(this,function(){h.setSuspended(!0)}));h.init(f);var g=a.actions.get("zoomIn"),l=a.actions.get(…
10011 …e",mxEvent.addListener(b[0],"click",mxUtils.bind(this,function(){this.ui.actions.get("revisionHist…
10015 …="pointer",mxEvent.addListener(e[0],"click",mxUtils.bind(this,function(){this.ui.actions.get(null!=
10078actions.get("new").funct()});g.appendChild(k);mxUtils.br(g);k=document.createElement("button");k.c…
10268 …learSelection()}u=null!=y;k&&!c&&f();return 0==g.length||null!=y}var m=b.actions.get("findReplace"…
10546 …mathematicalTypesetting"),function(){return f.mathEnabled},function(b){c.actions.get("mathematical…
10571 …mxResources.get("copyStyle"),mxUtils.bind(this,function(b){this.editorUi.actions.get("copyStyle").…
10572actions.get("copyStyle").shortcut+")");f.style.marginBottom="2px";f.style.width="104px";f.style.ma…
10601actions.get("editStyle").funct()})),f.setAttribute("title",mxResources.get("editStyle")+" ("+this.…
10602 …mxResources.get("editImage"),mxUtils.bind(this,function(b){this.editorUi.actions.get("image").func…
10631 …bstring(0,17)&&(b=JSON.parse(b.substring(17)),null!=b.actions&&this.executeCustomActions(b.actions
10638 …,17))try{var f=JSON.parse(c.substring(17));null!=f.actions&&(this.updateCustomLinkActions(b,f.acti…
10788 "click",mxUtils.bind(this,function(b){this.actions.get("shapes").funct();mxEvent.consume(b)}));b.ap…
10885 …{var d=JSON.parse(c.substring(17));if(null!=d.actions){for(var e=0;e<d.actions.length;e++){var l=d…
11596 …mxResources.get("save"),mxUtils.bind(this,function(){this.stopSanityCheck();this.actions.get(null!=
11610 …ction(){EditorUi.prototype.updateActionStates.apply(this,arguments);this.actions.get("revisionHist…
11647 …ams.title?decodeURIComponent(urlParams.title):this.defaultFilename):this.actions.get("new").funct(…
11680 function(){this.hideDialog();this.actions.get("exportPdf").funct()}),mxUtils.bind(this,function(){f…
11715 …addListener(this.commentButton,"click",mxUtils.bind(this,function(){this.actions.get("comments").f…
11718 …t.addListener(this.shareButton,"click",mxUtils.bind(this,function(){this.actions.get("share").func…
11752 this.editor.graph.stopEditing(),this.actions.get("rename").funct());mxEvent.consume(b)}));this.fnam…
11755 function(b){this.actions.get("formatPanel").funct();mxEvent.consume(b)}));var e=mxUtils.bind(this,f…
11784actions.get("share").funct()})),n.className="geBtn",d.appendChild(n),this.userPanel.appendChild(d)…
11793 …tMenuItems=this.defaultMenuItems.filter(function(b){return"file"!=b}));c.actions.addAction("new...…
11795 …(b.container,window.innerWidth,window.innerHeight,!0,!1,null,!1,!0)}});c.actions.put("insertTempla…
11796 …!0,function(){c.sidebar.hideTooltip()});b.init()}})).isEnabled=k;var p=c.actions.addAction("points…
11797actions.addAction("inches",function(){c.editor.graph.view.setUnit(mxConstants.INCHES)});p.setToggl…
11798actions.addAction("meters",function(){c.editor.graph.view.setUnit(mxConstants.METERS)});p.setToggl…
11799 …leAction(!0);p.setSelectedCallback(function(){return null!=c.ruler});p=c.actions.addAction("fullsc…
11800actions.addAction("properties...",function(){var b=new FilePropertiesDialog(c);c.showDialog(b.cont…
11801 …nd.isDrawing()))})).isEnabled=function(){return k()&&mxClient.IS_SVG});c.actions.put("exportXml",n…
11803actions.put("exportUrl",new Action(mxResources.get("url")+"...",function(){c.showPublishLinkDialog…
11805 ".html","html",f,"text/html")}))})})}));c.actions.put("exportPdf",new Action(mxResources.get("forma…
11811actions.addAction("open...",function(){c.pickFile()});c.actions.addAction("close",function(){funct…
11812 …e")+":",630,400),c.showDialog(b.container,640,480,!0,!1),b.init())}}));c.actions.addAction("revisi…
11813actions.addAction("createRevision",function(){c.actions.get("save").funct()},null,null,Editor.ctrl…
11814 …e="+encodeURIComponent(b),null,!0))});"undefined"!==typeof MathJax&&(p=c.actions.addAction("mathem…
11815actions.addAction("showStartScreen",function(){mxSettings.setShowStartScreen(!mxSettings.getShowSt…
11816actions.addAction("copyStyle",function(){g.isEnabled()&&!g.isSelectionEmpty()&&(t=g.copyStyle(g.ge…
11817actions.put("pageBackgroundImage",new Action(mxResources.get("backgroundImage")+"...",function(){i…
11818 …b&&c.exportSvg(b/100,d,e,f,g,k,l,!m,!1,p,t,u,v)}),!0,null,"svg",!0)}));c.actions.put("exportPng",n…
11819 …downloadFile(d?"xmlpng":"png",null,null,b,null,null,e,f,g)}),!1,!0)}));c.actions.put("exportJpg",n…
11820 …g){c.downloadFile("jpeg",null,null,b,null,null,null,f,g)}),!0,!0)}));p=c.actions.addAction("copyAs…
11821actions.put("shadowVisible",new Action(mxResources.get("shadow"),function(){g.setShadowVisible(!g.…
11822actions.addAction("support...",function(){EditorUi.isElectronApp?c.openLink("https://github.com/jg…
11823actions.addAction("feedback...",function(){var b=new FeedbackDialog(c);c.showDialog(b.container,61…
11824 …"Fork me on GitHub...";c.actions.addAction("downloadDesktop...",function(){c.openLink("https://get…
11825 …{return null!=this.tagsWindow&&this.tagsWindow.window.isVisible()}));p=c.actions.addAction("findRe…
11827 …ndow":"findWindow";return null!=this[b]&&this[b].window.isVisible()}));c.actions.put("exportVsdx",…
11828 …0,!0,!0)}}));isLocalStorage&&null!=localStorage&&"1"!=urlParams.embed&&c.actions.addAction("config…
11834 …RankCellSpacing:100,interHierarchySpacing:60,parallelEdgeSpacing:10}}];c.actions.addAction("runLay…
11843 …,0);EditorUi.isElectronApp?(c.actions.addAction("website...",function(){c.openLink("https://www.di…
11844 …velop",b,d))})));mxResources.parse("diagramLanguage=Diagram Language");c.actions.addAction("diagra…
11846actions.addAction("createSidebarEntry",mxUtils.bind(this,function(){if(!g.isSelectionEmpty()){var …
11847 …x,b.y/d-c.y,b.width/d,b.height/d,"fillColor=none;strokeColor=red;")}));c.actions.addAction("testCh…
11850 …"380px";c.showDialog(b.container,620,460,!0,!0);b.init()}));var x=null;c.actions.addAction("testDi…
11852 … c.alert("No pages")}));c.actions.addAction("testInspect",mxUtils.bind(this,function(){console.log…
11854actions.addAction("testShowConsole",function(){mxLog.isVisible()?mxLog.window.fit():mxLog.show();m…
11855 …!1)).container,360,isLocalStorage?mxClient.IS_IOS?300:280:260,!0,!0)});c.actions.put("createShape"…
11856 640,480,!0,!1),b.init())})).isEnabled=k;c.actions.put("embedHtml",new Action(mxResources.get("html"…
11859 c.showDialog(e.container,450,240,!0,!0);e.init()}))})})}));c.actions.put("liveImage",new Action("Li…
11860actions.put("embedImage",new Action(mxResources.get("image")+"...",function(){c.showEmbedImageDial…
11861 ….get("image"),!0,"https://www.diagrams.net/doc/faq/embed-svg.html")}));c.actions.put("embedIframe"…
11862 …</iframe>');c.showDialog(p.container,450,240,!0,!0);p.init()})},!0)}));c.actions.put("embedNotion",
11863 …null,m,!0));c.showDialog(l.container,450,240,!0,!0);l.init()})},!0)}));c.actions.put("publishLink"…
11864actions.addAction("microsoftOffice...",function(){c.openLink("https://office.draw.io")});c.actions
11865actions.addAction("googleSheets...",function(){c.openLink("https://sheetsaddon.draw.io")});c.actio…
11866 …Params.plugins&&c.actions.addAction("plugins...",function(){c.showDialog((new PluginsDialog(c)).co…
11867 "1"==urlParams.embed&&(c.actions.get("save").funct=function(b){g.isEditing()&&g.stopEditing();var d…
11868actions.addAction("saveAndExit",function(){c.actions.get("save").funct(!0)}).label="1"==urlParams.…
11880 …"sketch"==e&&b.addCheckmark(f,Editor.checkmarkImage)})));p=this.editorUi.actions.addAction("rename…
11883 … this.enabled&&k.apply(this,arguments)};p.visible="1"!=urlParams.embed;c.actions.addAction("makeCo…
11885 …,!0),d.init()):c.editor.editAsNew(this.editorUi.getFileData(!0),d)}}));c.actions.addAction("moveTo…
11886 …],c)})));c.actions.put("useOffline",new Action(mxResources.get("useOffline")+"...",function(){c.op…
11887 function(){c.openLink("https://get.draw.io/")}));this.editorUi.actions.addAction("share...",mxUtils…
11890actions.put("insertText",new Action(mxResources.get("text"),function(){g.isEnabled()&&!g.isCellLoc…
11891actions.put("insertEllipse",new Action(mxResources.get("ellipse"),function(){g.isEnabled()&&!g.isC…
11909 p=c.actions.addAction("comments",mxUtils.bind(this,function(){if(null==this.commentsWindow)this.com…
11914 …["-","configuration"],d);b.addSeparator(d);"1"==urlParams.newTempDlg&&(c.actions.addAction("templa…
11946 …or.graph.standalone){this.actions.addAction("previousPage",mxUtils.bind(this,function(){this.selec…
11948 …late.y*b.view.scale+c.viewState.scrollTop),d=c);null!=this.actions.layersWindow&&this.actions.laye…
12015 …d==mxConstants.DIRECTION_EAST||d==mxConstants.DIRECTION_WEST)==e&&d!=c?u.actions.get("selectParent…
12017actions.addAction("selectChildren",function(){if(v.isEnabled()&&1==v.getSelectionCount()){var b=v.…
12018 …tTerminal(b[d],!1));v.setSelectionCells(c)}}},null,null,"Alt+Shift+S");u.actions.addAction("select…
12019 !0))}},null,null,"Alt+Shift+P");u.actions.addAction("selectDescendants",function(b,c){var d=v.getSe…
12025 …return k}}var F={88:u.actions.get("selectChildren"),84:u.actions.get("selectSubtree"),80:u.actions
12052actions.get("shapes").funct()});var f=new Menubar(b,c);if(!Editor.enableCustomLibraries||"1"==urlP…
12053 …ary"));e.appendChild(g);c.appendChild(e);mxEvent.addListener(e,"click",b.actions.get("newLibrary")…
12054 …ary"));e.appendChild(g);c.appendChild(e);mxEvent.addListener(e,"click",b.actions.get("openLibrary"…
12064 …null!=this.actions.layersWindow&&(b=this.actions.layersWindow.window.isVisible(),this.actions.laye…
12065 this.actions.layersWindow=null,b&&window.setTimeout(this.actions.get("layers").funct,0));null!=this…
12081actions.get("saveAndExit").funct()}));b.appendChild(c)}}else mxUtils.write(c,mxResources.get("save…
12082actions.get("saveAndExit").funct()})),b.appendChild(c));"1"!=urlParams.noExitBtn&&(c=document.crea…
12087actions.outlineWindow&&(this.actions.outlineWindow.window.setVisible(!1),this.actions.outlineWindo…
12088 (this.actions.layersWindow.window.setVisible(!1),this.actions.layersWindow.destroy(),this.actions.l…
12090actions.get("editDiagram").label=mxResources.get("formatXml")+"...";c.actions.get("createShape").l…
12091actions.get("tags").label=mxResources.get("tags")+"...";c.actions.get("forkme").visible="1"!=urlPa…
12092actions.put("togglePagesVisible",new Action(mxResources.get("pages"),function(b){c.setPagesVisible…
12093actions.put("formatSql",new Action(mxResources.get("formatSql")+"...",function(){var b=new ParseDi…
12094actions.get("formatPanel").shortcut;EditorUi.enablePlantUml&&!c.isOffline()&&c.actions.put("plantU…
12115actions.get("toggleShapes").funct,null,mxResources.get("shapes"),m.actions.get("image"),b?Editor.s…
12116 g([e,f(mxResources.get("delete"),m.actions.get("delete").funct,null,mxResources.get("delete"),m.act…
12143 ….marginBottom="14px"})();b(m.actions.get("insertFreehand"),mxResources.get("freehand"),Editor.free…
12144 S.style.margin="0px";S.style.width="37px";d(S,null,"pointer");b(m.actions.get("insertTemplate"),mxR…
12146actions.get("customZoom").funct():m.actions.get("smartFit").funct()},ia=m.actions.get("zoomIn"),U=…
12147 …esVisible)?"inline-block":"none"};ja.parentNode.removeChild(ja);var oa=m.actions.get("delete"),ua=…
12148 …ged",Z);V.addListener("stateChanged",Z);Z();null!=urlParams.layers&&(Z=m.actions.get("layers"),Z=f…
12149 …gs&&(Z=m.actions.get("tags"),Z=f("",Z.funct,null,mxResources.get("tags"),Z,Editor.tagsImage),Z.sty…
12151 "1"==urlParams.embedInline&&(N.appendChild(ja),Y=m.actions.get("exit"),N.appendChild(f("",Y.funct,n…
12157 …);null!=m.formatWindow&&m.formatWindow.window.fit();null!=m.actions.outlineWindow&&m.actions.outli…
12158 null!=m.actions.layersWindow&&m.actions.layersWindow.window.fit();null!=m.menus.tagsWindow&&m.menus…