blob: 8eef7e5f02ea56dfa8e039c6a9821b2befc954b8 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2005 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.core.commands;
/**
* <p>
* Attribute constants that have special meanings within this package. These
* attributes can be used to communicate extra information from the handler to
* either the command or the command manager.
* </p>
*
* @since 3.1
*/
public interface IHandlerAttributes {
/**
* <p>
* The name of the attribute indicating whether the handler is handled.
* This is intended largely for backward compatibility with the workbench
* <code>RetargetAction</code> class. It is used to indicate that while
* the handler is handling a command, it should not be treated as such.
* The command should act and behave as if it has no handler.
* </p>
*/
public static final String ATTRIBUTE_HANDLED = "handled"; //$NON-NLS-1$
}