public Component getTableCellRendererComponent(
        JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {
      if (!(value instanceof FileColorConfiguration)) {
        return this;
      }

      preinit(table, isSelected, hasFocus);

      final FileColorConfiguration configuration = (FileColorConfiguration) value;
      setText(configuration.getScopeName());
      return this;
    }
  private static List<FileColorConfiguration> copy(
      @NotNull final List<FileColorConfiguration> configurations) {
    final List<FileColorConfiguration> result = new ArrayList<FileColorConfiguration>();
    for (FileColorConfiguration c : configurations) {
      try {
        result.add(c.clone());
      } catch (CloneNotSupportedException e) {
        assert false : "Should not happen!";
      }
    }

    return result;
  }