Bug 326924 Compiler warnings in N20101003-2000
1. WARNING in /src/org/eclipse/ui/internal/cocoa/CocoaUIEnhancer.java (at line 334) if(workbenchWindow.PROP_COOLBAR_VISIBLE.equals(event.getProperty())) { The static field WorkbenchWindow.PROP_COOLBAR_VISIBLE should be accessed in a static way "workbenchWindow" should be replaced with "WorkbenchWindow".
bundles/org.eclipse.ui.cocoa/src/org/eclipse/ui/internal/cocoa/CocoaUIEnhancer.java
invokeMethod(OS.class, "class_addIvar", new Object[] {
				wrapPointer(cls), SWT_OBJECT, wrapPointer(size),
				new Byte((byte) align), types });
		
		invokeMethod(
				OS.class,
				"class_addMethod", new Object[] { wrapPointer(cls), wrapPointer(sel_toolbarButtonClicked_), wrapPointer(proc3), "@:@" }); 
		invokeMethod(OS.class, "class_addMethod", new Object[] {
				wrapPointer(cls),
				wrapPointer(sel_preferencesMenuItemSelected_),
				wrapPointer(proc3), "@:@" }); 
		invokeMethod(
				OS.class,
				"class_addMethod", new Object[] { wrapPointer(cls), wrapPointer(sel_aboutMenuItemSelected_), wrapPointer(proc3), "@:@" }); 
		invokeMethod(OS.class, "objc_registerClassPair",
				new Object[] { wrapPointer(cls) });			
	}	
	SWTCocoaEnhancerDelegate delegate;
	private long delegateJniRef;
	/**
	 * Class that is able to intercept and handle OS events from the toolbar and menu.
	 * 
	 * @since 3.1
	 */
    private static final String RESOURCE_BUNDLE = CocoaUIEnhancer.class.getPackage().getName() + ".Messages"; 
	
    private String fAboutActionName;
    private String fQuitActionName;
    private String fHideActionName;