workbench.getDisplay().asyncExec(new Runnable() {
public void run() {
IWorkbenchWindow window = workbench.getActiveWorkbenchWindow();
if (window != null) {
IWorkbenchPage page = window.getActivePage();
IViewPart viewPart = page.findView(EDITOR_VIEW_ID);
if (viewPart != null && viewPart instanceof ReviewEditorView) {
((ReviewEditorView) viewPart).setEnable(isEnable);
}
}
}