public void setPreferenceKey(String preferenceKey) {

		this.preferenceKey = preferenceKey;
		if (!(columnModel instanceof GTableColumnModel)) {
			throw new AssertException(
				"Setting preference key has no effect if not using a GTableColumnModel");
		}
		((GTableColumnModel) columnModel).restoreState();
	}
Sets the key for saving and restoring column configuration state.  Use this if you have
multiple instances of a table and you want different column settings for each instance.

@param preferenceKey the unique string to use a key for this instance.
Ghidra/Framework/Docking/src/main/java/docking/widgets/table/GTable.java