]> git.argeo.org Git - gpl/argeo-slc.git/blob - org.argeo.slc.webapp/src/main/webapp/source/class/org/argeo/ria/components/IPerspective.js
Refactoring
[gpl/argeo-slc.git] / org.argeo.slc.webapp / src / main / webapp / source / class / org / argeo / ria / components / IPerspective.js
1 /**
2 * This interface defines the main methods of an application Perpective.
3 * See the org.argeo.ria package documentation for more info on how to build an Application
4 * with this framework.
5 *
6 * @author Charles du Jeu
7 */
8 qx.Interface.define("org.argeo.ria.components.IPerspective", {
9
10 members : {
11 /**
12 * Initialize the available zones that will later contain IView implementations.
13 * This method is <b>in charge</b> of your panel to the main application zone
14 * (just below the toolbar).
15 *
16 * @param viewsManager {org.argeo.components.ViewsManager} the pane manager
17 *
18 */
19 initViewPanes : function(viewsManager){return true;},
20 /**
21 * Once the zones are available and initialized, initialize the views here
22 * and add them to viewPanes. Trigger initial data loading, etc.
23 *
24 * @param viewsManager {org.argeo.components.ViewsManager} the pane manager
25 *
26 */
27 initViews : function(viewsManager){return true}
28 }
29 });