@Override
	public boolean isValidContext(ActionContext context) {
		return context.getContextObject() == component;
	}
Constructor

@param name the name of the action
@param owner the name of the owner of the action.
@param component the color bar component.
@param help the help location for this action.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/overview/AbstractColorOverviewAction.java