messageLine.setText( errorMessage ); messageLine.setImage( ERROR_ICON );
messageLine.setText( errorMessage );
	private void checkName( )	{		String errorMessage = null;		String name = nameEditor.getText( ).trim( );		if ( name.length( ) == 0 )		{			errorMessage = ERROR_MSG_NAME_IS_REQUIRED;		}		else if ( input.getPropertyHandle( name ) != null )		{			errorMessage = ERROR_MSG_NAME_DUPLICATED;		}		if ( errorMessage != null )		{			messageLine.setText( errorMessage );			messageLine.setImage( ERROR_ICON );		}		else		{			messageLine.setText( "" ); //$NON-NLS-1$			messageLine.setImage( null );		}		getOkButton( ).setEnabled( errorMessage == null );	}