String key = optElem.getString(ATTRIB_KEY);
String label = optElem.getString(ATTRIB_LABEL);
boolean visible = optElem.getBoolean(ATTRIB_VISIBLE);
String type = optElem.getString(ATTRIB_TYPE);
if (type.equals(VALUE_TYPE_STRING)) {
opt = new StringConfigOption(key, label, visible);
}
Assert.isNotNull(opt, "Config option type not supported: " + type); //$NON-NLS-1$
// Configure the option
opt.visit(new IConfigOptionVisitor() {