Package org.cafesip.jiplet.console.client

Source Code of org.cafesip.jiplet.console.client.RootConsole

package org.cafesip.jiplet.console.client;

import com.google.gwt.user.client.ui.HorizontalSplitPanel;
import com.google.gwt.user.client.ui.SimplePanel;

public class RootConsole extends SimplePanel
{
    private HorizontalSplitPanel body;

    public RootConsole()
    {
        super();
        setSize("100%", "100%");
        init();
    }

    private void init()
    {
        body = new HorizontalSplitPanel();
        setWidget(body);
        body.setSize("100%", "100%");

        body.setSplitPosition("25%");

        TreeView tree = TreeView.getInstance();
        body.setLeftWidget(tree);
        tree.setSize("100%", "100%");

        FormsPanel formsPanel = new FormsPanel();
        body.setRightWidget(formsPanel);
        formsPanel.setSize("100%", "100%");
    }
}
TOP

Related Classes of org.cafesip.jiplet.console.client.RootConsole

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.