Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 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(s):
Anton Arhipov
public class QAPanel extends GenericPanel {
    private static Constants constants = ((Constants) GWT.create(Constants.class));
    public QAPanel(ExplorerViewCenterPanel tabbedPanel) {
        super(.QA1(), tabbedPanel);
        setIconCls("nav-qa"); //NON-NLS
        final VerticalPanel qaPanel = new VerticalPanel();
        qaPanel.setWidth("100%");
        TreePanel qaTree = genericExplorerWidget(ExplorerNodeConfig.getQAStructure());
        qaTree.setRootVisible(false);
        qaPanel.add(qaTree);
        add(qaPanel);
    }
New to GrepCode? Check out our FAQ X