1 /******************************************************************************* 2 * Copyright (c) 2005 IBM Corporation and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * IBM Corporation - initial API and implementation 10 *******************************************************************************/ 11 package org.eclipse.core.commands; 12 13 /** 14 * <p> 15 * Attribute constants that have special meanings within this package. These 16 * attributes can be used to communicate extra information from the handler to 17 * either the command or the command manager. 18 * </p> 19 * 20 * @since 3.1 21 */ 22 public interface IHandlerAttributes { 23 24 /** 25 * <p> 26 * The name of the attribute indicating whether the handler is handled. 27 * This is intended largely for backward compatibility with the workbench 28 * <code>RetargetAction</code> class. It is used to indicate that while 29 * the handler is handling a command, it should not be treated as such. 30 * The command should act and behave as if it has no handler. 31 * </p> 32 */ 33 public static final String ATTRIBUTE_HANDLED = "handled"; //$NON-NLS-1$ 34 35 } 36