int kind = delta.getKind();
if (resource instanceof IProject && ((flag & IResourceDelta.OPEN) != 0)) {
if (!((IProject) resource).isOpen()) {
log.debug("project was closed: " + ((IProject) resource).getName());
ReviewIssueModel model = ReviewIssueModelManager.getInstance().getCurrentModel();
model.clear();
model.notifyListeners(ReviewIssueModelEvent.CLEAR);
Display.getDefault().asyncExec(new Runnable() {
public void run() {
ReviewTableViewAction.NOTIFY_EDITOR.run();
}