private void initializeListeners() {
IWorkspace workspace = ResourcesPlugin.getWorkspace();
workspace.addResourceChangeListener(new MarkerResourceChangeListener(),
IResourceChangeEvent.POST_CHANGE);
IWorkbench workbench = ReviewPlugin.getInstance().getWorkbench();
workbench.addWindowListener(new WindowListenerAdapter());
IWorkbenchWindow[] workbenchWindows = workbench.getWorkbenchWindows();
for (int i = 0; i < workbenchWindows.length; i++) {
IWorkbenchPage page = workbench.getWorkbenchWindows()[i].getActivePage();
try {
page.addSelectionListener(new ReviewSelectionListener());