text.setToolTipText("Enter a Type name." + (contentAssistAvailable ?
"Content Assist is available (press Ctrl + Space)" : ""));
text.getParent().setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
text.addListener(SWT.KeyUp, this);
text.addListener(SWT.MouseUp, this); // for paste operation
text.addListener(SWT.Modify, this); // for content assist
// newText(tc, SWT.NONE,
// "Enter a Type name. Content Assist is available on Eclipse 3.2 and beyond (press Ctrl + Space)");
// ContentProposalAdapter adapter = new ContentProposalAdapter(