project.getComponent(RevuWorkspaceSettingsComponent.class).addListener(workspaceSettingsListener);
}
public void disposeComponent()
{
ReviewManager reviewManager = project.getComponent(ReviewManager.class);
for (Review review : reviewManager.getReviews())
{
review.removeIssueListener(issueListener);
}
reviewManager.removeReviewListener(reviewListener);
EditorFactory.getInstance().removeEditorFactoryListener(editorFactoryListener);
project.getComponent(RevuWorkspaceSettingsComponent.class).removeListener(workspaceSettingsListener);
}