@Override
		public boolean isEnabledForContext(ActionContext context) {
			if (myButton == null) {
				return false; // no menu items; no drop-down menu
			}
			ComponentProvider provider = context.getComponentProvider();
			return provider == dockableComponent.getComponentProvider();
		}
Constructor for component providers
@param owner the action owner, typically a plugin
Ghidra/Framework/Docking/src/main/java/docking/DockableToolBarManager.java