X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=org.argeo.slc.webapp%2Fsrc%2Fmain%2Fwebapp%2Fargeo-ria-src%2Fclass%2Forg%2Fargeo%2Fria%2Fcomponents%2FIPerspective.js;fp=org.argeo.slc.webapp%2Fsrc%2Fmain%2Fwebapp%2Fargeo-ria-src%2Fclass%2Forg%2Fargeo%2Fria%2Fcomponents%2FIPerspective.js;h=88d3e870d43785cc5614ea24ed87f859fc5ccbfc;hb=a10c083ba5bde2d7ebb466153c99858247ddb0aa;hp=0000000000000000000000000000000000000000;hpb=eea4bceab5bed0001c049b46cd6842ebdf41c95f;p=gpl%2Fargeo-slc.git diff --git a/org.argeo.slc.webapp/src/main/webapp/argeo-ria-src/class/org/argeo/ria/components/IPerspective.js b/org.argeo.slc.webapp/src/main/webapp/argeo-ria-src/class/org/argeo/ria/components/IPerspective.js new file mode 100644 index 000000000..88d3e870d --- /dev/null +++ b/org.argeo.slc.webapp/src/main/webapp/argeo-ria-src/class/org/argeo/ria/components/IPerspective.js @@ -0,0 +1,29 @@ +/** + * This interface defines the main methods of an application Perpective. + * See the org.argeo.ria package documentation for more info on how to build an Application + * with this framework. + * + * @author Charles du Jeu + */ +qx.Interface.define("org.argeo.ria.components.IPerspective", { + + members : { + /** + * Initialize the available zones that will later contain IView implementations. + * This method is in charge of your panel to the main application zone + * (just below the toolbar). + * + * @param viewsManager {org.argeo.components.ViewsManager} the pane manager + * + */ + initViewPanes : function(viewsManager){return true;}, + /** + * Once the zones are available and initialized, initialize the views here + * and add them to viewPanes. Trigger initial data loading, etc. + * + * @param viewsManager {org.argeo.components.ViewsManager} the pane manager + * + */ + initViews : function(viewsManager){return true} + } +}); \ No newline at end of file