Change 20100531-bargull-EWW by barg...@bargull02 on 2010-05-31 19:19:57
in /home/anba/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: some updates for the inspector to handle anonymous classes better
Bugs Fixed: LPP-9060 (inspector: no proper tagname for anonymous classes
and debug window not hidden)
Technical Reviewer: ptw
QA Reviewer: (pending)
Details:
The inspector needs to display the proper tagname, "<anonymous>" won't
help anyone here. There are now two additional methods:
- getTagName(): returns constructor.tagname if defined, otherwise checks
for anonymous classes by inspecting the classname and in case of anon
classes returns the superclass' tagname
- getDisplayName(): returns getTagName() if not null, otherwise returns
the classname
Two retrieve the superclass and the classname, separate definitions are
needed for swf8/dhtml and swf9+
Also updated switch clause to use the new tagname of the debugger.
Tests:
inspector-example works
Files:
M lps/components/utils/diagnostic/inspector/inspector.lzx
Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/20100531-bargull-EWW.tar