Buggy code:
WorkbenchImages . declareImage ( IMG_VIEW_DEFAULTVIEW_MISC , ( ( WorkbenchImages . PATH_EVIEW ) + "defaultview_misc.gif" ) , false ) ; WorkbenchImages . declareImage ( IMG_OBJ_FONT , ( ( WorkbenchImages . PATH_OBJECT ) + "font.gif" ) , true ) ; WorkbenchImages . declareImage ( IMG_OBJ_THEME_CATEGORY , ( ( WorkbenchImages . PATH_OBJECT ) + "theme_category.gif" ) , true ) ; WorkbenchImages . declareImage ( IMG_OBJ_ACTIVITY , ( ( WorkbenchImages . PATH_OBJECT ) + "activity.gif" ) , true ) ; WorkbenchImages . declareImage ( IMG_OBJ_ACTIVITY_CATEGORY , ( ( WorkbenchImages . PATH_OBJECT ) + "activity_category.gif" ) , true ) ; WorkbenchImages . declareImage ( IMG_OBJ_WORKING_SETS , ( ( WorkbenchImages . PATH_OBJECT ) + "workingsets.gif" ) , true ) ; WorkbenchImages . declareImage ( IMG_OBJ_FILE , ( ( WorkbenchImages . PATH_OBJECT ) + "file_obj.gif" ) , true ) ; WorkbenchImages . declareImage ( IMG_OBJ_FOLDER , ( ( WorkbenchImages . PATH_OBJECT ) + "fldr_obj.gif" ) , true ) ; WorkbenchImages . declareImage ( IMG_OBJ_ELEMENT , ( ( WorkbenchImages . PATH_OBJECT ) + "elements_obj.gif" ) , true ) ; WorkbenchImages . declareImage ( IMG_DEF_VIEW , ( ( WorkbenchImages . PATH_EVIEW ) + "defaultview_misc.gif" ) , true ) ; WorkbenchImages . declareImage ( IMG_LCL_CLOSE_VIEW , ( ( WorkbenchImages . PATH_ELOCALTOOL ) + "close_view.gif" ) , true ) ; WorkbenchImages . declareImage ( IMG_LCL_PIN_VIEW , ( ( WorkbenchImages . PATH_ELOCALTOOL ) + "pin_view.gif" ) , true ) ; WorkbenchImages . declareImage ( IMG_LCL_MIN_VIEW , ( ( WorkbenchImages . PATH_ELOCALTOOL ) + "min_view.gif" ) , true ) ; WorkbenchImages . declareImage ( IMG_LCL_VIEW_MENU , ( ( WorkbenchImages . PATH_ELOCALTOOL ) + "view_menu.gif" ) , true ) ; WorkbenchImages . declareImage ( IMG_LCL_LINKTO_HELP , ( ( WorkbenchImages . PATH_ELOCALTOOL ) + "linkto_help.gif" ) , true ) ; WorkbenchImages . declareImage ( IMG_LCL_CLOSE_VIEW_THIN , ( ( WorkbenchImages . PATH_ELOCALTOOL ) + "thin_close_view.gif" ) , true ) ; WorkbenchImages . declareImage ( IMG_LCL_HIDE_TOOLBAR_THIN , ( ( WorkbenchImages . PATH_ELOCALTOOL ) + "thin_hide_toolbar.gif" ) , true ) ; WorkbenchImages . declareImage ( IMG_LCL_MAX_VIEW_THIN , ( ( WorkbenchImages . PATH_ELOCALTOOL ) + "thin_max_view.gif" ) , true ) ; WorkbenchImages . declareImage ( IMG_LCL_MIN_VIEW_THIN , ( ( WorkbenchImages . PATH_ELOCALTOOL ) + "thin_min_view.gif" ) , true ) ; WorkbenchImages . declareImage ( IMG_LCL_RESTORE_VIEW_THIN , ( ( WorkbenchImages . PATH_ELOCALTOOL ) + "thin_restore_view.gif" ) , true ) ; WorkbenchImages . declareImage ( IMG_LCL_SHOW_TOOLBAR_THIN , ( ( WorkbenchImages . PATH_ELOCALTOOL ) + "thin_show_toolbar.gif" ) , true ) ; WorkbenchImages . declareImage ( IMG_LCL_VIEW_MENU_THIN , ( ( WorkbenchImages . PATH_ELOCALTOOL ) + "thin_view_menu.gif" ) , true ) ; WorkbenchImages . declareImage ( IMG_OBJS_ERROR_TSK , ( ( WorkbenchImages . PATH_OBJECT ) + "error_tsk.gif" ) , true ) ; WorkbenchImages . declareImage ( IMG_OBJS_WARN_TSK , ( ( WorkbenchImages . PATH_OBJECT ) + "warn_tsk.gif" ) , true ) ; WorkbenchImages . declareImage ( IMG_OBJS_INFO_TSK , ( ( WorkbenchImages . PATH_OBJECT ) + "info_tsk.gif" ) , true ) ; WorkbenchImages . declareImage ( IMG_OBJS_DND_LEFT_SOURCE , ( ( WorkbenchImages . PATH_POINTER ) + "left_source.bmp" ) , true ) ; WorkbenchImages . declareImage ( IMG_OBJS_DND_LEFT_MASK , ( ( WorkbenchImages . PATH_POINTER ) + "left_mask.bmp" ) , true ) ; WorkbenchImages . declareImage ( IMG_OBJS_DND_RIGHT_SOURCE , ( ( WorkbenchImages . PATH_POINTER ) + "right_source.bmp" ) , true ) ; WorkbenchImages . declareImage ( IMG_OBJS_DND_RIGHT_MASK , ( ( WorkbenchImages . PATH_POINTER ) + "right_mask.bmp" ) , true ) ; WorkbenchImages . declareImage ( IMG_OBJS_DND_TOP_SOURCE , ( ( WorkbenchImages . PATH_POINTER ) + "top_source.bmp" ) , true ) ; WorkbenchImages . declareImage ( IMG_OBJS_DND_TOP_MASK , ( ( WorkbenchImages . PATH_POINTER ) + "top_mask.bmp" ) , true ) ; WorkbenchImages . declareImage ( IMG_OBJS_DND_BOTTOM_SOURCE , ( ( WorkbenchImages . PATH_POINTER ) + "bottom_source.bmp" ) , true ) ; WorkbenchImages . declareImage ( IMG_OBJS_DND_BOTTOM_MASK , ( ( WorkbenchImages . PATH_POINTER ) + "bottom_mask.bmp" ) , true ) ; WorkbenchImages . declareImage ( IMG_OBJS_DND_INVALID_SOURCE , ( ( WorkbenchImages . PATH_POINTER ) + "invalid_source.bmp" ) , true ) ; WorkbenchImages . declareImage ( IMG_OBJS_DND_INVALID_MASK , ( ( WorkbenchImages . PATH_POINTER ) + "invalid_mask.bmp" ) , true ) ; WorkbenchImages . declareImage ( IMG_OBJS_DND_STACK_SOURCE , ( ( WorkbenchImages . PATH_POINTER ) + "stack_source.bmp" ) , true ) ; WorkbenchImages . declareImage ( IMG_OBJS_DND_STACK_MASK , ( ( WorkbenchImages . PATH_POINTER ) + "stack_mask.bmp" ) , true ) ; WorkbenchImages . declareImage ( IMG_OBJS_DND_OFFSCREEN_SOURCE , ( ( WorkbenchImages . PATH_POINTER ) + "offscreen_source.bmp" ) , true ) ; WorkbenchImages . declareImage ( IMG_OBJS_DND_OFFSCREEN_MASK , ( ( WorkbenchImages . PATH_POINTER ) + "offscreen_mask.bmp" ) , true ) ; WorkbenchImages . declareImage ( IMG_OBJS_DND_TOFASTVIEW_SOURCE , ( ( WorkbenchImages . PATH_POINTER ) + "tofastview_source.bmp" ) , true ) ; WorkbenchImages . declareImage ( IMG_OBJS_DND_TOFASTVIEW_MASK , ( ( WorkbenchImages . PATH_POINTER ) + "tofastview_mask.bmp" ) , true ) ; <START_BUG> WorkbenchImages . declareImage ( IMG_DEC_CONTENTPROPOSAL , ( ( WorkbenchImages . PATH_FIELDDECS ) + "content_proposal_cue.gif" ) , true ) ; <END_BUG> Display d = Display . getCurrent ( ) ; Image viewMenu = new Image ( d , 11 , 16 ) ; Image viewMenuMask = new Image ( d , 11 , 16 ) ; GC gc = new GC ( viewMenu ) ; GC maskgc = new GC ( viewMenuMask ) ; WorkbenchImages . drawViewMenu ( gc , maskgc ) ; gc . dispose ( ) ; maskgc . dispose ( ) ; ImageData data = viewMenu . getImageData ( ) ; data . transparentPixel = data . getPixel ( 0 , 0 ) ; Image vm2 = new Image ( d , viewMenu . getImageData ( ) , viewMenuMask . getImageData ( ) ) ; viewMenu . dispose ( ) ; viewMenuMask . dispose ( ) ; WorkbenchImages . getImageRegistry ( ) . put ( IMG_LCL_RENDERED_VIEW_MENU , vm2 ) ; } public static void declareImage ( String symbolicName , ImageDescriptor descriptor , boolean shared ) { } private static Map getDescriptors ( ) { } public static Image getImage ( String symbolicName ) { } public static ImageDescriptor getImageDescriptor ( String symbolicName ) { } public static ImageDescriptor getImageDescriptorFromProgram ( String filename , int offset ) { }

Fix:
WorkbenchImages . declareImage ( IMG_DEC_CONTENT_PROPOSAL , ( ( WorkbenchImages . PATH_FIELDDECS ) + "content_proposal_cue.gif" ) , true ) ;