Bug 120168 [Field Assist] - should be able to specify character activation subset when auto-activating
ControlContentAdapter (initial release) When there is no triggering keystroke set on a ControlContentAdapter, auto-activation is assumed, and alpha-numerics trigger the auto-activation. It is useful to be able to specify a subset of characters that trigger auto-activation. This is done, for example, by the find/replace dialog RexExProcessor, so that only those characters involving regular expressions will auto-activate the content assist.
bundles/org.eclipse.jface/src/org/eclipse/jface/fieldassist/ContentProposalAdapter.java
sb.append("; character=" + e.character + hex(e.character)); 
				sb.append("; stateMask=" + e.stateMask + hex(e.stateMask)); 
				sb.append("; doit=" + e.doit); 
				sb.append("; detail=" + e.detail + hex(e.detail)); 
				sb.append("; widget=" + e.widget); 
				System.out.println(sb);
			}
			private String hex(int i) {
				return "[0x" + Integer.toHexString(i) + ']'; 
			}
		};
		control.addListener(SWT.KeyDown, controlListener);
		if (DEBUG)
			System.out
					.println("ContentProposalAdapter#installControlListener() - installed"); 
	}
	/*
	 * Open the proposal popup.
	 */
	private void openProposalPopup() {
		if (popup == null) {
			popup = new ContentProposalPopup(this, control, proposalProvider,
					null, labelProvider);
			popup.open();
			popup.getShell().addDisposeListener(new DisposeListener() {
				public void widgetDisposed(DisposeEvent event) {
					popup = null;
				}
			});
		}