@Override
	public void actionPerformed(ActionEvent e) {
		ActionContext context = null;
		if (contextProvider != null) {
			context = contextProvider.getActionContext(null);
		}
		if (context == null) {
			context = new DefaultActionContext();
			context.setSourceObject(e.getSource());
		}
		if (dockingAction.isEnabledForContext(context)) {
			dockingAction.actionPerformed(context);
		}
		else if (defaultAction != null) {
			defaultAction.actionPerformed(e);
		}
	}
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