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;
}
Aggregations