191 |
} if(p.getType() == ParameterType.INT_LIST) { |
} if(p.getType() == ParameterType.INT_LIST) { |
192 |
|
|
193 |
} if(p.getType() == ParameterType.STRING_LIST) { |
} if(p.getType() == ParameterType.STRING_LIST) { |
194 |
// TODO: string list editor with no possibilities |
// TODO: string list editor with no possibilities |
195 |
/*StringListParameter slp = (StringListParameter)p; |
/*StringListParameter slp = (StringListParameter)p; |
196 |
if(slp.hasPossibilities()) { |
if(slp.hasPossibilities()) { |
197 |
|
|
198 |
}*/ |
}*/ |
199 |
return stringListEditor; |
return stringListEditor; |
200 |
} else if(p.hasPossibilities()) { |
} else if(p.hasPossibilities()) { |
201 |
JComboBox cb = new JComboBox(p.getPossibilities()); |
JComboBox cb = new JComboBox(p.getPossibilities()); |
202 |
cb.setSelectedItem(null); |
cb.setSelectedItem(null); |