-// $Id$
/**
* Copyright (C) 2007 EDIT
* European Distributed Institute of Taxonomy
private static final String SHOW_EXPERIMENTAL_FEATURES = "isShowExperimentalFeatures";
- private static final String SHOW_CHECKLIST_EDITOR = "isChecklistEditorEnabled";
+ private static final String SHOW_CHECKLIST_EDITOR = "isChecklistEditorEnabled";
- /* (non-Javadoc)
- * @see org.eclipse.core.expressions.IPropertyTester#test(java.lang.Object, java.lang.String, java.lang.Object[], java.lang.Object)
- */
@Override
public boolean test(Object receiver, String property, Object[] args,
Object expectedValue) {
-
if(SHOW_EXPERIMENTAL_FEATURES.equals(property)){
return isShowExperimentalFeatures();
}
if(SHOW_CHECKLIST_EDITOR.equals(property)){
return isChecklistEditorEnabled();
}
-
return false;
}
private boolean isChecklistEditorEnabled() {
return PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.DISTRIBUTION_AREA_PREFRENCES_ACTIVE);
}
+
}