Use of parentCategory for views? [message #484287] |
Sat, 05 September 2009 10:06  |
Eclipse User |
|
|
|
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 10:20   |
Eclipse User |
|
|
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.26232 seconds