Example #1
0
def outputObjectShortName(out, heap, links=None):
	if links != None:
		link = links.objectRef(heap)
	else:
		link = None

	if link:
		out.begin('a', href=link)
	out << dumputil.objectShortName(heap)
	if link:
		out.end('a')
Example #2
0
def outputObjectShortName(out, heap, links=None):
    if links != None:
        link = links.objectRef(heap)
    else:
        link = None

    if link:
        out.begin('a', href=link)
    out << dumputil.objectShortName(heap)
    if link:
        out.end('a')
Example #3
0
		def printTabbed(out, name, values, links):
			out << '\t'
			out << name
			out.endl()

			for value in values:
				out << '\t\t'
				link = links.objectRef(value)
				if link: out.begin('a', href=link)
				out << dumputil.objectShortName(value)
				if link: out.end('a')
				out.endl()
Example #4
0
        def printTabbed(out, name, values, links):
            out << '\t'
            out << name
            out.endl()

            for value in values:
                out << '\t\t'
                link = links.objectRef(value)
                if link: out.begin('a', href=link)
                out << dumputil.objectShortName(value)
                if link: out.end('a')
                out.endl()
Example #5
0
def tableRow(out, links, label, *args):
	out.begin('tr')
	out.begin('td')
	out.begin('b')
	out << label
	out.end('b')
	out.end('td')
	out.begin('td')

	first = True
	for arg in args:
		if not first: out.tag('br')
		link = links.objectRef(arg)
		if link: out.begin('a', href=link)
		out << dumputil.objectShortName(arg)
		if link: out.end('a')

		first = False

	out.end('td')
	out.end('tr')
	out.endl()
Example #6
0
def tableRow(out, links, label, *args):
    out.begin('tr')
    out.begin('td')
    out.begin('b')
    out << label
    out.end('b')
    out.end('td')
    out.begin('td')

    first = True
    for arg in args:
        if not first: out.tag('br')
        link = links.objectRef(arg)
        if link: out.begin('a', href=link)
        out << dumputil.objectShortName(arg)
        if link: out.end('a')

        first = False

    out.end('td')
    out.end('tr')
    out.endl()