private Icon getIcon(ActionState<T> actionState) {
		Icon icon = actionState.getIcon();
		if (icon != null) {
			return icon;
		}

		if (defaultIcon != null) {
			return defaultIcon;
		}

		return EMPTY_ICON;
	}
Add the supplied {@code ActionState}.

@param actionState the {@code ActionState} to add
Ghidra/Framework/Docking/src/main/java/docking/menu/MultiStateDockingAction.java