Mercurial > projects > dwt2
comparison 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 |
comparison
equal
deleted
inserted
replaced
11:43904fec5dca | 12:bc29606a740c |
---|---|
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 * Port to the D programming language: | |
11 * Frank Benoit <benoit@tionex.de> | |
12 *******************************************************************************/ | |
13 module org.eclipse.core.commands.IHandlerAttributes; | |
14 | |
15 import java.lang.all; | |
16 | |
17 /** | |
18 * <p> | |
19 * Attribute constants that have special meanings within this package. These | |
20 * attributes can be used to communicate extra information from the handler to | |
21 * either the command or the command manager. | |
22 * </p> | |
23 * | |
24 * @since 3.1 | |
25 */ | |
26 public interface IHandlerAttributes { | |
27 | |
28 /** | |
29 * <p> | |
30 * The name of the attribute indicating whether the handler is handled. | |
31 * This is intended largely for backward compatibility with the workbench | |
32 * <code>RetargetAction</code> class. It is used to indicate that while | |
33 * the handler is handling a command, it should not be treated as such. | |
34 * The command should act and behave as if it has no handler. | |
35 * </p> | |
36 */ | |
37 public static const String ATTRIBUTE_HANDLED = "handled"; //$NON-NLS-1$ | |
38 | |
39 } |