else { displayText.append( argInfo.getType( ) ); }
displayText.append( returnType );
	public String getDisplayText( Object element )	{		if ( element instanceof Object[] )		{			if ( element instanceof Operator[] )			{				if ( element == OPERATORS_ASSIGNMENT )				{					return DISPLAY_TEXT_ASSIGNMENT;				}				else if ( element == OPERATORS_COMPARISON )				{					return DISPLAY_TEXT_COMPARISON;				}				else if ( element == OPERATORS_COMPUTATIONAL )				{					return DISPLAY_TEXT_COMPUTATIONAL;				}				else if ( element == OPERATORS_LOGICAL )				{					return DISPLAY_TEXT_LOGICAL;				}			}			else if ( element instanceof ILocalizableInfo[] )			{				// including class info,method info and member info				ILocalizableInfo info = ( (ILocalizableInfo[]) element )[1];				StringBuffer displayText = new StringBuffer( info.getName( ) );				if ( info instanceof IMethodInfo )				{					IMethodInfo method = (IMethodInfo) info;					displayText.append( "(" ); //$NON-NLS-1$					boolean isFirst = true;					IArgumentInfoList arguments = (IArgumentInfoList) method.argumentListIterator( )							.next( );					for ( Iterator iter = arguments.argumentsIterator( ); iter.hasNext( ); )					{						IArgumentInfo argInfo = (IArgumentInfo) iter.next( );						if ( !isFirst )						{							displayText.append( ", " );						}						isFirst = false;						if ( IArgumentInfo.OPTIONAL_ARGUMENT_NAME.equals( argInfo.getName( ) ) )						{							displayText.append( argInfo.getDisplayName( ) );						}						else						{							displayText.append( argInfo.getType( ) );						}					}					displayText.append( ") : " ); //$NON-NLS-1$					String returnType = method.getReturnType( );					if ( returnType == null )					{						returnType = "void"; //$NON-NLS-1$					}					displayText.append( returnType );				}				else if ( info instanceof IMemberInfo )				{					displayText.append( " : " );					displayText.append( ( (IMemberInfo) info ).getDataType( ) );				}				return displayText.toString( );			}			return ALL;		}		else if ( element instanceof String )		{			return (String) element;		}		else if ( element instanceof Operator )		{			return ( (Operator) element ).symbol;		}		else if ( element instanceof DesignElementHandle )		{			return ( (DesignElementHandle) element ).getQualifiedName( );		}		else if ( element instanceof DataSetItemModel )		{			return ( (DataSetItemModel) element ).getDisplayName( );		}		return element.toString( );	}