Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Use of parentCategory for views?
Use of parentCategory for views? [message #484287] Sat, 05 September 2009 14:06 Go to next message
Stephan Herrmann is currently offline Stephan Herrmann
Messages: 1023
Registered: July 2009
Senior Member
The extension point org.eclipse.ui.views allow to specify a category and
the category may refer to a parentCategory.

While linking to the parent category works as I expected, I can't see
a difference by adding the sub-category: elements referring to the
subcategory are shown directly underneath their category's parent category
side-by-side with other views that directly refer to the parent category.

Am I doing something wrong? Should I see the sub-category in the UI? Where?
Or is this just a structure reserved for future use?

thanks,
Stephan
Re: Use of parentCategory for views? [message #484288 is a reply to message #484287] Sat, 05 September 2009 14:20 Go to previous messageGo to next message
Stephan Herrmann is currently offline Stephan Herrmann
Messages: 1023
Registered: July 2009
Senior Member
One more thing confuses me:

How, exactly, should a view definition refer to a nested category?
The doc suggests to write "parent.category/sub.category", which
as described in my original post puts the view directly into
"parent.category".
However, when using the path syntax, the PDE/UI shows a warning
in the plugin.xml editor, saying that the referenced identifier
cannot be found. This warning can be silenced by changing the
reference to "sub.category" without a prefix. But then the
UI shows the view in category "Other", i.e., the category
reference is effectless.

Is that just a bug in the PDE/UI, or am I misunderstanding
the path syntax for the category reference?

Is anybody using nested categories for views anyway?

Stephan
Re: Use of parentCategory for views? [message #484289 is a reply to message #484288] Sat, 05 September 2009 14:51 Go to previous message
Remy Suen is currently offline Remy Suen
Messages: 462
Registered: July 2009
Senior Member
On Sat, 05 Sep 2009 16:06:40 +0200, Stephan Herrmann wrote:
> Am I doing something wrong? Should I see the sub-category in the UI?
> Where? Or is this just a structure reserved for future use?

https://bugs.eclipse.org/bugs/show_bug.cgi?id=84170
https://bugs.eclipse.org/bugs/show_bug.cgi?id=92894

On Sat, 05 Sep 2009 16:20:04 +0200, Stephan Herrmann wrote:
> Is that just a bug in the PDE/UI, or am I misunderstanding the path
> syntax for the category reference?

I believe this to be a limitation in PDE that has not been resolved.
There's a bug in bugzilla too but can't find it off hand.

Regards,
Remy
Previous Topic:Mac OS X Snow leopard - Eclipse no longer remembers CVS passwords
Next Topic:eclipse db2 connection
Goto Forum:
  


Current Time: Thu Oct 23 08:07:55 GMT 2014

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

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