view 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
line wrap: on
line source

/*******************************************************************************
 * 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 dwtx.core.commands.IHandlerAttributes;

import dwt.dwthelper.utils;

/**
 * <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$

}