Mercurial > projects > dwt2
diff org.eclipse.core.commands/src/org/eclipse/core/commands/IHandlerAttributes.d @ 12:bc29606a740c
Added dwt-addons in original directory structure of eclipse.org
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 14 Mar 2009 18:23:29 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/org.eclipse.core.commands/src/org/eclipse/core/commands/IHandlerAttributes.d Sat Mar 14 18:23:29 2009 +0100 @@ -0,0 +1,39 @@ +/******************************************************************************* + * 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 + * Port to the D programming language: + * Frank Benoit <benoit@tionex.de> + *******************************************************************************/ +module org.eclipse.core.commands.IHandlerAttributes; + +import java.lang.all; + +/** + * <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 const String ATTRIBUTE_HANDLED = "handled"; //$NON-NLS-1$ + +}