- menu.addCommandItem (&commandManager, CommandIDs::saveDocumentAs);
- menu.addCommandItem (&commandManager, CommandIDs::saveAll);
- menu.addSeparator();
- menu.addCommandItem (&commandManager, CommandIDs::convertToCamelCase);
- menu.addCommandItem (&commandManager, CommandIDs::convertToLowerCase);
- menu.addCommandItem (&commandManager, CommandIDs::updatePresetFile);
- menu.addSeparator();
- menu.addSeparator();
- menu.addCommandItem (&commandManager, CommandIDs::restartAudioDevice);
- menu.addSeparator();
- if (SystemStats::getOperatingSystemType() & SystemStats::MacOSX)
- {
- PopupMenu subMenu1, subMenu2, subMenu3;
- subMenu1.addCommandItem (&commandManager, CommandIDs::exportAsVSTEffect);
- subMenu1.addCommandItem (&commandManager, CommandIDs::exportAsVSTSynth);
- subMenu1.addCommandItem (&commandManager, CommandIDs::exportAsVST3Effect);
- subMenu1.addCommandItem (&commandManager, CommandIDs::exportAsVST3Synth);
- subMenu3.addSubMenu("VST Export", subMenu1);
- subMenu2.addCommandItem (&commandManager, CommandIDs::exportAsAUEffect);
- subMenu2.addCommandItem (&commandManager, CommandIDs::exportAsAUSynth);
- subMenu2.addCommandItem (&commandManager, CommandIDs::exportAsAUMIDIFx);