01: /*******************************************************************************
02: * Copyright (c) 2000, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.jface.viewers;
11:
12: /**
13: * Predefined property names used for elements displayed in viewers.
14: *
15: * @see StructuredViewer#update(Object, String[])
16: * @see StructuredViewer#update(Object[], String[])
17: * @see IBaseLabelProvider#isLabelProperty
18: * @see ViewerComparator#isSorterProperty
19: * @see ViewerFilter#isFilterProperty
20: */
21: public interface IBasicPropertyConstants {
22:
23: /**
24: * Property name constant (value <code>"org.eclipse.jface.text"</code>)
25: * for an element's label text.
26: *
27: * @see org.eclipse.jface.viewers.ILabelProvider#getText
28: */
29: public static final String P_TEXT = "org.eclipse.jface.text"; //$NON-NLS-1$
30:
31: /**
32: * Property name constant (value <code>"org.eclipse.jface.image"</code>)
33: * for an element's label image.
34: *
35: * @see org.eclipse.jface.viewers.ILabelProvider#getImage
36: */
37: public static final String P_IMAGE = "org.eclipse.jface.image"; //$NON-NLS-1$
38:
39: /**
40: * Property name constant (value <code>"org.eclipse.jface.children"</code>)
41: * for an element's children.
42: */
43: public static final String P_CHILDREN = "org.eclipse.jface.children"; //$NON-NLS-1$
44:
45: /**
46: * Property name constant (value <code>"org.eclipse.jface.parent"</code>)
47: * for an element's parent object.
48: */
49: public static final String P_PARENT = "org.eclipse.jface.parent"; //$NON-NLS-1$
50:
51: }
|