add stub for a FilesTreeLoader

This commit is contained in:
Damien Churchill 2009-02-21 02:57:22 +00:00
parent 1f6ea321b7
commit 8c0ba82e0a
1 changed files with 12 additions and 0 deletions

View File

@ -22,6 +22,12 @@ Copyright:
Boston, MA 02110-1301, USA. Boston, MA 02110-1301, USA.
*/ */
Deluge.FilesTreeLoader = Ext.extend(Ext.tree.TreeLoader, {
initComponent: function() {
Deluge.FilesTreeLoader.superclass.initComponent.call(this);
},
});
Deluge.ProgressBar = Ext.extend(Ext.ProgressBar, { Deluge.ProgressBar = Ext.extend(Ext.ProgressBar, {
initComponent: function() { initComponent: function() {
Deluge.ProgressBar.superclass.initComponent.call(this); Deluge.ProgressBar.superclass.initComponent.call(this);
@ -281,6 +287,12 @@ Deluge.Details.Panel = new Ext.TabPanel({
dataIndex: 'priority' dataIndex: 'priority'
}], }],
loader: new Deluge.FilesTreeLoader({
uiProviders: {
'col': Ext.tree.ColumnNodeUI
}
}),
root: new Ext.tree.AsyncTreeNode({ root: new Ext.tree.AsyncTreeNode({
text:'Tasks' text:'Tasks'
}) })