Lines Matching refs:getSelectionCount

1511 …nction(){return this.getSelectionModel().clear()};mxGraph.prototype.getSelectionCount=function(){r…  method in mxGraph
1517 …)?c?this.removeSelectionCell(a):this.addSelectionCell(a):c&&1==this.getSelectionCount()||this.setS…
1606 …l,e=d.getGeometry(c);this.graph.isCellMovable(c)&&(!d.isEdge(c)||1<this.graph.getSelectionCount()||
1779 …MOVABLE_VERTEX);if(0>=mxGraphHandler.prototype.maxCells||this.graph.getSelectionCount()<mxGraphHan…
1783 …this.state.cell)&&(0>=mxGraphHandler.prototype.maxCells||this.graph.getSelectionCount()<mxGraphHan…
1839 …leVisible=function(a){return!this.graph.isEditing()&&1==this.state.view.graph.getSelectionCount()};
1852 …container))}this.graph.isCellEditable(this.state.cell)&&(this.graph.getSelectionCount()<mxGraphHan…
1916 …leVisible=function(a){return!this.graph.isEditing()&&1==this.state.view.graph.getSelectionCount()};
2286 …bled(1==a.getSelectionCount());this.actions.get("clearWaypoints").setEnabled(c);this.actions.get("…
2287 …("autosize").setEnabled(b);e=b&&1==a.getSelectionCount();this.actions.get("group").setEnabled(1<a.
2288 ….get("enterGroup").setEnabled(1==a.getSelectionCount()&&a.isValidRoot(a.getSelectionCell()));d=1==…
2289 …etEnabled(1==f.length);this.actions.get("openLink").setEnabled(1==a.getSelectionCount()&&null!=a.g…
2290 b&&1<a.getSelectionCount());this.menus.get("distribute").setEnabled(f&&b&&1<a.getSelectionCount());…
2332 e.getSelectionCell(),f=e.model.getParent(d),g=e.getView().scale;c=null;1==e.getSelectionCount()&&e.…
2541 …orUi.editor.graph;e.container.focus();if(mxEvent.isAltDown(d)&&1==e.getSelectionCount()&&e.model.i…
2593 …entY(c)),u.start(c.x,c.y)):null!=L?this.addSelectionCells(L):1<this.getSelectionCount()&&this.isCe…
2704 …s.currentState,this.getDirection(),e):this.isActive()?1==this.graph.getSelectionCount()&&this.grap…
2911 this.graph.getSelectionCount()&&(this.delayedSelection=!1)}}else mxPanningHandler.prototype.isPanni…
2926 …ionShape.node&&(this.rotationShape.node.style.display=1==this.graph.getSelectionCount()?"":"none")…
2927 …le(this.state.cell))this.refreshMoveHandles();else if(1==this.graph.getSelectionCount()&&(this.gra…
2928 …specialHandle.node.style.display=this.graph.isEnabled()&&this.graph.getSelectionCount()<this.graph…
2929 …=function(b,c){try{if(null==b&&(null==c||0==c.length)||1<this.graph.getSelectionCount())null!=this…
2933 …raph.getSelectionCount()?"":"none");null!=this.labelShape&&(this.labelShape.node.style.display=thi…
2937getSelectionCount()?"":"none"}null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotat…
3019 ")");e.style.width="104px";a.appendChild(e);1==d.getSelectionCount()&&(mxUtils.br(a),e=mxUtils.butt…
3021 …f=0,k=null;a.style.paddingTop="8px";a.style.paddingBottom="6px";1<d.getSelectionCount()?(k=mxUtils…
3024 "104px";h.style.marginBottom="2px"}0<d.getSelectionCount()&&(0<f&&(mxUtils.br(a),f=0),k=mxUtils.but…
3048getSelectionCount()||null==f.width||null==f.height)k.style.display="none";else{k.style.display="";…
3554 …==a.length&&c.setCellStyles(mxConstants.STYLE_SHAPE,null,e);if(1==c.getSelectionCount()&&null!=b&&…
3615 …ddPopupMenuStyleItems=function(a,b,d){1==this.editorUi.editor.graph.getSelectionCount()?this.addMe…
3616getSelectionCount()&&this.addMenuItems(a,["bringForward","sendBackward"],null,d));1<e.getSelection…
3618 …aph,c=e.view.getState(b);a.addSeparator();if(null!=c){var f=!1;1==e.getSelectionCount()&&e.getMode…
3619 …e.getModel().getGeometry(b);f=null!=c&&null!=c.points&&0<c.points.length}1==e.getSelectionCount()&&
3620 …eCount(b))&&this.addMenuItems(a,["-","clearWaypoints"],null,d);1==e.getSelectionCount()&&e.isCellE…
3752 …is,function(){g.moveCells(g.getSelectionCells(),0,0,!1,c)}),b);1==g.getSelectionCount()&&g.model.i…
3819 …ction(a,c,b){var e=this.editorUi.editor.graph,f=!1;if(null!=a&&1==e.getSelectionCount()&&e.getMode…
10267 …ed()&&!p.isCellLocked(t.cell)?e||p.getSelectionCell()==t.cell&&1==p.getSelectionCount()||p.setSele…
11811 …ditShape...",mxUtils.bind(this,function(){g.getSelectionCells();if(1==g.getSelectionCount()){var b=
12016 …nus.createPopupMenu=function(c,d,e){A.apply(this,arguments);if(1==v.getSelectionCount()){d=v.getSe…
12017 …ctions.addAction("selectChildren",function(){if(v.isEnabled()&&1==v.getSelectionCount()){var b=v.g…
12018getSelectionCount()){var b=v.getSelectionCell(),b=v.getIncomingTreeEdges(b);if(null!=b&&0<b.length…
12026 !v.isEditing()&&b(v.getSelectionCell())&&1==v.getSelectionCount()){var d=null;0<v.getIncomingTreeEd…
12084 …bled()&&(b.addSeparator(),1==e.getSelectionCount()&&this.addMenuItems(b,["-","lockUnlock"],null,d)…
12107 …xUtils.bind(this,function(e,f){0<c.getSelectionCount()?(b.appendChild(d),d.innerHTML="Selected: "+…