Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » How to show upper-left corner icon for a E4 APP(How to show upper-left corner icon for a E4 APP)
How to show upper-left corner icon for a E4 APP [message #998954] Thu, 10 January 2013 22:04 Go to next message
senyuan wang is currently offline senyuan wang
Messages: 2
Registered: December 2012
Junior Member
I am trying to put a custom icon in the upper-left corner for a E4 APP. I already checked the page: http://wiki.eclipse.org/Platform-releng/Updating_Branding, it says all I need to do is to set windowImages, what I already did. even I tried with the images copied from eclipse itself; but no luck.

following are my plugin.xml, please help me to figure out the right way. thanks

<?xml version="1.0" encoding="UTF-8"?>
<plugin>
<extension
id="product"
point="org.eclipse.core.runtime.products">
<product
name="XXXX"
application="org.eclipse.e4.ui.workbench.swt.E4Application">
<property
name="RICH_SAMPLE"
value="TRUE">
</property>
<property
name="clearPersistedState"
value="true">
</property>
<property
name="applicationCSS"
value="platform:/plugin/com.statestr.rcp.cra/css/default.css">
</property>
<property
name="appName"
value="XXXXX">
</property>
<property
name="windowImages"
value="icons/ico16.gif,icons/ico32.gif,icons/ico48.gif,icons/ico64.gif,icons/ico128.gif">
</property>

<property
name="aboutImage"
value="icons/x.gif">
</property>
<property
name="aboutText"
value="%aboutText">
</property>
</product>
</extension>
</plugin>
Re: How to show upper-left corner icon for a E4 APP [message #999192 is a reply to message #998954] Fri, 11 January 2013 09:41 Go to previous message
Christoph Keimel is currently online Christoph Keimel
Messages: 328
Registered: December 2010
Location: Germany
Senior Member
Hi

the settings in the plugin.xml don't work with pure e4. You need to set your icon in the application.e4xmi.

Also have a look at my answer to your previous topic:
http://www.eclipse.org/forums/index.php/mv/msg/447559/999189/#msg_999189

Greetings
Christoph
Previous Topic:eclipse 4 Application branding problem
Next Topic:Injection of extened classes
Goto Forum:
  


Current Time: Wed Jul 23 10:09:00 EDT 2014

Powered by FUDForum. Page generated in 0.01912 seconds