]>
git.argeo.org Git - gpl/argeo-slc.git/blob - components/IPerspective.js
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
6 * @author Charles du Jeu
8 qx
.Interface
.define("org.argeo.ria.components.IPerspective", {
17 * Initialize the available zones that will later contain IView implementations.
18 * This method is <b>in charge</b> of your panel to the main application zone
19 * (just below the toolbar).
21 * @param viewsManager {org.argeo.components.ViewsManager} the pane manager
24 initViewPanes : function(viewsManager
){return true;},
26 * Once the zones are available and initialized, initialize the views here
27 * and add them to viewPanes. Trigger initial data loading, etc.
29 * @param viewsManager {org.argeo.components.ViewsManager} the pane manager
32 initViews : function(viewsManager
){return true},
34 * Remove and destroy the perspective
35 * @param viewsManager {org.argeo.components.ViewsManager} the pane manager
37 remove : function(viewsManager
){return true}