| Summary: | [ViewMgmt] View API/implementation are in opposition | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Kim Horne <eclipse> |
| Component: | UI | Assignee: | Platform UI Triaged <platform-ui-triaged> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | dirk_baeumer, heinrich_soebke, martin.skorsky, pwebster |
| Version: | 3.1 | Keywords: | helpwanted |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | stalebug | ||
|
Description
Kim Horne
I don't see any reason why we should not support arbitrary nesting of categories. But even if we do, the parent category of a view (or of a category) should just be a single category id, not a path. The wizards extension point has the same problem.
For example, org.eclipse.jdt.junit's plugin.xml has:
<extension
point="org.eclipse.ui.newWizards">
<category
name="%WizardCategory.name"
parentCategory="org.eclipse.jdt.ui.java"
id="org.eclipse.jdt.junit">
</category>
<wizard
name="%TestCaseWizard.name"
icon="icons/full/etool16/new_testcase.gif"
category="org.eclipse.jdt.ui.java/org.eclipse.jdt.junit"
id="org.eclipse.jdt.junit.wizards.NewTestCaseCreationWizard">
...
</wizard>
The wizard should not have to specify the full path, which is duplicating the
parent path specified by the junit category. It should suffice to just say:
<wizard
category="org.eclipse.jdt.junit"
...
</wizard>
This seems to be the same as for action sets and menus. Inside the org.eclipse.ui.newWizards you can define more than one category so the wizard as to reference it categroy by a fully qualified name Yes, the category id needs to be fully qualified, but it should suffice to specify just the parent category id, not the full path to the category from the top. We should not allow multiple categories with the same id, and a given category has only a single parent chain, so the id by itself is unambiguous. Reassigning bugs in component areas that are changing ownership. Remy is now responsible for watching the [ViewMgmt] category. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |