function () { this.showTasks(); } 0) || this.graph.isSwimlane(cell)) { mxUtils.para(div, 'Layout'); mxUtils.linkAction(div, mxResources.get('verticalTree'), this, 'verticalTree', off); mxUtils.br(div); mxUtils.linkAction(div, mxResources.get('horizontalTree'), this, 'horizontalTree', off); mxUtils.br(div); } mxUtils.para(div, 'Format'); if (mxUtils.isNode(cell.value, 'Symbol')) { mxUtils.linkAction(div, mxResources.get('image'), this, 'image', off); mxUtils.br(div); } else { mxUtils.linkAction(div, mxResources.get('opacity'), this, 'opacity', off); mxUtils.br(div); if (this.graph.model.isVertex(cell) || (cell.style != null && cell.style.indexOf("arrowEdge") >= 0)) { mxUtils.linkAction(div, mxResources.get('gradientColor'), this, 'gradientColor', off); mxUtils.br(div); } if (this.graph.model.isEdge(cell)) { mxUtils.linkAction(div, 'Straight Connector', this, 'straightConnector', off); mxUtils.br(div); mxUtils.linkAction(div, 'Elbow Connector', this, 'elbowConnector', off); mxUtils.br(div); mxUtils.linkAction(div, 'Arrow Connector', this, 'arrowConnector', off); mxUtils.br(div); } } mxUtils.linkAction(div, 'Rounded', this, 'toggleRounded', off); mxUtils.br(div); if (this.graph.isSwimlane(cell) || this.graph.model.isEdge(cell)) { mxUtils.linkAction(div, 'Orientation', this, 'toggleOrientation', off); mxUtils.br(div); } if (this.graph.getSelectionCount() > 1) { mxUtils.para(div, mxResources.get('align')); mxUtils.linkAction(div, mxResources.get('left'), this, 'alignCellsLeft', off); mxUtils.br(div); mxUtils.linkAction(div, mxResources.get('center'), this, 'alignCellsCenter', off); mxUtils.br(div); mxUtils.linkAction(div, mxResources.get('right'), this, 'alignCellsRight', off); mxUtils.br(div); mxUtils.linkAction(div, mxResources.get('top'), this, 'alignCellsTop', off); mxUtils.br(div); mxUtils.linkAction(div, mxResources.get('middle'), this, 'alignCellsMiddle', off); mxUtils.br(div); mxUtils.linkAction(div, mxResources.get('bottom'), this, 'alignCellsBottom', off); mxUtils.br(div); } mxUtils.para(div, mxResources.get('selection')); mxUtils.linkAction(div, mxResources.get('clearSelection'), this, 'selectNone', off); mxUtils.br(div); } else if (layer.getChildCount() > 0) { mxUtils.para(div, mxResources.get('selection')); mxUtils.linkAction(div, mxResources.get('selectAll'), this, 'selectAll', off); mxUtils.br(div); } mxUtils.br(div); } } ]]>