/**
  * Evaluates the title expression in the null context and returns the result.
  *
  * @return Returns an empty string or the title expression.
  */
 private String getTitle() {
   IModelObject element = xidget.getConfig();
   IExpression titleExpr =
       Xlate.childGet(element, "title", Xlate.get(element, "title", (IExpression) null));
   if (titleExpr != null) return titleExpr.evaluateString();
   return "";
 }
 /**
  * Returns true if the widget has a title.
  *
  * @return Returns true if the widget has a title.
  */
 private boolean hasTitle() {
   IModelObject element = xidget.getConfig();
   IExpression titleExpr =
       Xlate.childGet(element, "title", Xlate.get(element, "title", (IExpression) null));
   return titleExpr != null;
 }