diff options
Diffstat (limited to 'qooxdoo/source/class/Smokeping/ui/GraphList.js')
-rw-r--r-- | qooxdoo/source/class/Smokeping/ui/GraphList.js | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/qooxdoo/source/class/Smokeping/ui/GraphList.js b/qooxdoo/source/class/Smokeping/ui/GraphList.js deleted file mode 100644 index c49b601..0000000 --- a/qooxdoo/source/class/Smokeping/ui/GraphList.js +++ /dev/null @@ -1,56 +0,0 @@ -/* ************************************************************************ -#module(Smokeping) -************************************************************************ */ - -/** - * a widget showing the smokeping graph overview - */ - -qx.Class.define('Smokeping.ui.GraphList', -{ - extend: qx.ui.layout.FlowLayout, - - /* - ***************************************************************************** - CONSTRUCTOR - ***************************************************************************** - */ - - /** - * @param base_url {String} Path to the location of the image generator - * - */ - - construct: function () { - - with(this){ - base(arguments); - set({ - overflow: 'auto', - backgroundColor: 'white', - border: new qx.ui.core.Border(1,'solid','#a0a0a0'), - width: '100%', - height: '100%', - verticalSpacing: 10, - horizontalSpacing: 10, - padding: 10 - }) - }; - qx.event.message.Bus.subscribe('sp.menu.folder',this._load_graphs,this); - }, - - members: { - _load_graphs: function(m){ - var files = m.getData() - this.removeAll(); - for(var i=0;i<files.length;i++){ - var image = new Smokeping.ui.Graph(files[i]); - this.add(image); - } - } - } - - -}); - - |