MODEL_FACTORY.createSelectorSequence();
String namespace = (String) namespaceCombo.getValue();
String element = (String) elementsCombo.getValue();
if (element != null && element.length() > 0) {
ElementSelector elementSelector = null;
if (ThemeConstants.UNIVERSAL_SELECTOR.equals(element)) {
elementSelector = MODEL_FACTORY.createUniversalSelector();
} else {
TypeSelector typeSelector =
MODEL_FACTORY.createTypeSelector();
typeSelector.setType(element);
elementSelector = typeSelector;
}
if (elementSelector != null) {
if (namespace != null && namespace.length() > 0) {
elementSelector.setNamespacePrefix(namespace);
}
sequence.addSelector(elementSelector);
}
}