public void removePreferenceStateSupplier(String key) {
		if (key == null) {
			throw new IllegalArgumentException("Key is null!");
		}

		preferenceStateMap.remove(key);
	}
Removes the supplier of the preference state for the given key.  

@param key the key with which to store the preferences.
@see #registerPreferenceStateSupplier(String, Supplier)
Ghidra/Framework/Docking/src/main/java/docking/DockingWindowManager.java