Lines Matching refs:isSelectionEmpty
1510 …a){return this.getSelectionModel().isSelected(a)};mxGraph.prototype.isSelectionEmpty=function(){re… method in mxGraph
2218 …his.editor.graph;!this.isImmediateEditingEvent(a)||b.isEditing()||b.isSelectionEmpty()||0===a.whic…
2286 …et(k[h]).setEnabled(c);this.actions.get("lockUnlock").setEnabled(!a.isSelectionEmpty());this.actio…
2331 EditorUi.prototype.createKeyHandler=function(a){function b(a,b,c){if(!e.isSelectionEmpty()&&e.isEna…
2335 …ons[a.keyCode]);if(null!=c)return c.funct}if(null!=h[a.keyCode]&&!e.isSelectionEmpty())if(!this.is…
2542 …ellToVisible(e.getSelectionCell()))}else mxEvent.isShiftDown(d)&&!e.isSelectionEmpty()?(d=e.getEdi…
2592 …ventName")){var c=b.getProperty("event").getState();L=null==c||this.isSelectionEmpty()||this.isCel…
2686 …unction(){this.isEditing()&&this.stopEditing(!0);this.escape();this.isSelectionEmpty()||this.clear…
2853 …=this.updateMouseEvent(f),b=this.isCellSelected(f.getCell()),c=this.isSelectionEmpty(),d=this.popu…
2854 (this.popupMenuHandler.popupTrigger||!d&&!f&&(c&&null==e.getCell()&&this.isSelectionEmpty()||b&&thi…
2974 …e){var g=mxUtils.bind(this,function(e){k!=a&&(f?this.labelIndex=d:b.isSelectionEmpty()?this.diagra…
2975 …ull==k||d==(f?this.labelIndex:b.isSelectionEmpty()?this.diagramIndex:this.currentIndex))&&g()}),l=…
3499 …ctionCells()),a);null!=a&&c.setSelectionCells(a)}function b(){if(!c.isSelectionEmpty()){c.getModel…
3500 …nct()});this.addAction("keyPressEnter",function(){c.isEnabled()&&(c.isSelectionEmpty()?d.actions.g…
3507 …hift+X");this.addAction("pasteSize",function(){if(c.isEnabled()&&!c.isSelectionEmpty()&&null!=d.co…
3509 …setValue(b,d)}a=null!=b?b:a;var f=c.getModel();if(c.isEnabled()&&!c.isSelectionEmpty()&&null!=d.co…
3512 …or.ctrlKey+"+Shift+A");this.addAction("lockUnlock",function(){if(!c.isSelectionEmpty()){c.getModel…
3522 …c.cellEditor.restoreSelection(k);null!=a&&c.insertLink(a)}))}else c.isSelectionEmpty()?this.get("i…
3527 …d) / Alt+Mousewheel");this.addAction("fitWindow",function(){var a=c.isSelectionEmpty()?c.getGraphB…
3545 …el().endUpdate()}});this.addAction("toggleRounded",function(){if(!c.isSelectionEmpty()&&c.isEnable…
3548 …E");this.addAction("setAsDefaultStyle",function(){c.isEnabled()&&!c.isSelectionEmpty()&&d.setDefau…
3581 …itorUi.executeLayout(function(){e.execute(b.getDefaultParent(),a);b.isSelectionEmpty()||(a=b.getMo…
3614 …addPopupMenuHistoryItems=function(a,b,d){this.editorUi.editor.graph.isSelectionEmpty()&&this.addMe…
3615 …isSelectionEmpty()?this.addMenuItems(a,["pasteHere"],null,d):this.addMenuItems(a,"delete - cut cop…
3622 …dPopupMenuSelectionItems=function(a,b,d){this.editorUi.editor.graph.isSelectionEmpty()&&this.addMe…
3747 …,[c]));H.setAttribute("title",mxResources.get("duplicateIt",[c]));g.isSelectionEmpty()&&(z.classNa…
3752 !g.isSelectionEmpty()){var c=mxUtils.getOffset(z);a.showPopupMenu(mxUtils.bind(this,function(a,b){f…
3756 …hanged",h);g.selectionModel.addListener(mxEvent.CHANGE,function(){g.isSelectionEmpty()?z.className…
10288 mxUtils.trim(d[l]);""!=m&&0>mxUtils.indexOf(c,m)&&e.push(m)}0<e.length&&(k.isSelectionEmpty()?f(c.c…
10620 …0;e<d.length;e++)0>mxUtils.indexOf(g,d[e])&&g.push(d[e]);g.sort();m.isSelectionEmpty()?l(g):l(g,m.…
10707 …tFunction,e=this.editor.graph,g=this;f.getFunction=function(b){if(e.isSelectionEmpty()&&null!=g.pa…
10738 …function(b,c,d,e,g,k,n,v,x,A,z,B){try{e=null!=e?e:this.editor.graph.isSelectionEmpty();var f=this.…
10770 …tNode.removeChild(l),l=null)}),D=mxUtils.bind(this,function(b){if(y.isSelectionEmpty())y.getRubber…
10786 …("viewStateChanged",mxUtils.bind(this,function(b){this.editor.graph.isSelectionEmpty()&&c.refresh(…
10825 …ocument.body,mxResources.get("export")))try{var f=this.editor.graph.isSelectionEmpty();d=null!=d?d…
10853 …addCheckbox(f,mxResources.get("selectionOnly"),!1,this.editor.graph.isSelectionEmpty()),n=e?null:t…
10856 …isSelectionEmpty()),E=document.createElement("input");E.style.marginTop="16px";E.style.marginRight…
10857 …hecked?E.removeAttribute("disabled"):E.setAttribute("disabled","disabled")}));l.isSelectionEmpty()?
10879 …ocument.body,mxResources.get("exporting"))){var f=this.editor.graph.isSelectionEmpty();d=null!=d?d…
11737 …mat||null!=b&&this.fileEditable==b.isEditable()||!this.editor.graph.isSelectionEmpty()||(this.form…
11802 b.appendChild(e);var f=c.addCheckbox(b,mxResources.get("selectionOnly"),!1,g.isSelectionEmpty()),k=…
11808 …isSelectionEmpty()),x=c.addCheckbox(d,mxResources.get("crop"),!1,!0),z=c.addCheckbox(d,mxResources…
11816 …isSelectionEmpty()&&(t=g.copyStyle(g.getSelectionCell()))},null,null,Editor.ctrlKey+"+Shift+C");c.…
11841 g.isSelectionEmpty()?null:g.getSelectionCells())},!1)}),d);b.addSeparator(d);c.menus.addMenuItem(b,…
11846 …s.addAction("createSidebarEntry",mxUtils.bind(this,function(){if(!g.isSelectionEmpty()){var b=g.cl…
11996 …c=this.createUrlParameters(c,d,e,l,m,p);e||c.push("hide-pages=1");g.isSelectionEmpty()||(e=g.getBo…
12085 …isSelectionEmpty()&&e.isEnabled()?(b.addSeparator(),this.addMenuItems(b,["editData"],null,d),b.add…
12086 …=function(b,c,d){u.apply(this,arguments);this.editorUi.editor.graph.isSelectionEmpty()&&this.addMe…