1 package net.sourceforge.phpeclipse.phpeditor.php;
6 public abstract class PHPElement {
8 private String ElementName;
9 private String ElementUsage;
12 public final void setName(String ElementName) {
13 this.ElementName = ElementName;
15 public final void setUsage(String usage) {
16 this.ElementUsage = usage;
20 public final String getName() {
24 public final String getUsage() {
28 public String getHoverText() {
29 return "<b>"+getUsage()+"</b>";
35 public PHPElement(String name, String usage) {
37 if ((usage == null) || (usage.equals(""))) {
38 setUsage(name + " - ");