Search in sources :

Example 1 with ColoredBean

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

the class TestColoredListTableExplorer method createListTableExplorer.

/**
   * method that creates and returns a ListTableExplorer
   */
public static ListTableExplorer createListTableExplorer() {
    ListTableExplorer expl = null;
    try {
        expl = new ListTableExplorer();
        GPNode root = NodeFactory.createNode(new Object(), new RecursiveChildrenListManager(ColoredBean.class, 1, 10));
        expl.setRootNode(root);
        expl.setTableColumns(new ColoredBean(), null);
    } catch (Exception ex) {
        ex.printStackTrace();
    }
    return expl;
}
Also used : ListTableExplorer(cern.gp.explorer.ListTableExplorer) ColoredBean(cern.gp.explorer.test.helpers.ColoredBean) RecursiveChildrenListManager(cern.gp.explorer.test.helpers.RecursiveChildrenListManager) GPNode(cern.gp.nodes.GPNode)

Aggregations

ListTableExplorer (cern.gp.explorer.ListTableExplorer)1 ColoredBean (cern.gp.explorer.test.helpers.ColoredBean)1 RecursiveChildrenListManager (cern.gp.explorer.test.helpers.RecursiveChildrenListManager)1 GPNode (cern.gp.nodes.GPNode)1