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 boolean isActive(final String commandId) {
			if (commandId != null) {
				final Command command = commandManager.getCommand(commandId);
				if (!command.isDefined()
						&& (!loggedCommandIds.contains(commandId))) {
					
					final String message = MessageFormat.format(Util
							.translateString(RESOURCE_BUNDLE,
									"undefinedCommand.WarningMessage", null), 
							new String[] { command.getId() });
					IStatus status = new Status(IStatus.ERROR,
							"org.eclipse.jface", 
							0, message, new Exception());
					Policy.getLog().log(status);
					
					loggedCommandIds.add(commandId);
					command.addCommandListener(new ICommandListener() {
						/*
						 * (non-Javadoc)
						 * 
						 * @see org.eclipse.ui.commands.ICommandListener#commandChanged(org.eclipse.ui.commands.CommandEvent)
						 */
						public final void commandChanged(
								final CommandEvent commandEvent) {
							if (command.isDefined()) {
								command.removeCommandListener(this);
								loggedCommandIds.remove(commandId);
							}
						}
					});