Bug 127677 [clean up][ui] should indicate selected cleanups on hidden tabs
I20060214-0010 Currently, the user cannot know what clean ups are active without going to every tab. That's a bit tedious for the common use case that you just want to apply a single clean up. One way to milden this problem of hidden active clean ups would be to add the number of active clean ups to the category tabs, e.g. Code Style (1) | Unnecessary Code (0) | Missing Code (0)
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CleanUpRefactoringWizard.java
}
			
			private int loadSettings(IDialogSettings settings) {
				String sectionName= getSectionName();
				IDialogSettings section= settings.getSection(sectionName);
				if (section == null)
					return 0;
				
				return section.getInt("uiFlags"); 
			}
			
			private String getSectionName() {
				StringBuffer buf= new StringBuffer(fLabel);
				for (int i=buf.length()-1;i>=0;i--) {
					if (buf.charAt(i) == '&' || buf.charAt(i) == ' ')
						buf.deleteCharAt(i);
				}
				return buf.toString();
			}
		}
		
		private ICleanUp[] fCleanUps;
		private List fConfigurationGroups;
		
		public SelectCleanUpPage(String name) {
			super(name);
			fConfigurationGroups= new ArrayList();
		}
		
		public void createControl(Composite parent) {