/**
* Parses the editor parameters.
*/
protected void parseParams()
{
EditorParameterParser parser = new EditorParameterParser(this);
// First, check for the most common form.
// Just one item type is given, which will be displayed and is also selectable
itemType = parser.getString("type");
Iterator itNames = parser.get("propertyname");
if (itNames.hasNext())
{
properties = new HashMap();
Iterator itValues = parser.get("propertyvalue");
while (itNames.hasNext())
{
String name = (String) itNames.next();
Object value = itValues.next();
properties.put(name, value);
}
}
supportedItemTypeList = parseList(parser, "supporteditemtype", false);
selectableItemTypeList = parseList(parser, "selectableitemtype", false);
supportedObjectClassList = parseList(parser, "supportedobjectclass", true);
selectableObjectClassList = parseList(parser, "selectableobjectclass", true);
title = parser.getString("title");
if (title == null)
{
// TOLOCALIZE
title = "Component Selection";
}
String s = parser.getString("opensystemmodel");
openSystemModel = "true".equals(s);
customizerClassName = parser.getString("customizer");
}