Java Code Examples for org.eclipse.jdt.internal.ui.JavaPluginImages#DESC_OBJS_IMPDECL
The following examples show how to use
org.eclipse.jdt.internal.ui.JavaPluginImages#DESC_OBJS_IMPDECL .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: JavaCompareUtilities.java From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 | 6 votes |
static ImageDescriptor getImageDescriptor(int type) { switch (type) { case IJavaElement.INITIALIZER: case IJavaElement.METHOD: return getImageDescriptor("obj16/compare_method.gif"); //$NON-NLS-1$ case IJavaElement.FIELD: return getImageDescriptor("obj16/compare_field.gif"); //$NON-NLS-1$ case IJavaElement.PACKAGE_DECLARATION: return JavaPluginImages.DESC_OBJS_PACKDECL; case IJavaElement.IMPORT_DECLARATION: return JavaPluginImages.DESC_OBJS_IMPDECL; case IJavaElement.IMPORT_CONTAINER: return JavaPluginImages.DESC_OBJS_IMPCONT; case IJavaElement.COMPILATION_UNIT: return JavaPluginImages.DESC_OBJS_CUNIT; } return ImageDescriptor.getMissingImageDescriptor(); }
Example 2
Source File: XbaseImages2.java From xtext-eclipse with Eclipse Public License 2.0 | 4 votes |
public ImageDescriptor forImport() { return JavaPluginImages.DESC_OBJS_IMPDECL; }