return ( (ResourceEntry) element ).getName( );
if(element instanceof FragmentResourceEntry) { return Messages.getString( "FragmentResourceEntry.RootDisplayName" ); }else if(element instanceof PathResourceEntry) { return Messages.getString( "PathResourceEntry.RootDisplayName" ); }
	public String getText( Object element )	{		if ( element instanceof LibraryHandle )		{			// fileName of the LibraryHandle is a relative path.			String fileName = ( (LibraryHandle) element ).getFileName( );			//fileName is a URL string.			return fileName.substring( fileName.lastIndexOf( "/" ) + 1 ); //$NON-NLS-1$		}		if ( element instanceof ResourceEntry )		{			return ( (ResourceEntry) element ).getName( );		}		if ( element instanceof String )		{			return element.toString( );		}		return super.getText( element );	}