Bug 257723 [Mac] Menu items "About Eclipse SDk" and "Preferences" of Top menu "Eclipse" not disable after show the dialog of "About Eclipse SDK"
bundles/org.eclipse.ui.cocoa/src/org/eclipse/ui/internal/cocoa/CocoaUIEnhancer.java
nsWindow.setToolbar(dummyBar);
			nsWindow.setShowsToolbarButton(true);
			
			
			NSButton toolbarButton = nsWindow.standardWindowButton(OS.NSWindowToolbarButton);
			toolbarButton.setTarget(delegate);
			toolbarButton.setAction(sel_toolbarButtonClicked_);
		}
	}
	
    private void hookApplicationMenu() {
        
    	NSMenu mainMenu = NSApplication.sharedApplication().mainMenu();
    	NSMenu appMenu = mainMenu.itemAtIndex(0).submenu();
    	
        
    	NSMenuItem aboutMenuItem = appMenu.itemAtIndex(kAboutMenuItem);
    	aboutMenuItem.setTitle(NSString.stringWith(fAboutActionName));
    	
    	if (fHideActionName != null) {
        	NSMenuItem hideMenuItem = appMenu.itemAtIndex(kHideApplicationMenuItem);
        	hideMenuItem.setTitle(NSString.stringWith(fHideActionName));
    	}
    	
    	
    	if (fQuitActionName != null) {
        	NSMenuItem quitMenuItem = appMenu.itemAtIndex(kQuitMenuItem);
        	quitMenuItem.setTitle(NSString.stringWith(fQuitActionName));
    	}