1 package net.sourceforge.phpeclipse.phpeditor.php;
6 public abstract class PHPElement {
8 private String ElementName;
9 private String ElementDescription;
12 public final void setName(String ElementName)
13 { this.ElementName = ElementName; }
14 public final void setDescription(String ElementDescription)
15 { this.ElementDescription = ElementDescription; }
18 public final String getName() { return ElementName; }
19 public final String getDescription() { return ElementDescription; }
22 public PHPElement(String Name, String Description){
24 if ((Description == null) || (Description.equals("")))
26 setDescription(Name +" - ");
29 setDescription(Description);