I have a product I want to change the window icon, is it possible to happen and how?
I use PDE(plugin development) by developing a product based on Eclipse CDT.
Create a folder graphics
in your plugin and you should add there 6 images with the following sizes:
In your *.product
you will have to configure the path to each icon:
<windowImages
i16="graphics/icon_16.png"
i32="graphics/icon_32.png"
i48="graphics/icon_48.png"
i64="graphics/icon_64.png"
i128="graphics/icon_128.png"
i256="graphics/icon_256.png"/>
You should also configure the build.properties
file to deliver in your product the graphics
folder. To achieve that, add this line to the bin.includes
variable from the build.properties
file: bin.includes=some_existing_line,\\ graphics/
You can also achieve that through the *.product
editor provided by the eclipse development tools. Right-click on the *.product
file and select Open with->Product Configuration Editor
.
In the bottom of the editor select the Branding Tab
, then you can Browse
each image:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.