Organized imports
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / phpeditor / php / PHPConstant.java
1 package net.sourceforge.phpeclipse.phpeditor.php;
2
3
4 /**
5  * @author Choochter
6  *
7  * To change this generated comment edit the template variable "typecomment":
8  * Window>Preferences>Java>ObfuscatorIgnores.
9  * To enable and disable the creation of type comments go to
10  * Window>Preferences>Java>Code Generation.
11  */
12 public class PHPConstant extends PHPElement {
13   private String fDescription;
14   
15   public void setDescription(String description) {
16     this.fDescription = description;
17   }
18   public String getDescription() {
19     return this.fDescription;
20   }
21
22   public String getHoverText() {
23     return super.getHoverText()+"<br>"+getDescription();
24   }
25   
26   public PHPConstant(String Name, String usage, String description) {
27     super(Name, usage);
28     setDescription(description);
29   }
30 }