KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > internal > ide > IDEInternalWorkbenchImages


1 /*******************************************************************************
2  * Copyright (c) 2003, 2007 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.ui.internal.ide;
12
13 import org.eclipse.jface.resource.ImageDescriptor;
14 import org.eclipse.ui.PlatformUI;
15
16 /**
17  * This class defines internal constants for images that intended to be
18  * available only within the IDE UI proper. Use
19  * <code>IDEInternalWorkbenchImages.getImageDescriptor} to retrieve image
20  * descriptors for any of the images named in this class.
21  * <p>
22  * <b>Note:</b> The existence of these images is not made publically available
23  * because such images are subject to change as the dialogs evolve through
24  * successive releases.
25  * </p>
26  */

27 public final class IDEInternalWorkbenchImages {
28
29     /** Block instantiation. */
30     private IDEInternalWorkbenchImages() {
31     }
32
33     /*** Constants for Images ***/
34
35     // other toolbar buttons
36
public final static String JavaDoc IMG_ETOOL_BUILD_EXEC = "IMG_ETOOL_BUILD_EXEC"; //$NON-NLS-1$
37

38     public final static String JavaDoc IMG_ETOOL_BUILD_EXEC_HOVER = "IMG_ETOOL_BUILD_EXEC_HOVER"; //$NON-NLS-1$
39

40     public final static String JavaDoc IMG_ETOOL_BUILD_EXEC_DISABLED = "IMG_ETOOL_BUILD_EXEC_DISABLED"; //$NON-NLS-1$
41

42     public final static String JavaDoc IMG_ETOOL_SEARCH_SRC = "IMG_ETOOL_SEARCH_SRC"; //$NON-NLS-1$
43

44     public final static String JavaDoc IMG_ETOOL_SEARCH_SRC_HOVER = "IMG_ETOOL_SEARCH_SRC_HOVER"; //$NON-NLS-1$
45

46     public final static String JavaDoc IMG_ETOOL_SEARCH_SRC_DISABLED = "IMG_ETOOL_SEARCH_SRC_DISABLED"; //$NON-NLS-1$
47

48     public final static String JavaDoc IMG_ETOOL_NEXT_NAV = "IMG_ETOOL_NEXT_NAV"; //$NON-NLS-1$
49

50     public final static String JavaDoc IMG_ETOOL_PREVIOUS_NAV = "IMG_ETOOL_PREVIOUS_NAV"; //$NON-NLS-1$
51

52     public final static String JavaDoc IMG_ETOOL_PROBLEM_CATEGORY = "IMG_ETOOL_PROBLEM_CATEGORY"; //$NON-NLS-1$
53

54     public final static String JavaDoc IMG_LCL_FLAT_LAYOUT = "IMG_LCL_FLAT_LAYOUT"; //$NON-NLS-1$
55

56     public final static String JavaDoc IMG_LCL_HIERARCHICAL_LAYOUT = "IMG_LCL_HIERARCHICAL_LAYOUT"; //$NON-NLS-1$
57

58     //wizard images
59
public final static String JavaDoc IMG_WIZBAN_NEWPRJ_WIZ = "IMG_WIZBAN_NEWPRJ_WIZ"; //$NON-NLS-1$
60

61     public final static String JavaDoc IMG_WIZBAN_NEWFOLDER_WIZ = "IMG_WIZBAN_NEWFOLDER_WIZ"; //$NON-NLS-1$
62

63     public final static String JavaDoc IMG_WIZBAN_NEWFILE_WIZ = "IMG_WIZBAN_NEWFILE_WIZ"; //$NON-NLS-1$
64

65     public final static String JavaDoc IMG_WIZBAN_IMPORTDIR_WIZ = "IMG_WIZBAN_IMPORTDIR_WIZ"; //$NON-NLS-1$
66

67     public final static String JavaDoc IMG_WIZBAN_IMPORTZIP_WIZ = "IMG_WIZBAN_IMPORTZIP_WIZ"; //$NON-NLS-1$
68

69     public final static String JavaDoc IMG_WIZBAN_EXPORTDIR_WIZ = "IMG_WIZBAN_EXPORTDIR_WIZ"; //$NON-NLS-1$
70

71     public final static String JavaDoc IMG_WIZBAN_EXPORTZIP_WIZ = "IMG_WIZBAN_EXPORTZIP_WIZ"; //$NON-NLS-1$
72

73     public final static String JavaDoc IMG_WIZBAN_RESOURCEWORKINGSET_WIZ = "IMG_WIZBAN_EXPORTZIP_WIZ"; //$NON-NLS-1$
74

75     public final static String JavaDoc IMG_DLGBAN_SAVEAS_DLG = "IMG_DLGBAN_SAVEAS_DLG"; //$NON-NLS-1$
76

77     public final static String JavaDoc IMG_DLGBAN_QUICKFIX_DLG = "IMG_DLGBAN_QUICKFIX_DLG"; //$NON-NLS-1$
78

79     // task objects
80
public final static String JavaDoc IMG_OBJS_COMPLETE_TSK = "IMG_OBJS_COMPLETE_TSK"; //$NON-NLS-1$
81

82     public final static String JavaDoc IMG_OBJS_INCOMPLETE_TSK = "IMG_OBJS_INCOMPLETE_TSK"; //$NON-NLS-1$
83

84     //problems images
85
public static final String JavaDoc IMG_OBJS_ERROR_PATH = "IMG_OBJS_ERROR_PATH"; //$NON-NLS-1$
86

87     public static final String JavaDoc IMG_OBJS_WARNING_PATH = "IMG_OBJS_WARNING_PATH"; //$NON-NLS-1$
88

89     public static final String JavaDoc IMG_OBJS_INFO_PATH = "IMG_OBJS_INFO_PATH"; //$NON-NLS-1$
90

91     // product
92
public final static String JavaDoc IMG_OBJS_DEFAULT_PROD = "IMG_OBJS_DEFAULT_PROD"; //$NON-NLS-1$
93

94     // welcome
95
public final static String JavaDoc IMG_OBJS_WELCOME_ITEM = "IMG_OBJS_WELCOME_ITEM"; //$NON-NLS-1$
96

97     public final static String JavaDoc IMG_OBJS_WELCOME_BANNER = "IMG_OBJS_WELCOME_BANNER"; //$NON-NLS-1$
98

99     //Quick fix images
100
public static final String JavaDoc IMG_DLCL_QUICK_FIX_DISABLED = "IMG_DLCL_QUICK_FIX_DISABLED";//$NON-NLS-1$
101

102     public static final String JavaDoc IMG_ELCL_QUICK_FIX_ENABLED = "IMG_ELCL_QUICK_FIX_ENABLED"; //$NON-NLS-1$
103

104
105     /**
106      * Returns the image descriptor for the workbench image with the given
107      * symbolic name. Use this method to retrieve image descriptors for any
108      * of the images named in this class.
109      *
110      * @param symbolicName the symbolic name of the image
111      * @return the image descriptor, or <code>null</code> if none
112      */

113     public static ImageDescriptor getImageDescriptor(String JavaDoc symbolicName) {
114         return PlatformUI.getWorkbench().getSharedImages().getImageDescriptor(
115                 symbolicName);
116     }
117 }
118
Popular Tags