private Element findAppNameElement(Element parent) { for (int i = 0; i < parent.getChildCount(); i++) { Node childNode = parent.getChild(i); if (Element.is(childNode)) { Element child = Element.as(childNode); if (child.getAttribute("name").equalsIgnoreCase(appearance.download())) { // $NON-NLS-1$ return child; } } } return null; }
@Override public void render(Cell.Context context, MetadataTemplateInfo value, SafeHtmlBuilder sb) { appearance.render(sb, value.getId()); }