Difference between revisions of "FAQ How do I replace the Eclipse workbench window icon with my own?"

From Eclipsepedia

Jump to: navigation, search
 
m
 
Line 1: Line 1:
The Eclipse workbench icon is defined by the Eclipse product.  This file is specified
+
The Eclipse workbench icon is defined by the Eclipse product.  This file is specified in the <tt>about.ini</tt> file in the product plug-in&#146;s install directory, using the key <tt>windowImage</tt> if only a single 16×16 icon is provided, or <tt>windowImages</tt> if the product has both 16×16 and 32×32 icons.  Note that these <tt>about.ini</tt> constants are defined by the <tt>IProductConstants</tt> interface in <tt>org.eclipse.ui.workbench</tt>.
in the <tt>about.ini</tt> file in the product plug-in&#146;s install directory,  
+
using the key <tt>windowImage</tt>
+
if only a single 16×16 icon is provided, or <tt>windowImages</tt> if the product
+
has both 16×16 and 32×32 icons.  Note that these <tt>about.ini</tt> constants
+
are defined by the <tt>IProductConstants</tt> interface in <tt>org.eclipse.ui.workbench</tt>.
+
 
+
As a debugging aid, many Eclipse developers hack the icon for their
+
runtime workbench to make it easy to distinguish from the development
+
workbench. This saves you from accidentally deleting your work
+
while you try to reproduce some bug in a test environment. Simply
+
check out the <tt>org.eclipse.platform</tt> plug-in from
+
the Eclipse repository, and replace <tt>eclipse.gif</tt> with any
+
other icon. Now, every runtime workbench will have that custom
+
icon in the upper left-hand corner.
+
  
 +
As a debugging aid, many Eclipse developers hack the icon for their runtime workbench to make it easy to distinguish from the development workbench. This saves you from accidentally deleting your work while you try to reproduce some bug in a test environment. Simply check out the <tt>org.eclipse.platform</tt> plug-in from the Eclipse repository, and replace <tt>eclipse.gif</tt> with any other icon. Now, every runtime workbench will have that custom icon in the upper left-hand corner.
  
 
== See Also: ==
 
== See Also: ==
 +
*[[FAQ Where can I find the Eclipse plug-ins?]]
 +
*[[FAQ What is an Eclipse product?]]
 +
*[http://www.eclipse.org/articles/product-guide/guide.html Eclipse online article &#147;<i>Creating Product Branding</i>&#148;]
  
[[FAQ_Where_can_I_find_the_Eclipse_plug-ins%3F]]
+
{{Template:FAQ_Tagline}}
 
+
[[FAQ_What_is_an_Eclipse_product%3F]]
+
 
+
Eclipse online article &#147;<i>Creating Product Branding</i>&#148;
+
 
+
<hr><font size=-2>This FAQ was originally published in [http://www.eclipsefaq.org Official Eclipse 3.0 FAQs]. Copyright 2004, Pearson Education, Inc. All rights reserved. This text is made available here under the terms of the [http://www.eclipse.org/legal/epl-v10.html Eclipse Public License v1.0].</font>
+

Latest revision as of 21:47, 30 May 2006

The Eclipse workbench icon is defined by the Eclipse product. This file is specified in the about.ini file in the product plug-in’s install directory, using the key windowImage if only a single 16×16 icon is provided, or windowImages if the product has both 16×16 and 32×32 icons. Note that these about.ini constants are defined by the IProductConstants interface in org.eclipse.ui.workbench.

As a debugging aid, many Eclipse developers hack the icon for their runtime workbench to make it easy to distinguish from the development workbench. This saves you from accidentally deleting your work while you try to reproduce some bug in a test environment. Simply check out the org.eclipse.platform plug-in from the Eclipse repository, and replace eclipse.gif with any other icon. Now, every runtime workbench will have that custom icon in the upper left-hand corner.

[edit] See Also:


This FAQ was originally published in Official Eclipse 3.0 FAQs. Copyright 2004, Pearson Education, Inc. All rights reserved. This text is made available here under the terms of the Eclipse Public License v1.0.