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
}
        });
    }
	void log(Exception e) {
		StatusUtil.handleStatus(e, StatusManager.LOG);
	}
	/**
	 * Hooks a listener that tweaks newly opened workbench window shells with
	 * the proper OS flags.
	 * 
	 * @since 3.2
	 */
    protected void hookWorkbenchListener() {
		PlatformUI.getWorkbench().addWindowListener(new IWindowListener() {
			public void windowActivated(IWorkbenchWindow window) {
				
			}
			public void windowDeactivated(IWorkbenchWindow window) {
				
			}
			public void windowClosed(IWorkbenchWindow window) {
				
			}
			public void windowOpened(IWorkbenchWindow window) {
				modifyWindowShell(window);
			}});
	}
    /**
	 * Modify the given workbench window shell bits to show the tool bar toggle
	 * button.