Bug 293357 [context] Switch annotation processing to JSR 330
bundles/org.eclipse.e4.core.commands/src/org/eclipse/e4/core/commands/internal/CommandServiceImpl.java
* @see org.eclipse.e4.core.commands.ECommandService#defineCommand(java.lang.String,
	 * java.lang.String, java.lang.String, org.eclipse.core.commands.Category)
	 */
	public Command defineCommand(String id, String name, String description, Category category,
			IParameter[] parameters) {
		Command cmd = commandManager.getCommand(id);
		if (!cmd.isDefined()) {
			cmd.define(name, description, category, parameters);
			context.set(CMD_ID + id, cmd);
		}
		return cmd;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.e4.core.commands.ECommandService#getCategory(java.lang.String)
	 */
	public Category getCategory(String categoryId) {
		return (Category) context.get(CAT_ID + categoryId);
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.e4.core.commands.ECommandService#getCommand(java.lang.String)
	 */
	public Command getCommand(String commandId) {
		return (Command) context.get(CMD_ID + commandId);
	}
}