new Label( container, SWT.NULL ).setText( LABEL_FORMAT_CODE ); formatCode = new Text( container, SWT.SINGLE | SWT.BORDER ); formatCode.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); formatCode.addModifyListener( new ModifyListener( ) {  public void modifyText( ModifyEvent e ) { if ( hasLoaded ) { updatePreview( ); } } } );  group = new Group( customPage, SWT.NONE ); group.setText( LABEL_PREVIEW_GROUP ); data = new GridData( GridData.FILL_HORIZONTAL ); group.setLayoutData( data ); group.setLayout( new GridLayout( 2, false ) );  new Label( group, SWT.NONE ).setText( LABEL_PREVIEW_STRING ); previewTextBox = new Text( group, SWT.SINGLE | SWT.BORDER ); previewTextBox.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); previewTextBox.addModifyListener( new ModifyListener( ) {  public void modifyText( ModifyEvent e ) { setDefaultPreviewText( previewTextBox.getText( ) ); if ( hasLoaded ) { updatePreview( ); } } } );  new Label( group, SWT.NONE ).setText( LABEL_PREVIEW_LABEL ); cPreviewLabel = new Label( group, SWT.NONE ); cPreviewLabel.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );
	private Composite getCustomPage( Composite parent )	{		if ( customPage == null )		{			customPage = new Composite( parent, SWT.NULL );			customPage.setLayout( new GridLayout( 1, false ) );			Group group = new Group( customPage, SWT.NONE );			group.setText( LABEL_CUSTOM_SETTING_GROUP );			GridData data = new GridData( GridData.FILL_HORIZONTAL );			group.setLayoutData( data );			group.setLayout( new GridLayout( 2, false ) );			Label label = new Label( group, SWT.NONE );			label.setText( LABEL_CUSTOM_SETTING );			data = new GridData( );			data.horizontalSpan = 2;			label.setLayoutData( data );			label = new Label( group, SWT.NONE );			label.setText( LABEL_CUSTOM_SETTING_LABEL );			data = new GridData( );			data.horizontalSpan = 2;			label.setLayoutData( data );			createTable( group );			Composite container = new Composite( customPage, SWT.NONE );			data = new GridData( GridData.FILL_HORIZONTAL );			container.setLayoutData( data );			container.setLayout( new GridLayout( 2, false ) );			new Label( container, SWT.NULL ).setText( LABEL_FORMAT_CODE );			formatCode = new Text( container, SWT.SINGLE | SWT.BORDER );			formatCode.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );			formatCode.addModifyListener( new ModifyListener( ) {				public void modifyText( ModifyEvent e )				{					if ( hasLoaded )					{						updatePreview( );					}				}			} );			group = new Group( customPage, SWT.NONE );			group.setText( LABEL_PREVIEW_GROUP );			data = new GridData( GridData.FILL_HORIZONTAL );			group.setLayoutData( data );			group.setLayout( new GridLayout( 2, false ) );			new Label( group, SWT.NONE ).setText( LABEL_PREVIEW_STRING );			previewTextBox = new Text( group, SWT.SINGLE | SWT.BORDER );			previewTextBox.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );			previewTextBox.addModifyListener( new ModifyListener( ) {				public void modifyText( ModifyEvent e )				{					setDefaultPreviewText( previewTextBox.getText( ) );					if ( hasLoaded )					{						updatePreview( );					}				}			} );			new Label( group, SWT.NONE ).setText( LABEL_PREVIEW_LABEL );			cPreviewLabel = new Label( group, SWT.NONE );			cPreviewLabel.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );		}		return customPage;	}