KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > web > jsf > navigation > JSFPageFlowViewFactory


1 /*
2  * JSFTestViewFactory.java
3  *
4  * Created on February 7, 2007, 6:20 PM
5  *
6  * To change this template, choose Tools | Template Manager
7  * and open the template in the editor.
8  */

9
10 package org.netbeans.modules.web.jsf.navigation;
11
12 //import org.netbeans.modules.jsfmultiviewtest.*;
13
import org.netbeans.modules.web.jsf.navigation.JSFPageFlowMultiviewDescriptor;
14 import org.netbeans.core.spi.multiview.MultiViewDescription;
15 import org.netbeans.modules.web.jsf.api.editor.JSFConfigEditorContext;
16 import org.netbeans.modules.web.jsf.api.editor.JSFConfigEditorViewFactory;
17
18 /**
19  *
20  * @author Joelle Lam
21  */

22 public class JSFPageFlowViewFactory implements JSFConfigEditorViewFactory {
23     
24     /**
25      * Creates teh MultiViewDescriptor
26      * @param facesContext
27      * @return MultiViewDescription
28      */

29     public MultiViewDescription createMultiViewDescriptor(JSFConfigEditorContext facesContext){
30         return new JSFPageFlowMultiviewDescriptor(facesContext);
31     }
32     
33 }
34
Popular Tags