Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » ParentCategory in ExportWizard not recognized
ParentCategory in ExportWizard not recognized [message #498499] Tue, 17 November 2009 09:30 Go to next message
Timothy Marc is currently offline Timothy MarcFriend
Messages: 547
Registered: July 2009
Senior Member
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 18:23 Go to previous message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 423
Registered: July 2009
Senior Member
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
Previous Topic:Inbuilt eclipse icons on the toolbar when run configuration is self set
Next Topic:Change Editor Tabs background color
Goto Forum:
  


Current Time: Thu Apr 25 17:27:24 GMT 2024

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

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

Back to the top