Search in sources :

Example 6 with RecursiveChildrenListManager

use of cern.gp.explorer.test.helpers.RecursiveChildrenListManager in project ACS by ACS-Community.

the class TestTreeTableExplorerWithButtons method createExplorer.

public static TreeTableExplorer createExplorer() {
    TreeTableExplorer expl = null;
    try {
        final SimpleDemoBean bean = new SimpleDemoBean("parent");
        GPNode root = NodeFactory.createNode(bean, new RecursiveChildrenListManager());
        expl = new TreeTableExplorer();
        expl.setTableColumns(bean);
        expl.setRootNode(root);
    } catch (IntrospectionException ex) {
        ex.printStackTrace();
    }
    return expl;
}
Also used : SimpleDemoBean(cern.gp.explorer.test.helpers.SimpleDemoBean) TreeTableExplorer(cern.gp.explorer.TreeTableExplorer) RecursiveChildrenListManager(cern.gp.explorer.test.helpers.RecursiveChildrenListManager) IntrospectionException(java.beans.IntrospectionException) GPNode(cern.gp.nodes.GPNode)

Aggregations

RecursiveChildrenListManager (cern.gp.explorer.test.helpers.RecursiveChildrenListManager)6 GPNode (cern.gp.nodes.GPNode)6 SimpleDemoBean (cern.gp.explorer.test.helpers.SimpleDemoBean)5 IntrospectionException (java.beans.IntrospectionException)3 TreeExplorer (cern.gp.explorer.TreeExplorer)2 TreeTableExplorer (cern.gp.explorer.TreeTableExplorer)2 ListTableExplorer (cern.gp.explorer.ListTableExplorer)1 MultiListExplorer (cern.gp.explorer.MultiListExplorer)1 ColoredBean (cern.gp.explorer.test.helpers.ColoredBean)1