public void addFactory(FieldFactory factory, int rowIndex, int colIndex) {
		ListingHighlightProvider hsProvider = formatMgr.getFormatHighlightProvider();
		ToolOptions displayOptions = formatMgr.getDisplayOptions();
		ToolOptions fieldOptions = formatMgr.getFieldOptions();
		FieldFactory ff = factory.newInstance(this, hsProvider, displayOptions, fieldOptions);
		if (rowIndex == rows.size()) {
			rows.add(new Row());
		}

		Row row = rows.get(rowIndex);
		row.insertField(ff, colIndex);
		findWidth();
		formatMgr.modelChanged(this);
	}
Adds a new field to this format.
@param factory the FieldFactory to add
@param rowIndex the row to add the field to
@param colIndex the position in the row for the new field.
Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/format/FieldFormatModel.java