1 package net.sourceforge.phpeclipse.phpeditor.php;
6 public abstract class PHPElement {
8 private String ElementName;
10 private String ElementUsage;
13 public final void setName(String ElementName) {
14 this.ElementName = ElementName;
17 public final void setUsage(String usage) {
18 this.ElementUsage = usage;
22 public final String getName() {
26 public final String getUsage() {
30 public String getHoverText() {
31 return "<b>" + getUsage() + "</b>";
37 public PHPElement(String name, String usage) {
39 if ((usage == null) || (usage.equals(""))) {
40 setUsage(name + " - ");