protected Text newText(Composite parent, int style, String tip) {
Text t = new Text(parent, style | SWT.BORDER);
t.setToolTipText(tip);
t.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
t.addListener(SWT.KeyUp, this);
t.addListener(SWT.MouseUp, this);
return t;
}
protected Tree newTree(Composite parent, int style) {
Tree tree = new Tree(parent, style | SWT.BORDER | swtTreeModeFlag);