String oldValue = fBoxValue; fBoxValue = fText.getText( ); setPresentsDefaultValue( false ); fireValueChanged( VALUE, oldValue, fBoxValue );
valueChanged( VALUE );
	public Text getTextControl( Composite parent )	{		// if should not have a Text( hasChoice == true ), return null		// directly, avoid creating the		// Text control. Because this mechod is called in various places, this		// judgement is necessary.		if ( hasChoice )		{			return null;		}		// lazily creates and returns the Text control.		if ( fText == null )		{			fText = new Text( parent, SWT.BORDER );			fText.setFont( parent.getFont( ) );			fText.addModifyListener( new ModifyListener( ) {				public void modifyText( ModifyEvent e )				{					String oldValue = fBoxValue;					fBoxValue = fText.getText( );					setPresentsDefaultValue( false );					fireValueChanged( VALUE, oldValue, fBoxValue );				}			} );		}		return fText;	}