showInputDialog
This commit is contained in:
parent
84d728a45b
commit
5f49f53ec3
|
@ -564,7 +564,7 @@ public abstract class ScriptShellBaseClass extends Script {
|
||||||
return (RenameAction) DefaultTypeTransformation.castToType(obj, RenameAction.class);
|
return (RenameAction) DefaultTypeTransformation.castToType(obj, RenameAction.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
public <T> T getUserChoice(Collection<T> options, String title, String message) throws Exception {
|
public <T> T showInputDialog(Collection<T> options, String title, String message) throws Exception {
|
||||||
if (options.isEmpty()) {
|
if (options.isEmpty()) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue