while (localActivationItr.hasNext()) {
final Object object = localActivationItr.next();
if (object instanceof IHandlerActivation) {
final IHandlerActivation localActivation = (IHandlerActivation) object;
final String commandId = localActivation.getCommandId();
final IHandler handler = localActivation.getHandler();
final IHandlerActivation parentActivation = parent
.activateHandler(commandId, handler, defaultExpression);
parentActivations.add(parentActivation);
localActivationsToParentActivations.put(localActivation,
parentActivation);