Map<String, Object> context) {
Map<String, Action> map = templateService.getActions();
List<ChoiceListValue> vs = new ArrayList<ChoiceListValue>();
for (Map.Entry<String, String> action : actionsMap.entrySet()) {
if (map.containsKey(action.getValue()) || action.getKey().equals("default")) {
vs.add(new ChoiceListValue(action.getKey(), new HashMap<String, Object>(), new ValueImpl(
action.getValue(), PropertyType.STRING, false)));
}
}
return vs;
}