Mercurial > projects > dwt-addons
view dwtx/jface/viewers/IBasicPropertyConstants.d @ 10:b6c35faf97c8
Viewers
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 31 Mar 2008 00:47:19 +0200 |
parents | |
children |
line wrap: on
line source
/******************************************************************************* * Copyright (c) 2000, 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.jface.viewers.IBasicPropertyConstants; import dwt.dwthelper.utils; /** * Predefined property names used for elements displayed in viewers. * * @see StructuredViewer#update(Object, String[]) * @see StructuredViewer#update(Object[], String[]) * @see IBaseLabelProvider#isLabelProperty * @see ViewerComparator#isSorterProperty * @see ViewerFilter#isFilterProperty */ public interface IBasicPropertyConstants { /** * Property name constant (value <code>"dwtx.jface.text"</code>) * for an element's label text. * * @see dwtx.jface.viewers.ILabelProvider#getText */ public static final String P_TEXT = "dwtx.jface.text"; //$NON-NLS-1$ /** * Property name constant (value <code>"dwtx.jface.image"</code>) * for an element's label image. * * @see dwtx.jface.viewers.ILabelProvider#getImage */ public static final String P_IMAGE = "dwtx.jface.image"; //$NON-NLS-1$ /** * Property name constant (value <code>"dwtx.jface.children"</code>) * for an element's children. */ public static final String P_CHILDREN = "dwtx.jface.children"; //$NON-NLS-1$ /** * Property name constant (value <code>"dwtx.jface.parent"</code>) * for an element's parent object. */ public static final String P_PARENT = "dwtx.jface.parent"; //$NON-NLS-1$ }