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