Skip to content

Commit

Permalink
Accepts arbitrary collections for the "among" facet in "parameter"
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexisDrogoul committed Feb 28, 2022
1 parent 69263d2 commit 5ec9cec
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -10,7 +10,7 @@
********************************************************************************************************/
package ummisco.gama.ui.parameters;

import java.util.List;
import java.util.Collection;

import msi.gama.kernel.experiment.ExperimentParameter;
import msi.gama.kernel.experiment.IParameter;
Expand Down Expand Up @@ -243,7 +243,7 @@ public static AbstractEditor create(final IScope scope, final EditorsGroup paren
* @return the string editor
*/
public static AbstractEditor choose(final IScope scope, final EditorsGroup parent, final String title,
final String value, final List<String> among, final EditorListener<String> whenModified) {
final String value, final Collection<String> among, final EditorListener<String> whenModified) {
AbstractEditor ed =
instance.create(scope, null, new InputParameter(title, value, Types.STRING, among), whenModified);
ed.createControls(parent);
Expand Down

0 comments on commit 5ec9cec

Please sign in to comment.