Bug 187178 Remove Total.* from expression build
The Total java script object is no longer supported by BIRT. It should be removed from Expression builder.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/ExpressionTreeSupport.java
* Insert a text string into the text area
	 * 
	 * @param text
	 */
	protected void insertText( String text )
	{
		StyledText textWidget = expressionViewer.getTextWidget( );
		if ( !textWidget.isEnabled( ) )
		{
			return;
		}
		int selectionStart = textWidget.getSelection( ).x;
		if ( text.equalsIgnoreCase( "x++" ) ) 
		{
			text = textWidget.getSelectionText( ) + "++";
		}
		else if ( text.equalsIgnoreCase( "x--" ) )
		{
			text = textWidget.getSelectionText( ) + "--";
		}
		else if ( text.equalsIgnoreCase( "++x" ) )
		{
			text = "++" + textWidget.getSelectionText( );
		}
		else if ( text.equalsIgnoreCase( "--x" ) )
		{
			text = "--" + textWidget.getSelectionText( );
		}
		textWidget.insert( text );
		textWidget.setSelection( selectionStart + text.length( ) );