private AbstractHandler handlerFactory(String actionId) {
if (actionId.equals("expand_abbreviation"))
return new ExpandAbbreviationAction();
if (actionId.equals("wrap_with_abbreviation"))
return new WrapWithAbbreviationAction();
return new DefaultAction();
}