Object[] cells = new Object[]{stepCell};
Object[] cells = new Object[1 + stepCell.getChildCount()]; cells[0] = stepCell; Object[] children = stepCell.getChildren().toArray(); System.arraycopy(children, 0, cells, 1, children.length);
  public void insertStepCell(StepCell stepCell, Map attributes, ParentMap pm, UndoableEdit[] edits)  {    stepCells.add(stepCell);    Utils.checkId(context, stepCell.getDescriptor());    Object[] cells = new Object[]{stepCell};    // Insert into Model    insert(cells, attributes, null, pm, edits);    recordResults(stepCell);  }