addButton.addSelectionListener( new SelectionAdapter()
{
public void widgetSelected( SelectionEvent e )
{
InterceptorDialog dialog = new InterceptorDialog( interceptors );
if ( Dialog.OK == dialog.open() )
{
InterceptorEnum newInterceptor = dialog.getInterceptor();
interceptors.add( newInterceptor );
viewer.refresh();
viewer.setSelection( new StructuredSelection( newInterceptor ) );