c9-core/plugins/c9.ide.language.core/hierarchy.xml

65 wiersze
2.9 KiB
XML

<a:application xmlns:a="http://ajax.org/2005/aml">
<a:bar id="barHierarchy" skinset="language_skin" skin="codecomplete" width="300" visible="false">
<a:vbox anchors="0 0 0 0">
<a:toolbar>
<a:bar height = "36">
<a:hbox edge="5">
<a:button
icon = "hier_supertype.png"
tooltip = "Supertypes Hierarchy"
onclick = "require('ext/language/hierarchy').refreshHierarchy(0)" />
<a:button
icon = "hier_subtype.png"
tooltip = "Subtypes Hierarchy"
onclick = "require('ext/language/hierarchy').refreshHierarchy(1)" />
<a:textbox
id = "tbHierarchySearch"
realtime = "true"
flex = "1"
skin = "searchbox_textbox"
class = "small_font"
focusselect = "true"
initial-message = "Search Hierarchy"
/>
</a:hbox>
</a:bar>
</a:toolbar>
<a:hbox flex="1">
<a:model id="mdlHierarchy">
<data>
</data>
</a:model>
<a:tree
id = "treeHierarchy"
skin = "outline-tree"
opencloseaction = "onmouseup"
onafterchoose = "require('ext/language/hierarchy').jumpToAndClose(this.selected)"
onkeyup = "require('ext/language/hierarchy').escapeHierarchy(event)"
model = "mdlHierarchy"
openadd = "false"
startcollapsed = "false"
empty-message = "No Hierarchy avaialble"
flex = "1"
anchors = "0 0 0 0">
<a:each
match = "[entry]"
filter = "{tbHierarchySearch.value}"
filter-fields = "@name"
>
<a:caption>
<?lm [@name]{!![@meta] ? "<code style='color:gray;'> - [@meta]</code>" : ""} ?>
</a:caption>
<a:icon value="{ide.staticPrefix}/ext/language/img/[@icon].png" />
</a:each>
</a:tree>
<a:scrollbar
for = "treeHierarchy"
id = "sbHierarchy"
margin = "2"
skin = "sbios"
width = "7"
overflow2 = "auto"/>
</a:hbox>
</a:vbox>
</a:bar>
</a:application>