* @return APPROVE_OPTION if the selection went OK, otherwise the selection
* was cancelled.
*/
protected int selectProperty() {
final PropertySelectorDialog jd = new PropertySelectorDialog(null,
m_Exp.getResultProducer());
jd.setLocationRelativeTo(this);
int result = jd.showDialog();
if (result == PropertySelectorDialog.APPROVE_OPTION) {
System.err.println(Messages.getInstance().getString("GeneratorPropertyIteratorPanel_SelectProperty_Error_Text_First"));
PropertyNode [] path = jd.getPath();
Object value = path[path.length - 1].value;
PropertyDescriptor property = path[path.length - 1].property;
// Make an array containing the propertyValue
Class propertyClass = property.getPropertyType();
m_Exp.setPropertyPath(path);