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
}
		}
		
    }
    /* (non-Javadoc)
     * @see org.eclipse.ui.IStartup#earlyStartup()
     */
    public void earlyStartup() {
        final Display display = Display.getDefault();
        display.syncExec(new Runnable() {
            public void run() {
        		delegate = new SWTCocoaEnhancerDelegate();
        		delegate.alloc().init();
        		delegateJniRef = OS.NewGlobalRef(CocoaUIEnhancer.this);
        		if (delegateJniRef == 0) SWT.error(SWT.ERROR_NO_HANDLES);
        		OS.object_setInstanceVariable(delegate.id, SWT_OBJECT, delegateJniRef);		
        		hookApplicationMenu();
				hookWorkbenchListener();
				
		        
		        display.disposeExec(new Runnable() {
		            public void run() {
		            	if (delegateJniRef != 0) OS.DeleteGlobalRef(delegateJniRef);
		            	delegateJniRef = 0;
		            	
		            	if (delegate != null) delegate.release();
		            	delegate = null;
		                
		            	if (proc3Args != null) proc3Args.dispose();
		                proc3Args = null;