protected void _createChildren(DocumentRootNode parentNode, stylesheet stylesheet) {
for (ruleset ruleset : stylesheet.getRuleset()) {
for (selector s : ruleset.getSelectors()) {
boolean isLeaf = ruleset.getDeclarations().isEmpty();
EObjectNode node = createEObjectNode(parentNode, ruleset, labelProvider.getImage(s), labelProvider.getText(s), isLeaf);
node.setShortTextRegion(locationInFileProvider.getSignificantTextRegion(s));
if (!isLeaf) {
createChildren(node, ruleset);
}
}