/** * Called if any cells have been added. Calls swimlaneAdded for all swimlanes * where isSwimlaneIgnored returns false. */ protected void cellsAdded(Object[] cells) { if (cells != null) { mxIGraphModel model = getGraph().getModel(); model.beginUpdate(); try { for (int i = 0; i < cells.length; i++) { if (!isSwimlaneIgnored(cells[i])) { swimlaneAdded(cells[i]); } } } finally { model.endUpdate(); } } }
/** * Called if any cells have been added. Calls swimlaneAdded for all swimlanes * where isSwimlaneIgnored returns false. */ protected void cellsAdded(Object[] cells) { if (cells != null) { mxIGraphModel model = getGraph().getModel(); model.beginUpdate(); try { for (int i = 0; i < cells.length; i++) { if (!isSwimlaneIgnored(cells[i])) { swimlaneAdded(cells[i]); } } } finally { model.endUpdate(); } } }
if (child != swimlane && !this.isSwimlaneIgnored(child))
if (child != swimlane && !this.isSwimlaneIgnored(child))
if (!this.isSwimlaneIgnored(swimlane))
if (!this.isSwimlaneIgnored(swimlane))
if (!this.isSwimlaneIgnored(cells[i]))
if (!this.isSwimlaneIgnored(cells[i]))