Bug 213168 [Markers] problems view: polish sort menu
3.4 M4 - open the problems view - open the view menu The menu has two entries: - By column (sub menu) - Ascending (radio) a. Ascending should either be a check box or a second radio option 'Descending' should be added b. It might be more comfortable for users to not have a 'By Column' but have this entries directly below 'Sort' (separated with a separator from 'Ascending' and 'Descending') (not sure if SWT allow to have two separate radio groups in the same menu)
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/views/markers/SortDirectionContribution.java
items[0] = new ContributionItem() {
			/*
			 * (non-Javadoc)
			 * 
			 * @see org.eclipse.jface.action.ContributionItem#fill(org.eclipse.swt.widgets.Menu,
			 *      int)
			 */
			public void fill(Menu menu, int index) {
				MenuItem item = new MenuItem(menu, SWT.RADIO);
				item.setText(MarkerMessages.sortDirectionAscending_text);
				final ExtendedMarkersView view = getView();
				item.addListener(SWT.Selection, new Listener() {
					/*
					 * (non-Javadoc)
					 * 
					 * @see org.eclipse.swt.widgets.Listener#handleEvent(org.eclipse.swt.widgets.Event)
					 */
					public void handleEvent(Event event) {
						if (view != null)
							view.toggleSortDirection();
					}
				});
				if (view != null)
					item.setSelection(view.getSortAscending());
			}
		};
		return items;
	}
}