/**
  * Instantiate each child view.
  *
  * @param table model
  * @param child component name
  */
 protected View createChild(CCActionTableModel tableModel, String name) {
   if (name.equals(CHILD_ACTION_TABLE)) {
     // Action table.
     CCActionTable child = new CCActionTable(this, tableModel, name);
     tableModel.setShowSelectionSortIcon(false);
     return child;
   } else if (tableModel.isChildSupported(name)) {
     // Create child from action table model.
     return tableModel.createChild(this, name);
   } else {
     throw new IllegalArgumentException("Invalid child name [" + name + "]");
   }
 }
  /**
   * Instantiate each child view.
   *
   * @param table model
   * @param child component name
   * @param tiled view name
   */
  protected View createChild(CCActionTableModel tableModel, String name, String tiledViewName) {

    // e.g. tileViewName can be "FileSystemSummaryView.CHILD_TILED_VIEW"

    if (name.equals(CHILD_ACTION_TABLE)) {
      // Action table.
      CCActionTable child = new CCActionTable(this, tableModel, name);
      tableModel.setShowSelectionSortIcon(false);
      child.setTiledView((ContainerView) getChild(tiledViewName));
      return child;
    } else if (tableModel.isChildSupported(name)) {
      // Create child from action table model.
      return tableModel.createChild(this, name);
    } else {
      throw new IllegalArgumentException("Invalid child name [" + name + "]");
    }
  }
  protected View createChild(String name) {
    View view = null;

    if (name.equals(PGTITLE_THREE_BTNS)) {
      view = new CCPageTitle(this, ptModel, name);
    } else if (name.equals(PROPERTIES)) {
      view = new CCTextField(this, name, "");
    } else if (ptModel.isChildSupported(name)) {
      view = ptModel.createChild(this, name);
    } else if (tblModel.isChildSupported(name)) {
      view = tblModel.createChild(this, name);
    } else if (name.equals(TBL_PROPERTIES)) {
      view = new CCActionTable(this, tblModel, name);
    } else {
      view = super.createChild(name);
    }
    return view;
  }