2828 * #L%
2929 */
3030
31- package org .scijava .plugins .platforms .osx ;
31+ package org .scijava .plugins .platforms .macos ;
3232
3333import java .io .IOException ;
3434import java .net .URL ;
5252import org .scijava .plugin .Plugin ;
5353
5454/**
55- * A platform implementation for handling Apple OS X platform issues:
55+ * A platform implementation for handling Apple macOS platform issues:
5656 * <ul>
5757 * <li>Application events are rebroadcast as ImageJ events.</li>
58- * <li>OS X screen menu bar is enabled.</li>
58+ * <li>macOS screen menu bar is enabled.</li>
5959 * <li>Special screen menu bar menu items are handled.</li>
6060 * </ul>
6161 *
6262 * @author Curtis Rueden
6363 */
64- @ Plugin (type = Platform .class , name = "OS X " )
65- public class OSXPlatform extends AbstractPlatform {
64+ @ Plugin (type = Platform .class , name = "macOS " )
65+ public class MacOSPlatform extends AbstractPlatform {
6666
6767 /** Debugging flag to allow easy toggling of Mac screen menu bar behavior. */
6868 private static final boolean SCREEN_MENU = true ;
@@ -78,29 +78,29 @@ public class OSXPlatform extends AbstractPlatform {
7878
7979 @ Override
8080 public String osName () {
81- return "OS X " ;
81+ return "macOS " ;
8282 }
8383
8484 @ Override
8585 public void configure (final PlatformService service ) {
8686 super .configure (service );
8787
88- // use OS X screen menu bar
88+ // use macOS screen menu bar
8989 if (SCREEN_MENU ) System .setProperty ("apple.laf.useScreenMenuBar" , "true" );
9090
9191 // remove app commands from menu structure
9292 if (SCREEN_MENU ) removeAppCommandsFromMenu ();
9393
94- // translate OS X application events into ImageJ events
94+ // translate macOS application events into ImageJ events
9595 final EventService eventService = getPlatformService ().getEventService ();
9696 try {
97- appEventDispatcher = new OSXAppEventDispatcher (eventService );
97+ appEventDispatcher = new MacOSAppEventDispatcher (eventService );
9898 }
9999 catch (final NoClassDefFoundError e ) {
100- // the interfaces implemented by MacOSXAppEventDispatcher might not be
100+ // the interfaces implemented by MacOSAppEventDispatcher might not be
101101 // available:
102102 // - on MacOSX Tiger without recent Java Updates
103- // - on earlier MacOSX versions
103+ // - on earlier OS versions
104104 }
105105
106106 // subscribe to relevant window-related events
0 commit comments