Lines Matching refs:getSelectionCells
345 …Cells:function(a,b,c){a.removeCells(b,c)},copy:function(a,b){b=b||a.getSelectionCells();var c=a.ge…
1280 mxGraph.prototype.updateSelection=function(){for(var a=this.getSelectionCells(),b=[],c=0;c<a.length…
1312 mxGraph.prototype.setCellStyle=function(a,b){b=b||this.getSelectionCells();if(null!=b){this.model.b…
1313 …getSelectionCells());var d=null;null!=c&&0<c.length&&(d=this.getCurrentCellStyle(c[0]),d=mxUtils.g…
1314 …setCellStyleFlags=function(a,b,c,d){d=d||this.getEditableCells(this.getSelectionCells());null!=d&&…
1315 …pe.alignCells=function(a,b,c){null==b&&(b=this.getMovableCells(this.getSelectionCells()));if(null!…
1320 …ion(a,b,c){null==b&&(b=mxUtils.sortCells(this.getEditableCells(this.getSelectionCells()),!0));this…
1322 mxGraph.prototype.groupCells=function(a,b,c){null==c&&(c=mxUtils.sortCells(this.getSelectionCells()…
1326 ….getCellsForUngroup=function(){for(var a=this.getEditableCells(this.getSelectionCells()),b=[],c=0;…
1327 mxGraph.prototype.removeCellsFromParent=function(a){null==a&&(a=this.getSelectionCells());this.mode…
1328 mxGraph.prototype.updateGroupBounds=function(a,b,c,d,e,f,g){null==a&&(a=this.getSelectionCells());b…
1339 …unction(a,b){b=null!=b?b:!0;null==a&&(a=this.getDeletableCells(this.getSelectionCells()));if(b)a=t…
1345 mxGraph.prototype.toggleCells=function(a,b,c){null==b&&(b=this.getSelectionCells());c&&(b=this.addA…
1346 …on(a,b,c,d,e){b=null!=b?b:!1;null==c&&(c=this.getFoldableCells(this.getSelectionCells(),a));this.s…
1477 …ction(){return this.getSelectionModel().cells[0]};mxGraph.prototype.getSelectionCells=function(){r… method in mxGraph
1574 …ction&&this.graph.isCellMovable(a)?[a]:this.graph.getMovableCells(this.graph.getSelectionCells())};
1635 …nCellsHandler.prototype.getHandledSelectionCells=function(){return this.graph.getSelectionCells()};
2059 …Cells(mxUtils.sortCells(this.graph.model.getTopmostCells(this.graph.getSelectionCells())));if(0!=t…
2191 …tEditing())document.execCommand("copy",!1,null);else{for(var e=e||c.getSelectionCells(),e=c.getExp…
2240 …ible=b;c.preferPageSize=b;c.view.validateBackground();if(e){var p=c.getSelectionCells();c.clearSel…
2251 …tes=function(){var b=this.editor.graph,c=!1,e=!1,k=!1,g=!1,p=[],t=b.getSelectionCells();if(null!=t…
2252 …p.length);this.actions.get("turn").setEnabled(0<b.getResizableCells(b.getSelectionCells()).length);
2275 …function(){var b=this.editor.graph;if(b.isEnabled())try{for(var c=b.getSelectionCells(),e=new mxDi…
2297 …nabled())if(d=null!=d?d:1,f){k.getModel().beginUpdate();try{var c=k.getSelectionCells();for(f=0;f<…
2298 …Handler;null!=g&&(null==g.first&&g.start(k.getSelectionCell(),0,0,k.getSelectionCells()),null!=g.f…
2343 …==f||this.isSelectionEmpty()||this.isCellSelected(f.cell)?null:this.getSelectionCells()}}));this.a…
2377 …turn b};Graph.prototype.filterSelectionCells=function(b){var d=this.getSelectionCells();if(null!=b…
2430 …on(b,c,e,k,g){c=null!=c?c:!1;null==e&&(e=this.getFoldableCells(this.getSelectionCells(),b));if(nul…
2553 …raph.prototype.updateLabelElements=function(b,d,f){b=null!=b?b:this.getSelectionCells();for(var c=…
2573 …()})};Graph.prototype.duplicateCells=function(b,d){b=null!=b?b:this.getSelectionCells();d=null!=d?…
2577 …E])};Graph.prototype.distributeCells=function(b,d){null==d&&(d=this.getSelectionCells());if(null!=…
2581 this.getBoundingBox(this.getSelectionCells()),x=this.view.scale;"diagram"==v&&null!=this.background…
2644 …s.state.cell,mxEvent.getClientX(b),mxEvent.getClientY(b),this.graph.getSelectionCells()),this.grap…
2954 …getSelectionCells()),b);null!=b&&g.setSelectionCells(b)}function c(){if(!g.isSelectionEmpty()){g.g…
2962 …ize){g.getModel().beginUpdate();try{for(var b=g.getResizableCells(g.getSelectionCells()),d=0;d<b.l…
2964 …null!=e.copiedValue){c.beginUpdate();try{var l=g.getEditableCells(g.getSelectionCells());if(0==l.l…
2965 …get("reverse"),function(b,d){b=null!=d?d:b;g.turnShapes(g.getResizableCells(g.getSelectionCells()),
2967 …(){if(!g.isSelectionEmpty()){g.getModel().beginUpdate();try{var b=g.getSelectionCells(),d=g.getCur…
2969 …tion("group",function(){if(g.isEnabled()){var b=mxUtils.sortCells(g.getSelectionCells(),!0);1!=b.l…
2970 …n("ungroup",function(){if(g.isEnabled()){var b=g.getEditableCells(g.getSelectionCells());g.model.b…
2971 …is.addAction("removeFromGroup",function(){if(g.isEnabled()){var b=g.getSelectionCells();if(null!=b…
2977 …funct()})).isEnabled=p;this.addAction("autosize",function(){var b=g.getSelectionCells();if(null!=b…
2978 …(g.getSelectionCells()),b="1"==mxUtils.getValue(b,"html","0")?null:"1";g.getModel().beginUpdate();…
2982 …(){var b=g.isSelectionEmpty()?g.getGraphBounds():g.getBoundingBox(g.getSelectionCells()),d=g.view.…
2993 …iting(!1);g.getModel().beginUpdate();try{var b=g.getEditableCells(g.getSelectionCells());g.toggleC…
2997 …SHED,mxConstants.STYLE_DASH_PATTERN],"values",[null,null],"cells",g.getSelectionCells()))}finally{…
2998 …ASHED,mxConstants.STYLE_DASH_PATTERN],"values",["1",null],"cells",g.getSelectionCells()))}finally{…
2999 …getSelectionCells()))}finally{g.getModel().endUpdate()}});this.addAction("sharp",function(){g.getM…
3000 …getSelectionCells()))}finally{g.getModel().endUpdate()}});this.addAction("toggleRounded",function(…
3001 ….STYLE_ROUNDED,mxConstants.STYLE_CURVED],"values",[c,"0"],"cells",g.getSelectionCells()))}finally{…
3002 …getSelectionCells()))}finally{g.getModel().endUpdate()}});this.addAction("collapsible",function(){…
3003 mxUtils.bind(this,function(){var b=g.getEditableCells(g.getSelectionCells());if(null!=b&&0<b.length…
3005 …this.addAction("clearWaypoints",function(b,d){b=null!=d?d:b;var c=g.getSelectionCells();if(null!=c…
3008 …)g.cellEditor.restoreSelection(m),g.insertImage(b,d,c);else{var f=g.getSelectionCells();if(null!=b…
3032 …++;var c=this.ui.editor.graph.getViewState(),e=this.ui.editor.graph.getSelectionCells(),p=this.ui.…
3242 …getSelectionCells()),e.push(c.countProperty),g.push(l.length))}u.setCellStyles(b,d,u.getSelectionC…
3243 …vent(new mxEventObject("styleChanged","keys",e,"values",g,"cells",u.getSelectionCells()))}finally{…
3280 …prototype.createTagsDialog=function(b,d,c){function f(){for(var b=l.getSelectionCells(),d=[],c=0;c…
3286 …",function(d){v.checked?l.addTagsForCells(l.getSelectionCells(),[b]):l.removeTagsForCells(l.getSel…
3288 …]);m.sort();l.isSelectionEmpty()?g(m):g(m,l.getCommonTagsForCells(l.getSelectionCells()))}});l.sel…
3396 …c.min.js";if(null!=c){var d=k?c.getGraphBounds():c.getBoundingBox(c.getSelectionCells()),l=c.view.…
3439 mxResources.get("nothingIsSelected"),mxResources.get("ok"));else{var d=B.getSelectionCells(),c=B.vi…