1) Added missing strings for italic, underline and strike through.
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.sql / src / net / sourceforge / phpdt / sql / view / bookmark / Root.java
1 package net.sourceforge.phpdt.sql.view.bookmark;
2
3 import net.sourceforge.phpdt.sql.sql.metadata.ObjectMetaData;
4
5 /**
6  * @author root
7  *
8  * To change this generated comment edit the template variable "typecomment":
9  * Window>Preferences>Java>Templates.
10  * To enable and disable the creation of type comments go to
11  * Window>Preferences>Java>Code Generation.
12  */
13 public final class Root implements TreeNode {
14     public final static Root ROOT = new Root();
15         public final static Object[] EMPTY_ARRAY = new Object[0];
16    
17     private Root() {
18     }
19         /**
20          * @see net.sourceforge.phpdt.sql.view.bookmark.TreeNode#getChildren()
21          */
22         public Object[] getChildren() {
23                 return EMPTY_ARRAY;
24         }
25
26         public ObjectMetaData getMetaData() {
27                         return null;    //no metadata implementation for now
28                 }
29     
30         /**
31          * @see net.sourceforge.phpdt.sql.view.bookmark.TreeNode#getParent()
32          */
33         public Object getParent() {
34                 return null;
35         }
36
37         /**
38          * @see net.sourceforge.phpdt.sql.view.bookmark.TreeNode#hasChildren()
39          */
40         public boolean hasChildren() {
41                 return false;
42         }
43         
44         public String getName() {
45                 return "phpeclipsesql_root"; //$NON-NLS-1$
46         }
47 }