protected Control createDialogArea(Composite parent) { Composite area= (Composite)super.createDialogArea(parent); fContent= new TypeSelectionComponent(area, SWT.NONE, getMessage(), fMultipleSelection, fScope, fElementKind, fInitialFilter, new TitleLabel(), fExtension); GridData gd= new GridData(GridData.FILL_BOTH); fContent.setLayoutData(gd); fContent.addSelectionListener(new SelectionListener() { public void widgetDefaultSelected(SelectionEvent e) { handleDefaultSelected(fContent.getSelection()); } public void widgetSelected(SelectionEvent e) { handleWidgetSelected(fContent.getSelection()); } }); return area; }
@Override protected Control createDialogArea(Composite parent) { Composite area= (Composite)super.createDialogArea(parent); fContent= new TypeSelectionComponent(area, SWT.NONE, getMessage(), fMultipleSelection, fScope, fElementKind, fInitialFilter, new TitleLabel(), fExtension); GridData gd= new GridData(GridData.FILL_BOTH); fContent.setLayoutData(gd); fContent.addSelectionListener(new SelectionListener() { @Override public void widgetDefaultSelected(SelectionEvent e) { handleDefaultSelected(fContent.getSelection()); } @Override public void widgetSelected(SelectionEvent e) { handleWidgetSelected(fContent.getSelection()); } }); return area; }
@Override protected Control createDialogArea(Composite parent) { Composite area= (Composite)super.createDialogArea(parent); fContent= new TypeSelectionComponent(area, SWT.NONE, getMessage(), fMultipleSelection, fScope, fElementKind, fInitialFilter, new TitleLabel(), fExtension); GridData gd= new GridData(GridData.FILL_BOTH); fContent.setLayoutData(gd); fContent.addSelectionListener(new SelectionListener() { @Override public void widgetDefaultSelected(SelectionEvent e) { handleDefaultSelected(fContent.getSelection()); } @Override public void widgetSelected(SelectionEvent e) { handleWidgetSelected(fContent.getSelection()); } }); return area; }