ParentCategory in ExportWizard not recognized [message #498499] |
Tue, 17 November 2009 04:30  |
Eclipse User |
|
|
|
Hi all,
i wanted to create some sub categorys for several export wizards.
Therefore, i've defined a category with no parent and id xyz.
Afterwards, i've created a new category abc, that points to xyz as its
parent category.
My wizard points to xyz/abc/ in category attribute, but when i run the
eclipse, the wizard is allways displayed as a child of xyz instead of
xaz/abc.
Is subfolding (or subcategoring) in export wizard dialog prohibited?
Thanks Timothy
|
|
|
Re: ParentCategory in ExportWizard not recognized [message #498834 is a reply to message #498499] |
Wed, 18 November 2009 13:23  |
Eclipse User |
|
|
|
Hi Timothy,
It is a bit buggy indeed. However it works. The solution is that empty
categories will not be displayed and that the categories must be separated by
'/'. Empty categories can lead to strange effects. Here is a plugin.xml
snippet that works. Play with this and find out when it does strange things
then please file a bug.
Best regards,
Wim
<extension
point="org.eclipse.ui.exportWizards">
<category
id="a"
name="a">
</category>
<category
id="b"
name="b"
parentCategory="a">
</category>
<category
id="c"
name="c"
parentCategory="a/b">
</category>
<wizard
category="a/b/c"
class="org.eclipse.ecf.provider.twitter.ui.ExportWizard1"
id="org.eclipse.ecf.provider.twitter.ui.wizard1"
name="Guzie">
</wizard>
<wizard
category="a"
class="org.eclipse.ecf.provider.twitter.ui.ExportWizard1"
id="org.eclipse.ecf.provider.twitter.ui.wizard1"
name="name">
</wizard>
<wizard
category="a/b"
class="org.eclipse.ecf.provider.twitter.ui.ExportWizard1"
id="org.eclipse.ecf.provider.twitter.ui.wizard1"
name="Guzieb">
</wizard>
</extension>
> Hi all,
>
> i wanted to create some sub categorys for several export wizards.
> Therefore, i've defined a category with no parent and id xyz.
> Afterwards, i've created a new category abc, that points to xyz as its
> parent category.
>
> My wizard points to xyz/abc/ in category attribute, but when i run the
> eclipse, the wizard is allways displayed as a child of xyz instead of
> xaz/abc.
>
> Is subfolding (or subcategoring) in export wizard dialog prohibited?
>
> Thanks Timothy
|
|
|
Powered by
FUDForum. Page generated in 0.10894 seconds