Package ag.kcmedia

Source Code of ag.kcmedia.Main

package ag.kcmedia;

import com.webobjects.appserver.WOComponent;
import com.webobjects.appserver.WOContext;

public class Main extends WOComponent {

    public String className = "com.webobjects.appserver.WOContext";
    public String modelPath = System.getProperty("user.home") + "/Roots/ERCoreBusinessLogic.framework/Resources/ERCoreBusinessLogic.eomodeld";
    public String ruleFileName = System.getProperty("user.home") + "/Roots/ERDirectToWeb.framework/Resources/d2w.d2wmodel";
   
    public Main(WOContext aContext) {
        super(aContext);
    }


    public WOComponent javaBrowser() {
        WOComponent nextPage = pageWithName("JavaBrowser");
        nextPage.takeValueForKey(className, "className");
        return nextPage;
    }

    public WOComponent javaDocViewer() {
        WOComponent nextPage = pageWithName("JavaDocViewer");
        nextPage.takeValueForKey(className, "className");
        return nextPage;
    }

    public WOComponent ruleEditor() {
        WOComponent nextPage = pageWithName("RuleEditor");
        nextPage.takeValueForKey(ruleFileName, "ruleFileName");
        return nextPage;
    }

    public WOComponent modeler() {
        WOComponent nextPage = pageWithName("EOModeler");
        nextPage.takeValueForKey(modelPath, "modelPath");
        return nextPage;
    }

}
TOP

Related Classes of ag.kcmedia.Main

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.