KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jface > viewers > IBasicPropertyConstants


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

11 package org.eclipse.jface.viewers;
12
13 /**
14  * Predefined property names used for elements displayed in viewers.
15  *
16  * @see StructuredViewer#update(Object, String[])
17  * @see StructuredViewer#update(Object[], String[])
18  * @see IBaseLabelProvider#isLabelProperty
19  * @see ViewerComparator#isSorterProperty
20  * @see ViewerFilter#isFilterProperty
21  */

22 public interface IBasicPropertyConstants {
23
24     /**
25      * Property name constant (value <code>"org.eclipse.jface.text"</code>)
26      * for an element's label text.
27      *
28      * @see org.eclipse.jface.viewers.ILabelProvider#getText
29      */

30     public static final String JavaDoc P_TEXT = "org.eclipse.jface.text"; //$NON-NLS-1$
31

32     /**
33      * Property name constant (value <code>"org.eclipse.jface.image"</code>)
34      * for an element's label image.
35      *
36      * @see org.eclipse.jface.viewers.ILabelProvider#getImage
37      */

38     public static final String JavaDoc P_IMAGE = "org.eclipse.jface.image"; //$NON-NLS-1$
39

40     /**
41      * Property name constant (value <code>"org.eclipse.jface.children"</code>)
42      * for an element's children.
43      */

44     public static final String JavaDoc P_CHILDREN = "org.eclipse.jface.children"; //$NON-NLS-1$
45

46     /**
47      * Property name constant (value <code>"org.eclipse.jface.parent"</code>)
48      * for an element's parent object.
49      */

50     public static final String JavaDoc P_PARENT = "org.eclipse.jface.parent"; //$NON-NLS-1$
51

52 }
53
Popular Tags