Community
Participate
Working Groups
If 2 or more plugins define extensions for extension point org.eclipse.ui.views and specify categories with the same name and ID for their views, then: 1) only one category heading should be created in the UI 2) all child views should be created under that category heading Right now, #1 is a problem, but #2 works as expected. e.g. If we have pluginA and pluginB with the following plugin.xml we will see two "SWT Example" headings in the Perspectives -> Show View -> Other dialog, though both views will appear under a single heading (the first in the list). pluginA \ plugin.xml <!-- snip... stuff here to define plugin --> <extension point="org.eclipse.ui.views"> <category name="SWT Examples" id="org.eclipse.swt.examples.category"/> <view name="Launcher Example" category="org.eclipse.swt.examples.category" class="org.eclipse.swt.examples.launcher.LauncherView" id="org.eclipse.swt.examples.launcher.view"/> </extension> <!-- snip... more stuff here ---> pluginB \ plugin.xml <!-- snip... stuff here to define plugin --> <extension point="org.eclipse.ui.views"> <category name="SWT Examples" id="org.eclipse.swt.examples.category"/> <view name="Fizz Bazz Example" category="org.eclipse.swt.examples.category" class="org.eclipse.swt.examples.fizzbazz.FizzBazz" id="org.eclipse.swt.examples.fizzbazz.view"/> </extension> <!-- snip... more stuff here ---> NOTES: JB (18/05/2001 12:42:36 PM)
PRODUCT VERSION: Build 107
Deferring until development resources become available to consider this enhancement.
Reproducable in 2.0
Fix released to HEAD stream. (ViewRegistry)