// Undo, redo, open, menu (and exam mode) private void addRightButtonPanel() { PerspectiveResources pr = ((ImageFactory) GWT.create(ImageFactory.class)).getPerspectiveResources(); this.rightButtonPanel = new FlowPanel(); this.rightButtonPanel.setStyleName("rightButtonPanel"); updateActionPanel(); toolBarPanel.add(rightButtonPanel); }