Lines Matching refs:getSelectionCell
1322 …ction(a,b){null!=b&&mxEvent.isMultiTouchEvent(b)||(null==a&&(a=this.getSelectionCell(),null==a||th…
1346 …te()}}};mxGraph.prototype.toggleCellStyle=function(a,b,c){c=c||this.getSelectionCell();return this…
1428 …(a){return null};mxGraph.prototype.enterGroup=function(a){a=a||this.getSelectionCell();null!=a&&th…
1442 …r c=Math.round(this.view.scale*a*100)/100,d=this.view.getState(this.getSelectionCell());a=c/this.v…
1511 …n(){return this.getSelectionModel().cells.length};mxGraph.prototype.getSelectionCell=function(){re… method in mxGraph
2192 …tring(e.currentVertexStyle.fontSize||"12"),c=e.getView().getState(e.getSelectionCell());null!=c&&(…
2287 …getSelectionCell()));this.actions.get("ungroup").setEnabled(d);this.actions.get("removeFromGroup")…
2288 …getSelectionCell())||0<a.model.getChildCount(a.getSelectionCell())));this.actions.get("home").setE…
2289 …ink").setEnabled(1==a.getSelectionCount()&&null!=a.getLinkForCell(a.getSelectionCell()));this.acti…
2332 …getSelectionCell(),f=e.model.getParent(d),g=e.getView().scale;c=null;1==e.getSelectionCount()&&e.m…
2335 ….isAltDown(a)){if(e.model.isVertex(e.getSelectionCell()))return function(){var b=e.connectVertex(e…
2336 …-1]),e.scrollCellToVisible(e.getSelectionCell()),null!=d.hoverIcons&&d.hoverIcons.update(e.view.ge…
2521 …torUi.hoverIcons&&this.editorUi.hoverIcons.update(a.view.getState(a.getSelectionCell()))}),d,0,0,g…
2541 …getSelectionCell())){b=null;for(var c=0;c<a.length&&null==b;c++)e.model.isVertex(a[c])&&(b=c);null…
2542 mxConstants.DIRECTION_SOUTH,b,d)),e.scrollCellToVisible(e.getSelectionCell()))}else mxEvent.isShift…
2704 …=this.graph.getSelectionCount()&&this.graph.model.isEdge(this.graph.getSelectionCell())?this.reset…
2784 …ell=function(a,b,c){if(b||c)l.apply(this,arguments);else{var d=this.getSelectionCell(),e=null,f=[]…
3022 …marginBottom="2px",a.appendChild(k),f++);if(d.getModel().isVertex(d.getSelectionCell())&&(0<f&&(mx…
3506 …0)}catch(n){}a||e()}});this.addAction("copySize",function(){var a=c.getSelectionCell();c.isEnabled…
3508 null,null,"Alt+Shift+V");this.addAction("copyData",function(){var a=c.getSelectionCell()||c.getMode…
3510 …try{c.setSelectionCells(c.duplicateCells()),c.scrollCellToVisible(c.getSelectionCell())}catch(g){d…
3511 …nections",new Action(mxResources.get("selectEdges"),function(a){a=c.getSelectionCell();c.isEnabled…
3512 …nUpdate();try{var a=c.getSelectionCells(),b=c.getCurrentCellStyle(c.getSelectionCell()),d=1==mxUti…
3516 …ll,null,"F2/Enter");this.addAction("editData...",function(){var a=c.getSelectionCell()||c.getModel…
3517 null,Editor.ctrlKey+"+M");this.addAction("editTooltip...",function(){var a=c.getSelectionCell();if(…
3518 … a=c.getLinkForCell(c.getSelectionCell());null!=a&&c.openLink(a)});this.addAction("editLink...",fu…
3521 …etModel().endUpdate()}c.setSelectionCell(b);c.scrollCellToVisible(c.getSelectionCell())}},!0)})).i…
3525 …);this.addAction("wordWrap",function(){var a=c.getView().getState(c.getSelectionCell()),b="wrap";c…
3526 function(){var a="0",b=c.getView().getState(c.getSelectionCell());null!=b&&(a=b.style[mxConstants.S…
3547 …}});this.addAction("collapsible",function(){var a=c.view.getState(c.getSelectionCell()),b="1";null…
3548 …ltStyle",function(){c.isEnabled()&&!c.isSelectionEmpty()&&d.setDefaultStyle(c.getSelectionCell())},
3549 …ctrlKey+"+Shift+R");this.addAction("addWaypoint",function(){var a=c.getSelectionCell();if(null!=a&…
3552 …("image")+" ("+mxResources.get("url")+"):",b=c.getView().getState(c.getSelectionCell()),e="";null!…
3571 …e",new Menu(mxUtils.bind(this,function(a,c){var d=b.view.getState(b.getSelectionCell());null!=d&&(…
3578 …ces.get("horizontalTree"),null,mxUtils.bind(this,function(){var a=b.getSelectionCell(),c=null;null…
3579 …urces.get("verticalTree"),null,mxUtils.bind(this,function(){var a=b.getSelectionCell(),c=null;null…
3580 …sources.get("radialTree"),null,mxUtils.bind(this,function(){var a=b.getSelectionCell(),c=null;null…
3582 …c){a.forceConstant=c;this.editorUi.executeLayout(function(){var c=b.getSelectionCell();if(null==c|…
3583 b.getSelectionCell();if(null==c||0==b.getModel().getChildCount(c))c=b.getDefaultParent();a.execute(…
3589 …ertTableCellItem=function(a,b){var d=this.editorUi.editor.graph,e=d.getSelectionCell(),c=d.getCurr…
3607 …ion(){var a=this.editorUi.editor.graph,b=e,f=a.getView().getState(a.getSelectionCell());null!=f&&(…
3610 …torUi));this.colorDialog.currentColorKey=a;d=c.getView().getState(c.getSelectionCell());var h="non…
3752 …s(),0,0,!1,c)}),b);1==g.getSelectionCount()&&g.model.isAncestor(c,g.getSelectionCell())&&a.addChec…
3819 …odel().isVertex(a[0])){var g=e.cloneCell(a[0]);if(e.getModel().isEdge(e.getSelectionCell())&&null==
3820 …getSelectionCell(),!1)&&e.getModel().isVertex(g)){e.getModel().beginUpdate();try{var h=e.view.getS…
10132 …setSelectionCells(m.importCells(q,k.x,k.y)),m.scrollCellToVisible(m.getSelectionCell()))}else if("…
10135 m.scrollCellToVisible(m.getSelectionCell())}}}else{var H=function(b){var c=M[b];null==c&&(c=new mxC…
10137 …SelectionCells(u);b.editor.graph.scrollCellToVisible(b.editor.graph.getSelectionCell());m.destroy(…
10203 …p=function(f,d){if(null!=f){var e=g?null:n.getModel().getGeometry(n.getSelectionCell());null!=e?m(…
10267 …llCellToVisible(t.cell);p.isEnabled()&&!p.isCellLocked(t.cell)?e||p.getSelectionCell()==t.cell&&1=…
11796 …(d.x,20),Math.max(d.y,20),!0,null,null,!0));g.scrollCellToVisible(g.getSelectionCell())}},null,nul…
11812 g.getSelectionCell(),d=g.view.getState(b);null!=d&&null!=d.shape&&null!=d.shape.stencil&&(b=new Edi…
11816 …",function(){g.isEnabled()&&!g.isSelectionEmpty()&&(t=g.copyStyle(g.getSelectionCell()))},null,nul…
11837 …,e,f),l=b.getDefaultParent();1<b.model.getChildCount(b.getSelectionCell())&&(l=b.getSelectionCell(…
11872 …on(b){c.spinner.stop();g.setSelectionCells(b);g.scrollCellToVisible(g.getSelectionCell())})}),k)});
11873 …(b){c.spinner.stop();g.setSelectionCells(b);g.scrollCellToVisible(g.getSelectionCell())})}),p=mxUt…
11931 …gleFontUrl(e)?(e=null,d="g"):d="w")))}else f=b.getView().getState(b.getSelectionCell()),null!=f&&(…
12016 …getSelectionCell();var f=v.getOutgoingTreeEdges(d);c.addSeparator();0<f.length&&(b(v.getSelectionC…
12017 …ren",function(){if(v.isEnabled()&&1==v.getSelectionCount()){var b=v.getSelectionCell(),b=v.getOutg…
12018 …getSelectionCell(),b=v.getIncomingTreeEdges(b);if(null!=b&&0<b.length&&(b=v.getOutgoingTreeEdges(v…
12019 …t+P");u.actions.addAction("selectDescendants",function(b,c){var d=v.getSelectionCell();if(v.isEnab…
12026 …getSelectionCell())&&1==v.getSelectionCount()){var d=null;0<v.getIncomingTreeEdges(v.getSelectionC…
12027 …getSelectionCell()),mxEvent.consume(c);else if(mxEvent.isAltDown(c)&&mxEvent.isShiftDown(c)){var e…
12084 …"lockUnlock"],null,d)):1==e.getSelectionCount()?(e.isCellFoldable(e.getSelectionCell())&&this.addM…
12095 …xUtils.bind(this,function(b,c){var d=this.editorUi.editor.graph,e=d.getSelectionCell();g.call(this…