view dwtx/core/commands/INamedHandleStateIds.d @ 104:04b47443bb01

Reworked the collection uses to make use of a wrapper collection that is compatible to the Java Collections. These new wrappers now use the tango.util.containers instead of the tango.util.collections.
author Frank Benoit <benoit@tionex.de>
date Thu, 07 Aug 2008 15:01:33 +0200
parents 6518c18a01f7
children
line wrap: on
line source

/*******************************************************************************
 * Copyright (c) 2005, 2006 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.INamedHandleStateIds;

import dwt.dwthelper.utils;

/**
 * <p>
 * State identifiers that are understood by named handle objects that implement
 * {@link IObjectWithState}.
 * </p>
 * <p>
 * Clients may implement or extend this class.
 * </p>
 *
 * @since 3.2
 */
public interface INamedHandleStateIds {

    /**
     * The state id used for overriding the description of a named handle
     * object. This state's value must return a {@link String}.
     */
    public static String DESCRIPTION = "DESCRIPTION"; //$NON-NLS-1$

    /**
     * The state id used for overriding the name of a named handle object. This
     * state's value must return a {@link String}.
     */
    public static String NAME = "NAME"; //$NON-NLS-1$
}