org.eclipse.core.commands.IHandlerAttributes Maven / Gradle / Ivy
The newest version!
/*******************************************************************************
* 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;
/**
*
* 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.
*
*
* @since 3.1
*/
public interface IHandlerAttributes {
/**
*
* The name of the attribute indicating whether the handler is handled.
* This is intended largely for backward compatibility with the workbench
* RetargetAction
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.
*
*/
public static final String ATTRIBUTE_HANDLED = "handled"; //$NON-NLS-1$
}