blob: f65d1e82b1cebaf11ca43c356474fde5a8c695bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
/*
#module(api)
*/
/**
* Shows the class details.
*/
qx.OO.defineClass("api.InfoViewer", qx.ui.embed.HtmlEmbed,
function() {
qx.ui.embed.HtmlEmbed.call(this);
this.setOverflow("auto");
this.setPadding(20);
this.setEdge(0);
this.setHtmlProperty("id", "InfoViewer");
this.setVisibility(false);
api.InfoViewer.instance = this;
});
qx.Proto.showInfo = function(classNode)
{
var vHtml = "";
// Title
vHtml += '<h1>';
vHtml += '<div class="pkgtitle">package</div>';
vHtml += classNode.attributes.fullName;
vHtml += '</h1>';
// TODO: Overview of classes in this package
// Apply HTML
this.setHtml(vHtml);
}
|