tocEditor.setText( expressionBuilder.getResult( ) );
tocEditor.setText( expressionBuilder.getResult( ).trim( ) );
	private void createTOCArea( Composite parent )	{		Composite composite = new Composite( parent, SWT.NONE );		composite.setLayout( new GridLayout( ) );		GridData gd = new GridData( GridData.FILL_BOTH );		gd.widthHint = 200;		composite.setLayoutData( gd );		// Creates TOC expression name Label		new Label( composite, SWT.NONE ).setText( Messages.getString( "GroupDialog.Dialog.TOC" ) ); //$NON-NLS-1$		// Creates TOC area		Composite tocArea = new Composite( composite, SWT.NONE );		tocArea.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );		tocArea.setLayout( UIUtil.createGridLayoutWithoutMargin( 2, false ) );		// Creates expression editor		tocEditor = new Text( tocArea, SWT.SINGLE | SWT.BORDER );		tocEditor.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );		Button exprButton = new Button( tocArea, SWT.PUSH );		exprButton.setText( "..." ); //$NON-NLS-1$		exprButton.setToolTipText(Messages				.getString("GroupDialog.toolTipText.openExprButton"));		exprButton.addSelectionListener( new SelectionAdapter( ) {			public void widgetSelected( SelectionEvent event )			{				ExpressionBuilder expressionBuilder = new ExpressionBuilder( tocEditor.getText( ) );				expressionBuilder.setExpressionProvier( new ExpressionProvider( inputGroup ) );				if ( expressionBuilder.open( ) == OK )				{					tocEditor.setText( expressionBuilder.getResult( ) );				}			}		} );	}