}
}
private void createZoomMenu()
{
final XulComponent zoomMenu = context.getView().getXulComponent("view-zoom-selection-popup", XulMenupopup.class);// NON-NLS
if (zoomMenu == null)
{
return;
}
final InternalZoomAction zoom50action = new InternalZoomAction(50);
final InternalZoomAction zoom100action = new InternalZoomAction(100);
final InternalZoomAction zoom200action = new InternalZoomAction(200);
final InternalZoomAction zoom400action = new InternalZoomAction(400);
zoom50action.setReportDesignerContext(context);
zoom100action.setReportDesignerContext(context);
zoom200action.setReportDesignerContext(context);
zoom400action.setReportDesignerContext(context);
zoomMenu.addChild(context.getView().createMenuItem(zoom50action));
zoomMenu.addChild(context.getView().createMenuItem(zoom100action));
zoomMenu.addChild(context.getView().createMenuItem(zoom200action));
zoomMenu.addChild(context.getView().createMenuItem(zoom400action));
}