/** * Returns the hover's label. * * @return the label */ public String getLabel() { String label= fElement.getAttribute(LABEL_ATTRIBUTE); if (label != null) return label; // Return simple class name label= getHoverClassName(); int lastDot= label.lastIndexOf('.'); if (lastDot >= 0 && lastDot < label.length() - 1) return label.substring(lastDot + 1); else return label; }
/** * Returns the hover's label. * * @return the label */ public String getLabel() { String label= fElement.getAttribute(LABEL_ATTRIBUTE); if (label != null) return label; // Return simple class name label= getHoverClassName(); int lastDot= label.lastIndexOf('.'); if (lastDot >= 0 && lastDot < label.length() - 1) return label.substring(lastDot + 1); else return label; }
/** * Returns the hover's label. * * @return the label */ public String getLabel() { String label= fElement.getAttribute(LABEL_ATTRIBUTE); if (label != null) return label; // Return simple class name label= getHoverClassName(); int lastDot= label.lastIndexOf('.'); if (lastDot >= 0 && lastDot < label.length() - 1) return label.substring(lastDot + 1); else return label; }