Package org.nextime.ion.backoffice.tree

Examples of org.nextime.ion.backoffice.tree.TreeBuilder


      TreeControl control = new TreeControl(root);

      if (treeBuildersStr != null) {
        Class treeBuilderImpl;
        TreeBuilder treeBuilderBase;

        ArrayList treeBuilders = new ArrayList(INIT_PLUGIN_MAX);
        int i = 0;
        StringTokenizer st = new StringTokenizer(treeBuildersStr, ",");
        while (st.hasMoreTokens()) {
          treeBuilders.add(st.nextToken().trim());
        }

        if (treeBuilders.size() == 0)
          treeBuilders.add(treeBuildersStr.trim());

        for (i = 0; i < treeBuilders.size(); i++) {

          try {
            treeBuilderImpl =
              Class.forName((String) treeBuilders.get(i));
            treeBuilderBase =
              (TreeBuilder) treeBuilderImpl.newInstance();
            treeBuilderBase.buildTree(control, servlet, request);
          } catch (Throwable t) {
            t.printStackTrace(System.out);
          }
        }
      }
View Full Code Here

TOP

Related Classes of org.nextime.ion.backoffice.tree.TreeBuilder

Copyright © 2018 www.massapicom. 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.