addDefaultToggleHandler(context,zoomBox);
band.addFlowComponent(zoomBox);
JCommandButtonStrip strip = new JCommandButtonStrip();
AFreeplaneAction action = context.getBuilder().getMode().getAction("ZoomInAction");
JCommandButton button = RibbonActionContributorFactory.createCommandButton(action);
button.setDisplayState(CommandButtonDisplayState.SMALL);
getAccelChangeListener().addAction(action.getKey(), button);
addDefaultToggleHandler(context, action, button);
strip.add(button);
action = context.getBuilder().getMode().getAction("ZoomOutAction");
button = RibbonActionContributorFactory.createCommandButton(action);
button.setDisplayState(CommandButtonDisplayState.SMALL);
getAccelChangeListener().addAction(action.getKey(), button);
addDefaultToggleHandler(context, action, button);
strip.add(button);
action = context.getBuilder().getMode().getAction("FitToPage");
button = RibbonActionContributorFactory.createCommandButton(action);
button.setDisplayState(CommandButtonDisplayState.MEDIUM);
getAccelChangeListener().addAction(action.getKey(), button);
addDefaultToggleHandler(context, action, button);
strip.add(button);
band.addFlowComponent(strip);