View Javadoc

1   package org.gnomekr.potron.web.tree;
2   
3   import java.util.Collections;
4   import java.util.List;
5   
6   import org.apache.myfaces.custom.tree2.TreeNode;
7   import org.gnomekr.potron.data.Translation;
8   
9   /***
10   * TranslationNode.java
11   * @author Xavier Cho
12   * @version $Revision 1.1 $ $Date: 2005/07/11 17:07:28 $
13   */
14  public class TranslationNode extends AbstractNavigationNode<Translation> {
15  
16      private static final long serialVersionUID = 6370456299235610167L;
17  
18      public TranslationNode(Translation translation) {
19          super(translation);
20      }
21  
22      /***
23       * @see org.gnomekr.potron.web.tree.AbstractNavigationNode#createChildNodes()
24       */
25      @Override
26      protected List<TreeNode> createChildNodes() {
27          return Collections.emptyList();
28      }
29  }