From: Charles du Jeu Date: Thu, 23 Jul 2009 10:00:05 +0000 (+0000) Subject: Rename X-Git-Tag: argeo-slc-2.1.7~1659 X-Git-Url: http://git.argeo.org/?a=commitdiff_plain;h=065d36b85187201697a8ec79e92c39f0ccc3626e;p=gpl%2Fargeo-slc.git Rename git-svn-id: https://svn.argeo.org/slc/trunk@2727 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc --- diff --git a/server/org.argeo.slc.ria/src/argeo-ria-lib/slc/class/org/argeo/slc/ria/monitor/DistListView.js b/server/org.argeo.slc.ria/src/argeo-ria-lib/slc/class/org/argeo/slc/ria/monitor/DistListView.js new file mode 100644 index 000000000..850892e57 --- /dev/null +++ b/server/org.argeo.slc.ria/src/argeo-ria-lib/slc/class/org/argeo/slc/ria/monitor/DistListView.js @@ -0,0 +1,76 @@ +qx.Class.define("org.argeo.slc.ria.monitor.PropertiesView", { + extend : qx.ui.container.Composite, + implement : [org.argeo.ria.components.IView], + + properties : { + /** + * The commands definition Map that will be automatically added and wired to the menubar and toolbar. + * See {@link org.argeo.ria.event.CommandsManager#definitions} for the keys to use for defining commands. + */ + commands : { + init : {} + }, + viewSelection : { + nullable:false, + check:"org.argeo.ria.components.ViewSelection" + }, + view : { + init : null + }, + instanceId : {init:""}, + instanceLabel : {init:""} + }, + + construct : function(){ + this.base(arguments); + this.setLayout(new qx.ui.layout.Dock()); + this.xmlStub = '' + + '' + + '' + + '' + + '' + + '' + + '' + + '' + + '' + + ''; + }, + + members : { + /** + * The implementation should contain the GUI initialisation. + * This is the role of the manager to actually add the graphical component to the pane, + * so it's not necessary to do it here. + * @param viewPane {org.argeo.ria.components.ViewPane} The pane manager + * @param data {Mixed} Any object or data passed by the initiator of the view + * @return {Boolean} + */ + init : function(viewPane, data){ + this.setView(viewPane); + this.setViewSelection(new org.argeo.ria.components.ViewSelection(viewPane.getViewId())); + this.label = new qx.ui.basic.Label("Properties"); + this.add(this.label, {edge : "center"}); + }, + /** + * The implementation should contain the real data loading (i.o. query...) + * @return {Boolean} + */ + load : function(){ + + }, + + updateData : function(node){ + this.label.setContent("Properties for : " + node.getLabel()); + }, + /** + * Whether this component is already contained in a scroller (return false) or not (return true). + * @return {Boolean} + */ + addScroll : function(){return true;}, + /** + * Called at destruction time + * Perform all the clean operations (stopping polling queries, etc.) + */ + close : function(){return true;} + } +}); \ No newline at end of file diff --git a/server/org.argeo.slc.ria/src/argeo-ria-lib/slc/class/org/argeo/slc/ria/monitor/PropertiesView.js b/server/org.argeo.slc.ria/src/argeo-ria-lib/slc/class/org/argeo/slc/ria/monitor/PropertiesView.js deleted file mode 100644 index 02871ffdc..000000000 --- a/server/org.argeo.slc.ria/src/argeo-ria-lib/slc/class/org/argeo/slc/ria/monitor/PropertiesView.js +++ /dev/null @@ -1,66 +0,0 @@ -qx.Class.define("org.argeo.slc.ria.monitor.PropertiesView", { - extend : qx.ui.container.Composite, - implement : [org.argeo.ria.components.IView], - - properties : { - /** - * The commands definition Map that will be automatically added and wired to the menubar and toolbar. - * See {@link org.argeo.ria.event.CommandsManager#definitions} for the keys to use for defining commands. - */ - commands : { - init : {} - }, - viewSelection : { - nullable:false, - check:"org.argeo.ria.components.ViewSelection" - }, - view : { - init : null - }, - instanceId : {init:""}, - instanceLabel : {init:""} - }, - - construct : function(){ - this.base(arguments); - this.setLayout(new qx.ui.layout.Dock()); - }, - - members : { - /** - * The implementation should contain the GUI initialisation. - * This is the role of the manager to actually add the graphical component to the pane, - * so it's not necessary to do it here. - * @param viewPane {org.argeo.ria.components.ViewPane} The pane manager - * @param data {Mixed} Any object or data passed by the initiator of the view - * @return {Boolean} - */ - init : function(viewPane, data){ - this.setView(viewPane); - this.setViewSelection(new org.argeo.ria.components.ViewSelection(viewPane.getViewId())); - this.label = new qx.ui.basic.Label("Properties"); - this.add(this.label, {edge : "center"}); - }, - /** - * The implementation should contain the real data loading (i.o. query...) - * @return {Boolean} - */ - load : function(){ - - }, - - updateData : function(node){ - this.label.setContent("Properties for : " + node.getLabel()); - }, - /** - * Whether this component is already contained in a scroller (return false) or not (return true). - * @return {Boolean} - */ - addScroll : function(){return true;}, - /** - * Called at destruction time - * Perform all the clean operations (stopping polling queries, etc.) - */ - close : function(){return true;} - } -}); \ No newline at end of file