}
@Override
protected void setProperties(final UIComponent uiComponent) {
super.setProperties(uiComponent);
final UIToolBar component = (UIToolBar) uiComponent;
final FacesContext context = FacesContext.getCurrentInstance();
final Application application = context.getApplication();
if (markup != null) {
if (!markup.isLiteralText()) {
component.setValueExpression("markup", markup);
} else {
component.setMarkup(org.apache.myfaces.tobago.context.Markup.valueOf(markup.getExpressionString()));
}
}
if (tip != null) {
component.setValueExpression("tip", tip);
}
if (orientation != null) {
component.setValueExpression("orientation", orientation);
}
if (labelPosition != null) {
component.setValueExpression("labelPosition", labelPosition);
}
if (iconSize != null) {
component.setValueExpression("iconSize", iconSize);
}
}