Lines Matching refs:getSelectionCells

379 …Cells:function(a,b,c){a.removeCells(b,c)},copy:function(a,b){b=b||a.getSelectionCells();var c=a.ge…
1314 mxGraph.prototype.updateSelection=function(){for(var a=this.getSelectionCells(),b=[],c=0;c<a.length…
1346 mxGraph.prototype.setCellStyle=function(a,b){b=b||this.getSelectionCells();if(null!=b){this.model.b…
1347getSelectionCells());var d=null;null!=c&&0<c.length&&(d=this.getCurrentCellStyle(c[0]),d=mxUtils.g…
1348 …setCellStyleFlags=function(a,b,c,d){d=d||this.getEditableCells(this.getSelectionCells());null!=d&&…
1349 …pe.alignCells=function(a,b,c){null==b&&(b=this.getMovableCells(this.getSelectionCells()));if(null!…
1354 …ion(a,b,c){null==b&&(b=mxUtils.sortCells(this.getEditableCells(this.getSelectionCells()),!0));this…
1356 mxGraph.prototype.groupCells=function(a,b,c){null==c&&(c=mxUtils.sortCells(this.getSelectionCells()…
1360 ….getCellsForUngroup=function(){for(var a=this.getEditableCells(this.getSelectionCells()),b=[],c=0;…
1361 mxGraph.prototype.removeCellsFromParent=function(a){null==a&&(a=this.getSelectionCells());this.mode…
1362 mxGraph.prototype.updateGroupBounds=function(a,b,c,d,e,f,g){null==a&&(a=this.getSelectionCells());b…
1373 …unction(a,b){b=null!=b?b:!0;null==a&&(a=this.getDeletableCells(this.getSelectionCells()));if(b)a=t…
1379 mxGraph.prototype.toggleCells=function(a,b,c){null==b&&(b=this.getSelectionCells());c&&(b=this.addA…
1380 …on(a,b,c,d,e){b=null!=b?b:!1;null==c&&(c=this.getFoldableCells(this.getSelectionCells(),a));this.s…
1511 …ction(){return this.getSelectionModel().cells[0]};mxGraph.prototype.getSelectionCells=function(){r… method in mxGraph
1608 …ction&&this.graph.isCellMovable(a)?[a]:this.graph.getMovableCells(this.graph.getSelectionCells())};
1669 …nCellsHandler.prototype.getHandledSelectionCells=function(){return this.graph.getSelectionCells()};
2093 …Cells(mxUtils.sortCells(this.graph.model.getTopmostCells(this.graph.getSelectionCells())));if(0!=t…
2225 …tEditing())document.execCommand("copy",!1,null);else{for(var c=c||b.getSelectionCells(),c=b.getExp…
2274 …ible=a;b.preferPageSize=a;b.view.validateBackground();if(d){var f=b.getSelectionCells();b.clearSel…
2285 …tes=function(){var a=this.editor.graph,b=!1,d=!1,e=!1,c=!1,f=[],k=a.getSelectionCells();if(null!=k…
2286 …f.length);this.actions.get("turn").setEnabled(0<a.getResizableCells(a.getSelectionCells()).length);
2309 …function(){var a=this.editor.graph;if(a.isEnabled())try{for(var b=a.getSelectionCells(),d=new mxDi…
2331 …nabled())if(b=null!=b?b:1,c){e.getModel().beginUpdate();try{var d=e.getSelectionCells();for(c=0;c<…
2332 …Handler;null!=h&&(null==h.first&&h.start(e.getSelectionCell(),0,0,e.getSelectionCells()),null!=h.f…
2520 …Thread);if(null!=e&&null!=x&&K==y){var k=a.isCellSelected(x.cell)?a.getSelectionCells():[x.cell],k…
2542 …Event.isShiftDown(d)&&!e.isSelectionEmpty()?(d=e.getEditableCells(e.getSelectionCells()),this.upda…
2592 …==c||this.isSelectionEmpty()||this.isCellSelected(c.cell)?null:this.getSelectionCells()}}));this.a…
2626 …turn a};Graph.prototype.filterSelectionCells=function(a){var b=this.getSelectionCells();if(null!=a…
2679 …on(a,b,d,e,c){b=null!=b?b:!1;null==d&&(d=this.getFoldableCells(this.getSelectionCells(),a));if(nul…
2802 …raph.prototype.updateLabelElements=function(a,b,c){a=null!=a?a:this.getSelectionCells();for(var d=…
2822 …()})};Graph.prototype.duplicateCells=function(a,b){a=null!=a?a:this.getSelectionCells();b=null!=b?…
2826 …E])};Graph.prototype.distributeCells=function(a,b){null==b&&(b=this.getSelectionCells());if(null!=…
2830 this.getBoundingBox(this.getSelectionCells()),Y=this.view.scale;"diagram"==p&&null!=this.background…
2893 …s.state.cell,mxEvent.getClientX(a),mxEvent.getClientY(a),this.graph.getSelectionCells()),this.grap…
2963 …reateSelectionState=function(){for(var a=this.editorUi.editor.graph.getSelectionCells(),b=this.ini…
3024 …"),function(a){if(mxEvent.isShiftDown(a)){var c=d.getDataForCells(d.getSelectionCells());a=new Emb…
3130 a,d.getSelectionCells())}),g="image"==e.style.shape?mxConstants.STYLE_IMAGE_BACKGROUND:mxConstants.…
3499getSelectionCells()),a);null!=a&&c.setSelectionCells(a)}function b(){if(!c.isSelectionEmpty()){c.g…
3507 …ize){c.getModel().beginUpdate();try{for(var a=c.getResizableCells(c.getSelectionCells()),b=0;b<a.l…
3509 …null!=d.copiedValue){f.beginUpdate();try{var g=c.getEditableCells(c.getSelectionCells());if(0==g.l…
3510 …get("reverse"),function(a,b){a=null!=b?b:a;c.turnShapes(c.getResizableCells(c.getSelectionCells()),
3512 …(){if(!c.isSelectionEmpty()){c.getModel().beginUpdate();try{var a=c.getSelectionCells(),b=c.getCur…
3514 …tion("group",function(){if(c.isEnabled()){var a=mxUtils.sortCells(c.getSelectionCells(),!0);1!=a.l…
3515 …n("ungroup",function(){if(c.isEnabled()){var a=c.getEditableCells(c.getSelectionCells());c.model.b…
3516 …is.addAction("removeFromGroup",function(){if(c.isEnabled()){var a=c.getSelectionCells();if(null!=a…
3522 …funct()})).isEnabled=f;this.addAction("autosize",function(){var a=c.getSelectionCells();if(null!=a…
3523 …(c.getSelectionCells()),a="1"==mxUtils.getValue(a,"html","0")?null:"1";c.getModel().beginUpdate();…
3527 …(){var a=c.isSelectionEmpty()?c.getGraphBounds():c.getBoundingBox(c.getSelectionCells()),b=c.view.…
3538 …iting(!1);c.getModel().beginUpdate();try{var a=c.getEditableCells(c.getSelectionCells());c.toggleC…
3542 …SHED,mxConstants.STYLE_DASH_PATTERN],"values",[null,null],"cells",c.getSelectionCells()))}finally{…
3543 …ASHED,mxConstants.STYLE_DASH_PATTERN],"values",["1",null],"cells",c.getSelectionCells()))}finally{…
3544getSelectionCells()))}finally{c.getModel().endUpdate()}});this.addAction("sharp",function(){c.getM…
3545getSelectionCells()))}finally{c.getModel().endUpdate()}});this.addAction("toggleRounded",function(…
3546 ….STYLE_ROUNDED,mxConstants.STYLE_CURVED],"values",[e,"0"],"cells",c.getSelectionCells()))}finally{…
3547getSelectionCells()))}finally{c.getModel().endUpdate()}});this.addAction("collapsible",function(){…
3548 mxUtils.bind(this,function(){var a=c.getEditableCells(c.getSelectionCells());if(null!=a&&0<a.length…
3550 …this.addAction("clearWaypoints",function(a,b){a=null!=b?b:a;var d=c.getSelectionCells();if(null!=d…
3553 …)c.cellEditor.restoreSelection(f),c.insertImage(a,b,d);else{var e=c.getSelectionCells();if(null!=a…
3561 …,"cells",[b.cellEditor.getEditingCell()]))},function(){b.updateLabelElements(b.getSelectionCells(),
3578getSelectionCells();a.execute(b.getDefaultParent(),0==c.length?null:c)},!0)}),c);a.addItem(mxResou…
3602 ….graph;a.stopEditing(!1);a.getModel().beginUpdate();try{for(var b=a.getSelectionCells(),c=[],f=0;f…
3605 …g(!1);e.getModel().beginUpdate();try{for(var c=e.getEditableCells(e.getSelectionCells()),f=!1,k=0;…
3611 …ireEvent(new mxEventObject("styleChanged","keys",[a],"values",[e],"cells",d.getSelectionCells()))};
3616 …tion(a,b,d){var e=this.editorUi.editor.graph;0<e.getEditableCells(e.getSelectionCells()).length&&(…
3686 …"styleChanged","keys",[this.currentColorKey],"values",[a],"cells",b.getSelectionCells()))}finally{…
3737 …,100,!0,!0);c.init()}}function k(){var a=C.get(g.getLayerForCells(g.getSelectionCells()));null!=a?…
3752 …s.get("background"),null,mxUtils.bind(this,function(){g.moveCells(g.getSelectionCells(),0,0,!1,c)}…
9992 …++;var c=this.ui.editor.graph.getViewState(),d=this.ui.editor.graph.getSelectionCells(),e=this.ui.…
10277 …n(){M.innerHTML="";if(F.value){var c=b.currentPage,f=b.editor.graph.getSelectionCells();b.editor.g…
10288 …<e.length&&(k.isSelectionEmpty()?f(c.concat(e)):k.addTagsForCells(k.getSelectionCells(),e))}},mxRe…
10574getSelectionCells()),e.push(f.countProperty),l.push(m.length))}t.setCellStyles(b,c,t.getSelectionC…
10575 …vent(new mxEventObject("styleChanged","keys",e,"values",l,"cells",t.getSelectionCells()))}finally{…
10612 …prototype.createTagsDialog=function(b,c,f){function d(){for(var b=m.getSelectionCells(),c=[],f=0;f…
10618 …",function(c){n.checked?m.addTagsForCells(m.getSelectionCells(),[b]):m.removeTagsForCells(m.getSel…
10620 …]);g.sort();m.isSelectionEmpty()?l(g):l(g,m.getCommonTagsForCells(m.getSelectionCells()))}});m.sel…
10728 …c.min.js";if(null!=c){var f=k?c.getGraphBounds():c.getBoundingBox(c.getSelectionCells()),m=c.view.…
10771 mxResources.get("nothingIsSelected"),mxResources.get("ok"));else{var c=y.getSelectionCells(),f=y.vi…
11811 …);c.actions.addAction("editShape...",mxUtils.bind(this,function(){g.getSelectionCells();if(1==g.ge…
11816getSelectionCells(),d=[],e=0;e<b.length;e++)g.getModel().isVertex(b[e])&&d.push(b[e]);0<d.length&&…
11820 …d(this,function(){var b=mxUtils.sortCells(g.model.getTopmostCells(g.getSelectionCells())),d=mxUtil…
11841 g.isSelectionEmpty()?null:g.getSelectionCells())},!1)}),d);b.addSeparator(d);c.menus.addMenuItem(b,…
11846 …bind(this,function(){if(!g.isSelectionEmpty()){var b=g.cloneCells(g.getSelectionCells()),d=g.getBo…
11924 ….cellEditor.getEditingCell()]))},function(){n.updateLabelElements(n.getSelectionCells(),function(b…
11996 …|c.push("hide-pages=1");g.isSelectionEmpty()||(e=g.getBoundingBox(g.getSelectionCells()),d=g.view.…
12002 …on(c,d,e,n,f){d=null!=d?d:!1;null==e&&(e=this.getFoldableCells(this.getSelectionCells(),c));this.s…
12020 …unction(c,d){d=null!=d?d:!0;null==c&&(c=this.getDeletableCells(this.getSelectionCells()));d&&(c=th…
12021 … B=v.duplicateCells;v.duplicateCells=function(c,d){c=null!=c?c:this.getSelectionCells();for(var e=…