Bug 85169 [Commands] errors: Not enough context in error message
Build: I20050214-0927 I found this message in my log after starting this build: !ENTRY org.eclipse.jface 4 0 2005-02-14 13:05:34.971 !MESSAGE The command is undefined What command? This error message needs more information. This message comes from ExternalActionManager#isActive.
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))) {
					
					IStatus status = new Status(
							IStatus.ERROR,
							"org.eclipse.jface", 
							0,
							Util.translateString(RESOURCE_BUNDLE,
									"undefinedCommand.WarningMessage", null), null); 
					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);
							}
						}
					});