@Override
public Object getValue(Object parent) {
if (parent instanceof ListParameters) {
ListParameters params = (ListParameters) parent;
Entry entry = params.getList().get(index);
PluginTypeParameters ptp =
new PluginTypeParameters(params.getBaseFactory(),
entry.getFactoryName(), entry.getParameters());
// set instance of ptp as entry's parameterblock since the incoming
// parameterblock is copied inside
entry.setParameters(ptp.getAsParameterBlock());
return ptp;
}
return null;
}