10
|
1 /*******************************************************************************
|
|
2 * Copyright (c) 2000, 2006 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.jface.viewers.IBasicPropertyConstants;
|
|
14
|
|
15 import dwt.dwthelper.utils;
|
|
16
|
|
17 /**
|
|
18 * Predefined property names used for elements displayed in viewers.
|
|
19 *
|
|
20 * @see StructuredViewer#update(Object, String[])
|
|
21 * @see StructuredViewer#update(Object[], String[])
|
|
22 * @see IBaseLabelProvider#isLabelProperty
|
|
23 * @see ViewerComparator#isSorterProperty
|
|
24 * @see ViewerFilter#isFilterProperty
|
|
25 */
|
|
26 public interface IBasicPropertyConstants {
|
|
27
|
|
28 /**
|
|
29 * Property name constant (value <code>"dwtx.jface.text"</code>)
|
|
30 * for an element's label text.
|
|
31 *
|
|
32 * @see dwtx.jface.viewers.ILabelProvider#getText
|
|
33 */
|
|
34 public static final String P_TEXT = "dwtx.jface.text"; //$NON-NLS-1$
|
|
35
|
|
36 /**
|
|
37 * Property name constant (value <code>"dwtx.jface.image"</code>)
|
|
38 * for an element's label image.
|
|
39 *
|
|
40 * @see dwtx.jface.viewers.ILabelProvider#getImage
|
|
41 */
|
|
42 public static final String P_IMAGE = "dwtx.jface.image"; //$NON-NLS-1$
|
|
43
|
|
44 /**
|
|
45 * Property name constant (value <code>"dwtx.jface.children"</code>)
|
|
46 * for an element's children.
|
|
47 */
|
|
48 public static final String P_CHILDREN = "dwtx.jface.children"; //$NON-NLS-1$
|
|
49
|
|
50 /**
|
|
51 * Property name constant (value <code>"dwtx.jface.parent"</code>)
|
|
52 * for an element's parent object.
|
|
53 */
|
|
54 public static final String P_PARENT = "dwtx.jface.parent"; //$NON-NLS-1$
|
|
55
|
|
56 }
|