private JPopupMenu createToolkitPopupMenu(TransformationPage page) {
TransformationToolBarMenu toolbarMenu = new TransformationToolBarMenu(page);
JPopupMenu popup = toolbarMenu.createJMenu(InterchangeMenuDictionary.DICTIONARY).getPopupMenu();
popup.addSeparator();
if (page.getObject().isXmlTransformation()) {
NodeExpansionMenu nodeExpansionMenu = new NodeExpansionMenu(page);
popup.add(nodeExpansionMenu.createMenu());
}
TreeMapperModeMenu displayModeMenu = new TreeMapperModeMenu(page);
popup.add(displayModeMenu.getMenu());
return popup;
}