addMenuItem(viewMenu, Icons.editorIcons.CheckBlack(), "Wrap Text", new SystemToggleWrapTextCommand());
viewMenu.addSeparator();
addMenuItem(viewMenu, Icons.editorIcons.Blank(), "Full-screen mode", new SystemToggleFullScreenCommand());
this.menu.addItem("View", viewMenu);
MenuBarExt exportMenu = new MenuBarExt(true);
addMenuItem(exportMenu, Icons.editorIcons.Blank(), "Portable Document Format (PDF)", new CurrentDocumentExportCommand("pdf"));
addMenuItem(exportMenu, Icons.editorIcons.Blank(), "PostScript Document (PS)", new CurrentDocumentExportCommand("ps"));
addMenuItem(exportMenu, Icons.editorIcons.Blank(), "Device Independent Format (DVI)", new CurrentDocumentExportCommand("dvi"));
this.menu.addItem("Export", exportMenu);
MenuBarExt compilerMenu = new MenuBarExt(true);
addMenuItem(compilerMenu, Icons.editorIcons.ItemList(), "Project Resources", new SystemShowDialogCommand(DynamicResourcesDialog.class));
compilerMenu.addSeparator();
addMenuItem(compilerMenu, Icons.editorIcons.Blank(), "Settings...", new SystemShowDialogCommand(DynamicCompilerSettingsDialog.class));