private void updateColor() {
		if (panel.getCurrentComponent() == this) {
			if (editMode) {
				setFocusedCursorColor(editColor);
			}
			else {
				setFocusedCursorColor(currentCursorColor);
			}
		}
	}
Set the edit mode according to the given param if the model for this view supports editing.

@param editMode true means to enable editing, and change the cursor color.
Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/byteviewer/ByteViewerComponent.java