]> git.argeo.org Git - gpl/argeo-slc.git/blob - org.argeo.slc.webapp/src/main/webapp/argeo-ria-src/class/org/argeo/ria/components/IPerspective.js
A dynamic folder that will take a loader function as argument and then can be reloaded.
[gpl/argeo-slc.git] / org.argeo.slc.webapp / src / main / webapp / argeo-ria-src / 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 statics : {
11 /**
12 * The human readable name of the perspective
13 */
14 LABEL : "",
15 /**
16 * An image resource associated to the perspective
17 */
18 ICON : ""
19 },
20
21 members : {
22 /**
23 * Initialize the available zones that will later contain IView implementations.
24 * This method is <b>in charge</b> of your panel to the main application zone
25 * (just below the toolbar).
26 *
27 * @param viewsManager {org.argeo.components.ViewsManager} the pane manager
28 *
29 */
30 initViewPanes : function(viewsManager){return true;},
31 /**
32 * Once the zones are available and initialized, initialize the views here
33 * and add them to viewPanes. Trigger initial data loading, etc.
34 *
35 * @param viewsManager {org.argeo.components.ViewsManager} the pane manager
36 *
37 */
38 initViews : function(viewsManager){return true},
39 /**
40 * Remove and destroy the perspective
41 * @param viewsManager {org.argeo.components.ViewsManager} the pane manager
42 */
43 remove : function(viewsManager){return true}
44 }
45 });