/**\r
* Interface for a standard 'view' of an argeo RIA. A view is an independant applet that \r
* will be integrated inside a ViewPane. \r
+ * If this view is to implement a selection (a list, a tree, etc) that will trigger changes on commands, \r
+ * it must trigger a viewSelection#changeSelection event.\r
* \r
* The typical lifecycle of an IView will be the following :\r
* <br>+ init(viewPane) : initialize basic GUI in the viewPane\r
qx.Interface.define("org.argeo.ria.components.IView", {\r
\r
properties : {\r
+ /**\r
+ * The commands definition Map that will be automatically added and wired to the menubar and toolbar.\r
+ * See {@link org.argeo.ria.event.CommandsManager#definitions} for the keys to use for defining commands.\r
+ */\r
commands : {}\r
},\r
\r
members : {\r
/**\r
* The implementation should contain the GUI initialisation.\r
+ * This is the role of the manager to actually add the graphical component to the pane, \r
+ * so it's not necessary to do it here. \r
* @param viewPane {org.argeo.ria.components.ViewPane} The pane manager\r
* @return {Boolean}\r
*/\r
*/\r
load : function(data){return true;},\r
/**\r
- * Whether this component is already contained in a scroller \r
- * (return false) or not (return true).\r
+ * Whether this component is already contained in a scroller (return false) or not (return true).\r
* @return {Boolean}\r
*/\r
addScroll : function(){return true;}\r