]> git.argeo.org Git - gpl/argeo-slc.git/commitdiff
New mandatory method and statics for IPerspective implementations
authorCharles du Jeu <charles.dujeu@gmail.com>
Tue, 13 Jan 2009 14:53:12 +0000 (14:53 +0000)
committerCharles du Jeu <charles.dujeu@gmail.com>
Tue, 13 Jan 2009 14:53:12 +0000 (14:53 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@2085 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

org.argeo.slc.webapp/src/main/webapp/argeo-ria-src/class/org/argeo/ria/components/IPerspective.js

index 88d3e870d43785cc5614ea24ed87f859fc5ccbfc..03216009628534324125bf9daa1c7f782117ef5d 100644 (file)
@@ -7,6 +7,11 @@
  */\r
 qx.Interface.define("org.argeo.ria.components.IPerspective", {\r
        \r
+       statics : {\r
+               LABEL : "",\r
+               ICON  : ""\r
+       },\r
+       \r
        members : {\r
                /**\r
                 * Initialize the available zones that will later contain IView implementations.\r
@@ -24,6 +29,11 @@ qx.Interface.define("org.argeo.ria.components.IPerspective", {
                 * @param viewsManager {org.argeo.components.ViewsManager} the pane manager\r
                 * \r
                 */\r
-               initViews : function(viewsManager){return true}\r
+               initViews : function(viewsManager){return true},\r
+               /**\r
+                * Remove and destroy the perspective\r
+                * @param viewsManager {org.argeo.components.ViewsManager} the pane manager\r
+                */\r
+               remove : function(viewsManager){return true}\r
        }\r
 });
\ No newline at end of file