public Component getEditorComponent() {
		if (editor == null) {
			// can occur if support has been dropped for custom state/option
			editor =
				new ErrorPropertyEditor("Ghidra does not know how to render state: " + name, null);
			return editor.getCustomEditor();
		}
		if (editor.supportsCustomEditor()) {
			return editor.getCustomEditor();
		}
		if (editor.getValue() instanceof Boolean) {
			return new PropertyBoolean(editor);
		}
		if (editor.getTags() != null) {
			return new PropertySelector(editor);
		}
		if (editor.getAsText() != null) {
			return new PropertyText(editor);
		}

		Class<? extends PropertyEditor> clazz = editor.getClass();
		String clazzName = clazz.getSimpleName();
		if (clazzName.startsWith("String")) {
			// Most likely some kind of string editor with a null value.  Just use a string
			// property and let the value be empty.
			return new PropertyText(editor);
		}

		editor.removePropertyChangeListener(this);
		editor = new ErrorPropertyEditor(Application.getName() +
			" does not know how to use PropertyEditor: " + editor.getClass().getName(), null);
		return editor.getCustomEditor();
	}
Returns true if the contained PropertyEditor desired to render and handle it's options
directly, as opposed to using the generic framework.
@return true if the contained PropertyEditor desired to render and handle it's options
directly, as opposed to using the generic framework.
Ghidra/Framework/Gui/src/main/java/ghidra/framework/options/EditorState.java