List<MetadataDescriptor> descriptors = new ArrayList<MetadataDescriptor>();
descriptors.add(
new MetadataDescriptor("Parameter",
new IEvaluator(){
public Object evaluate(Object object) {
NakedObjectActionParameter nakedObjectActionParameter = (NakedObjectActionParameter)object;
return nakedObjectActionParameter.getParameterName();
}
public MetadataDescriptorKind<? extends CellEditor> getKind() {
return MetadataDescriptorKind.STRING;
}
}, null
));
descriptors.add(
new MetadataDescriptor("Type",
new IEvaluator(){
public Object evaluate(Object object) {
NakedObjectActionParameter nakedObjectActionParameter = (NakedObjectActionParameter)object;
return nakedObjectActionParameter.getType();
}
public MetadataDescriptorKind<? extends CellEditor> getKind() {