Pages

about my opensource eclipse java applications recently i'm studying GWT and Android

Friday, March 11, 2005

how to change your eclipse rcp application's title and icon

if you hurry anyway,you can do that.

public class OptipngWrapperWorkbenchAdvisor extends WorkbenchAdvisor{

public void postWindowOpen(IWorkbenchWindowConfigurer configurer) {
configurer.setTitle(Messages.getString("optipng_title"));
Image logoImage=ImageDescriptor.createFromURL(OptipngWrapperPlugin.getDefault().find(new Path("icons/akj_eclipse.png"))).createImage(); //$NON-NLS-1$
configurer.getWindow().getShell().setImage(logoImage);
}

}

but this approach has problem. selected icon isn't deliverd to other shell (Help or Updates)
that's not so important thing.

but I recomend you use product extension point.
more detail see
http://eclipse.org/articles/Article-Branding/branding-your-application.html
<extension
id="product"
point="org.eclipse.core.runtime.products">
<product name="akJ Speech Tools"
application="org.jpn.xucker.rcp.speech.SpeechApplication"
>
<property name="windowImage" value="icons/akj.png"/>
</product>
</extension>

2 comments:

Android app development said...

Android is one of the popular mobile application due to its incredible features.This is one of the amazing post.
Android app developers

Android developer said...

Good information and i really enjoyed to read this articles, its a good entertainment. i think most of the peoples are likes your informative post , because its having enjoyment. so thanks for your great informative post.

Android developers