Before you can complete the steps
in this example, you must have a plug-in project extends the
newWizards extension
point.
This lesson shows how to set the icon for a report
wizard, which will be displayed next to the wizard name in the
"New" dialog
box.
Add a graphic file to your project.
For example, drag an
image file named
MyIcon.jpg
from your desktop to the top level of the
MyProject
directory.
In the
Project
Explorer, expand
META-INF.
Right-click
MANIFEST.MF, and point to
Open With > Plug-in Manifest
Editor.
The Plug-in
Manifest Editor displays the plug-in project settings.
Click the
Extensions
tab.
In the
All
Extensions area, expand
org.eclipse.ui.newWizards and
select the wizard extension element.
For example, select
My Custom Report
(wizard).
In the
Extension Element
Details area, click the
Browse
button adjacent to the
icon link.
The
Resource Attribute
Value window appears.
Select the file for the icon, and
click
OK.
For example, select
MyIcon.jpg.
Save the Plug-in Manifest Editor.
The file
MyIcon.jpg is used
as the icon for the report wizard.