Bug 59698 [browser] investigate support for custom popup menu
The Browser widget for 3.0 has the following behaviour: 1. By default, expose the native popup menu if the embedded native browser exposes one (at the moment, this applies to IE only. Other browsers don't provide a 'free' default one). No custom menu can be set or modified on any platform. 2. allow apps to block the default popup menu by catching the SWT.MenuDetect event and setting the field event.doit to false. Scenario 1 is for people using the Browser to navigate HTML documents. Scenario 2 is for people using the Browser to render a portion of HTML and don't want the user to access the actions from the default popup menu. This behaviour is also consistent with the way the native Text widget provide a default popup menu. Post 3.0: Investigate support for custom popup menus.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/infoviews/JavadocView.java
private Control fControl;
		
		private SelectionProvider fSelectionProvider;
		/**
		 * Creates the action.
		 * 
		 * @param control the widget
		 * @param selectionProvider the selection provider
		 */
		public SelectAllAction(Control control, SelectionProvider selectionProvider) {
			super("selectAll"); 
			Assert.isNotNull(control);
			Assert.isNotNull(selectionProvider);
			fControl= control;
			fSelectionProvider= selectionProvider;
			setText(InfoViewMessages.getString("SelectAllAction.label")); 
			setToolTipText(InfoViewMessages.getString("SelectAllAction.tooltip")); 
			setDescription(InfoViewMessages.getString("SelectAllAction.description")); 
			WorkbenchHelp.setHelp(this, IAbstractTextEditorHelpContextIds.SELECT_ALL_ACTION);
		}
		/**
		 * Selects all in the view.
		 */
		public void run() {
			if (fControl instanceof StyledText)