use of org.eclipse.wst.css.core.internal.metamodel.CSSProfileRegistry in project webtools.sourceediting by eclipse.
the class ContentSettingsRegistry method setCSSMetaModelRegistryInto.
public static void setCSSMetaModelRegistryInto(ComboList combo) {
// $NON-NLS-1$
combo.add(NONE, "");
CSSProfileRegistry reg = CSSProfileRegistry.getInstance();
Iterator i = reg.getProfiles();
while (i.hasNext()) {
CSSProfile profile = (CSSProfile) i.next();
String id = profile.getProfileID();
String name = profile.getProfileName();
combo.add(name, id);
}
combo.sortByKey(1);
}
Aggregations