Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » New Java Project Wizard's Icon Not Showing
New Java Project Wizard's Icon Not Showing [message #529360] Fri, 23 April 2010 23:22 Go to next message
Bill Winspur is currently offline Bill WinspurFriend
Messages: 180
Registered: July 2009
Senior Member
I have implemented a new wizard to create a variant of a normal java
project, and it works OK, except that in the wizard selection dialog
where my wizard correctly appears, idented under the java folder icon.
its custom icon is not showing. My plugin.xml follows.

<plugin>
<extension
point="org.eclipse.ui.newWizards"
id="uzrlibz.wizards.new.customproj"
name="uzrlibs new wizard">
<wizard
category="org.eclipse.jdt.ui.java"
class="ca.wydv.myjavaprojects.wizard.CustomProjectWizard"
finalPerspective="org.eclipse.jdt.ui.JavaPerspective"
icon="icons/custom-prj-wiz.gif"
id="ca.wydv.uzrlibs.newwizard"
name="Custom Java Project"
project="true">
<description>
Creates a custom java project.
</description>
</wizard>
</extension>
</plugin>

Incidentally, on the plugin manifest editor extensions tab, my icon is
being picked up and displayed. Also, I noticed that the
org.eclipse.jdt.ui plugin manifest specifies an i18n linkage to its icon,

icon="$nl$/icons/full/etool16/newjprj_wiz.gif"

in the declaration of its standard java proj wizard, but I do not
understand why that would prevent the wizard selection dialog from
finding my wizard's icon, with its non-i18n path.

Any help will be much appreciated.

Bill.
Re: New Java Project Wizard's Icon Not Showing [message #529486 is a reply to message #529360] Mon, 26 April 2010 06:01 Go to previous messageGo to next message
Daniel Krügler is currently offline Daniel KrüglerFriend
Messages: 853
Registered: July 2009
Senior Member
On 24.04.2010 01:22, Bill Winspur wrote:
> I have implemented a new wizard to create a variant of a normal java
> project, and it works OK, except that in the wizard selection dialog
> where my wizard correctly appears, idented under the java folder icon.
> its custom icon is not showing. My plugin.xml follows.
>
> <plugin>
> <extension
> point="org.eclipse.ui.newWizards"
> id="uzrlibz.wizards.new.customproj"
> name="uzrlibs new wizard">
> <wizard
> category="org.eclipse.jdt.ui.java"
> class="ca.wydv.myjavaprojects.wizard.CustomProjectWizard"
> finalPerspective="org.eclipse.jdt.ui.JavaPerspective"
> icon="icons/custom-prj-wiz.gif"
> id="ca.wydv.uzrlibs.newwizard"
> name="Custom Java Project"
> project="true">
> <description>
> Creates a custom java project.
> </description>
> </wizard>
> </extension>
> </plugin>
>
> Incidentally, on the plugin manifest editor extensions tab, my icon is
> being picked up and displayed. Also, I noticed that the
> org.eclipse.jdt.ui plugin manifest specifies an i18n linkage to its icon,
>
> icon="$nl$/icons/full/etool16/newjprj_wiz.gif"
>
> in the declaration of its standard java proj wizard, but I do not
> understand why that would prevent the wizard selection dialog from
> finding my wizard's icon, with its non-i18n path.

Are you sure that you added the icon to the build.xml?
If you are working with the plugin editor, this can easily be
checked by switching to the "build" tab and verifying that
within the "Binary Build" tree the icons folder has been
selected.

HTH & Greetings from Bremen,

Daniel Krügler
Re: New Java Project Wizard's Icon Not Showing [message #530526 is a reply to message #529486] Thu, 29 April 2010 23:11 Go to previous message
Bill Winspur is currently offline Bill WinspurFriend
Messages: 180
Registered: July 2009
Senior Member
Daniel Krügler wrote:
> On 24.04.2010 01:22, Bill Winspur wrote:
>> I have implemented a new wizard to create a variant of a normal java
>> project, and it works OK, except that in the wizard selection dialog
>> where my wizard correctly appears, idented under the java folder icon.
>> its custom icon is not showing. My plugin.xml follows.
>>
>> <plugin>
>> <extension
>> point="org.eclipse.ui.newWizards"
>> id="uzrlibz.wizards.new.customproj"
>> name="uzrlibs new wizard">
>> <wizard
>> category="org.eclipse.jdt.ui.java"
>> class="ca.wydv.myjavaprojects.wizard.CustomProjectWizard"
>> finalPerspective="org.eclipse.jdt.ui.JavaPerspective"
>> icon="icons/custom-prj-wiz.gif"
>> id="ca.wydv.uzrlibs.newwizard"
>> name="Custom Java Project"
>> project="true">
>> <description>
>> Creates a custom java project.
>> </description>
>> </wizard>
>> </extension>
>> </plugin>
>>
>> Incidentally, on the plugin manifest editor extensions tab, my icon is
>> being picked up and displayed. Also, I noticed that the
>> org.eclipse.jdt.ui plugin manifest specifies an i18n linkage to its icon,
>>
>> icon="$nl$/icons/full/etool16/newjprj_wiz.gif"
>>
>> in the declaration of its standard java proj wizard, but I do not
>> understand why that would prevent the wizard selection dialog from
>> finding my wizard's icon, with its non-i18n path.
>
> Are you sure that you added the icon to the build.xml?
> If you are working with the plugin editor, this can easily be
> checked by switching to the "build" tab and verifying that
> within the "Binary Build" tree the icons folder has been
> selected.
>
> HTH & Greetings from Bremen,
>
> Daniel Krügler
Daniel,

Thks for the suggestion. Yes I'm sure it was added to the build.xml.
Also, in the test instance the icon is present in the plugin. Sorry
about the 4 day response, I've been elsewhere.

Bill (Calgary)
Previous Topic:bundle.stop is not firing a bundle change event to a listener plugin
Next Topic:Separator for objectContribution
Goto Forum:
  


Current Time: Fri Apr 26 03:41:04 GMT 2024

Powered by FUDForum. Page generated in 0.02576 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top