if (styleElement != null) {
DocumentTextNode textNode = styleElement.getTextNode();
String cssSource = textNode != null ? textNode.getRawText() : "";
IDocument cssDocument = new Document(cssSource);
CssEditContext cssContext = new CssEditContext(cssDocument);
ContextDescription contextDescription =
new UiBinderLocalContextDescription(m_context, styleElement, cssContext);
m_contextDescriptions.add(contextDescription);
}
}