updateScope(tensesInScope, tenses, action);
printScope(new TreeSet<Tense>(tensesInScope), "Tenses");
return true;
}
else if (command instanceof TenseTagCommand) {
TenseTagCommand tenseTagCommand = (TenseTagCommand) command;
Set<TenseTag> tenseTags = new HashSet<TenseTag>(tenseTagCommand.getTenseTags());
Set<Tense> tenses = new HashSet<Tense>();
for (TenseTag tenseTag : tenseTags) {
tenses.addAll(tenseTag.getMembers());
}
updateScope(tensesInScope, tenses, action);