Package org.drools.guvnor.client.explorer

Source Code of org.drools.guvnor.client.explorer.QAPanel

package org.drools.guvnor.client.explorer;

import com.google.gwt.user.client.ui.VerticalPanel;
import com.google.gwt.core.client.GWT;
import com.gwtext.client.widgets.tree.TreePanel;
import org.drools.guvnor.client.messages.Constants;

/**
* @author Anton Arhipov
*/
public class QAPanel extends GenericPanel {
    private static Constants constants = ((Constants) GWT.create(Constants.class));

    public QAPanel(ExplorerViewCenterPanel tabbedPanel) {

        super(constants.QA1(), tabbedPanel);
        setIconCls("nav-qa"); //NON-NLS

        final VerticalPanel qaPanel = new VerticalPanel();
        qaPanel.setWidth("100%");
        TreePanel qaTree = genericExplorerWidget(ExplorerNodeConfig.getQAStructure(centertabbedPanel));
        qaTree.setRootVisible(false);
        qaPanel.add(PackagesPanel.wrapScroll(qaTree));
       
        add(qaPanel);
    }

}
TOP

Related Classes of org.drools.guvnor.client.explorer.QAPanel

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.