public void propertyChange(PropertyChangeEvent event) {
   if (event.getProperty() == PreferenceConstants.EDITOR_EVALUTE_TEMPORARY_PROBLEMS) {
     this.status = CJDTConfigSettings.isAnalyzeAnnotationsEnabled();
     if (this.action != null) {
       this.action.setChecked(this.status);
     }
   }
 }
 public void run(IAction action) {
   CJDTConfigSettings.setAnalyzeAnnotations(!this.status);
   this.status = CJDTConfigSettings.isAnalyzeAnnotationsEnabled();
   action.setChecked(this.status);
   this.action = action;
 }
 public void init(IWorkbenchWindow window) {
   this.status = CJDTConfigSettings.isAnalyzeAnnotationsEnabled();
   JavaPlugin.getDefault().getPreferenceStore().addPropertyChangeListener(this);
 }