"xtype" : "ColumnView",
"| void show" : [
"(Gee.ArrayList<Lsp.DocumentSymbol> syms) {",
- "\tthis.navigationwindow.el.show();",
+ "\t_this.navigationwindow.el.show();",
+ "\t_this.navliststore.el.remove_all();",
+ "\tforeach(var sym in syms) {",
+ "\t\t_this.navliststore.el.append(sym);",
+ "\t}",
+ "\t",
"",
"}"
]
// user defined functions
public void show (Gee.ArrayList<Lsp.DocumentSymbol> syms) {
- this.navigationwindow.el.show();
+ _this.navigationwindow.el.show();
+ _this.navliststore.el.remove_all();
+ foreach(var sym in syms) {
+ _this.navliststore.el.append(sym);
+ }
+
}
}