Project: Eclipse_Platform_UI
Bug 47091 [ActivityMgmt] Unable toeasily turn off activities in a category without all activities being enabled.
Reported: 2003-11-20 10:26:08 | Status: closed fixed

I20031119 1) Create a fresh workspace. 2) Drop a replacement plugin.xml into platform that contains activities and categories. 3) Ensure that all categories are disabled via the activity UI. 4) Create a new java project. This will activate the java activity, as evident from the open perspective/view menus. 5) Open the activity UI. Note that the java category is disabled. This is because the debugging activity is disabled. A category is only enabled iff all of its activities are enabled. Because of this, it's impossible to turn off the java activity without first enabling the java role, exiting the dialog, re-entering, and then turning off the enabled java category.

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/activities/ws/ActivityCategoryContentProvider.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/activities/ws/ActivityCategoryLabelProvider.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/activities/ws/ActivityEnabler.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/activities/ws/CategorizedActivity.java