Bug 139176 Javadoc problems in ExternalActionManager
Build id: I20060427-0800 I was looking at the generated javadoc for ExternalActionManager. The class javadoc has this line, which should be removed: * This API is still under flux, and is expected to change in 3.1. The javadoc for ExternalActionManager.CommandCallback.isActive(String) just says: * Calling this method with an undefined command id will generate a log message.
bundles/org.eclipse.jface/src/org/eclipse/jface/action/ExternalActionManager.java
public final Integer getAccelerator(final String commandId) {
			final TriggerSequence triggerSequence = bindingManager
					.getBestActiveBindingFor(commandId);
			if (triggerSequence != null) {
				final Trigger[] triggers = triggerSequence.getTriggers();
				if (triggers.length == 1) {
					final Trigger trigger = triggers[0];
					if (trigger instanceof KeyStroke) {
						final KeyStroke keyStroke = (KeyStroke) trigger;
						final int accelerator = SWTKeySupport
								.convertKeyStrokeToAccelerator(keyStroke);
						return new Integer(accelerator);
					}
				}
			}
			return null;
		}
		/**
		 * @see org.eclipse.jface.action.ExternalActionManager.ICallback#getAcceleratorText(String)
		 */
		public final String getAcceleratorText(final String commandId) {
			final TriggerSequence triggerSequence = bindingManager
					.getBestActiveBindingFor(commandId);
			if (triggerSequence == null) {
				return null;
			}
			return triggerSequence.format();
		}
		/**
		 * Returns the active bindings for a particular command identifier.