private void adjustCursorForDataChange() {
		BigInteger index = cursorPosition.getIndex();
		if (index == null) {
			return;
		}
		Layout layout = model.getLayout(index);
		if (layout == null) {
			index = getIndexBefore(index);
			if (index != null) {
				cursorPosition.setIndex(index);
			}
		}

	}
Sets the layout model for this field panel

@param model the layout model to use.
Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/FieldPanel.java