Community
Participate
Working Groups
Created attachment 268653 [details] Pictures of the described issue Our Eclipse RCP Tool was updated from Mars to Neon. After the update the icon in our Project Explorer View is missing and replaced by a red square. We use the default Project Explorer View provided by the Eclipse Framework
Please provide exact info *which* icon is missing (path to the icon as it is used in your code). Most likely this is a result of the gif to png changes we had in multiple platform plugins. Most likely your code referenced the icon directly via path, and so the fix is to change your code.
Hi Andrey, sorry for the late answer. The Icon we are using is this one: cprj_obj.gif declared here: super.initialize(configurer); final String ICONS_PATH = "icons/full/"; final String PATH_OBJECT = ICONS_PATH + "obj16/"; @SuppressWarnings("restriction") Bundle ideBundle = Platform.getBundle(IDEWorkbenchPlugin.IDE_WORKBENCH); declareWorkbenchImage(configurer, ideBundle, IDE.SharedImages.IMG_OBJ_PROJECT, PATH_OBJECT+"prj_obj.gif", true); declareWorkbenchImage(configurer, ideBundle, IDE.SharedImages.IMG_OBJ_PROJECT_CLOSED, PATH_OBJECT+"cprj_obj.gif", true);
We switched to .PNG files. Can you try changing gif to png?
Hi Lars, changing to .png did the job. Thank you all for your support !