private Icon getIcon() {
		if (dockingAction.getToolBarData() != null) {
			return dockingAction.getToolBarData().getIcon();
		}
		else if (dockingAction.getMenuBarData() != null) {
			return dockingAction.getMenuBarData().getMenuIcon();
		}
		else if (dockingAction.getPopupMenuData() != null) {
			return dockingAction.getPopupMenuData().getMenuIcon();
		}
		return null;
	}
This is only for use when converting actions from docking actions to those to be used
in Swing components.  The context system does not work as expected in this case.

<p>Most clients should use {@link #ActionAdapter(DockingActionIf, ActionContextProvider)}
@param dockingAction the action to adapt
Ghidra/Framework/Docking/src/main/java/docking/actions/ActionAdapter.java