misc changes
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / view / subset / SubsetRoot.java
1 package com.quantum.view.subset;
2
3 import com.quantum.view.bookmark.TreeNode;
4
5
6 /**
7  * @author root
8  */
9 public final class SubsetRoot extends TreeNode {
10     public final static SubsetRoot ROOT = new SubsetRoot();
11         public final static TreeNode[] EMPTY_ARRAY = new TreeNode[0];
12    
13     private SubsetRoot() {
14         super(null);
15     }
16         /**
17          * @see com.quantum.view.bookmark.TreeNode#getChildren()
18          */
19         public Object[] getChildren() {
20                 return EMPTY_ARRAY;
21         }
22
23         /**
24          * @see com.quantum.view.bookmark.TreeNode#hasChildren()
25          */
26         public boolean hasChildren() {
27                 return true;
28         }
29         
30         public String getName() {
31                 return "ROOT"; //$NON-NLS-1$
32         }
33     protected String getImageName() {
34         return null;
35     }
36     /* (non-Javadoc)
37      * @see com.quantum.view.bookmark.TreeNode#initializeChildren()
38      */
39     protected void initializeChildren() {
40     }
41 }