comparison dwtx/core/commands/IHandlerAttributes.d @ 3:6518c18a01f7

eclipse.core package without osgi dependencies
author Frank Benoit <benoit@tionex.de>
date Wed, 26 Mar 2008 00:57:19 +0100
parents
children c87617952847
comparison
equal deleted inserted replaced
2:a012107a911c 3:6518c18a01f7
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 dwtx.core.commands.IHandlerAttributes;
14
15 import dwt.dwthelper.utils;
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 final String ATTRIBUTE_HANDLED = "handled"; //$NON-NLS-1$
38
39 }