public ValidatorMetaData[] getManualEnabledValidators() throws InvocationTargetException { if (useGlobalPreference()) { return extractProjectValidators(ConfigurationManager.getManager().getGlobalConfiguration().getManualEnabledValidators(), getResource()); } return super.getManualEnabledValidators(); }
public void resetToDefaultForProjectDescriptionChange() throws InvocationTargetException { // The default values of the project is whatever the preference values are GlobalConfiguration gp = ConfigurationManager.getManager().getGlobalConfiguration(); setEnabledManualValidators(gp.getManualEnabledValidators()); setEnabledBuildValidators(gp.getBuildEnabledValidators()); setDelegatingValidators(gp.getDelegatingValidators()); }
public void resetToDefault() throws InvocationTargetException { // The default values of the project is whatever the preference values are GlobalConfiguration gp = ConfigurationManager.getManager().getGlobalConfiguration(); setEnabledManualValidators(gp.getManualEnabledValidators()); setEnabledBuildValidators(gp.getBuildEnabledValidators()); setDelegatingValidators(gp.getDelegatingValidators()); // except for this field, which is unique to the project preferences setDoesProjectOverride(getDoesProjectOverrideDefault()); }
public void resetToDefault() throws InvocationTargetException { setDisableAllValidation(getDisableValidationDefault()); setEnabledValidators(getEnabledValidatorsDefault()); setEnabledManualValidators(getManualEnabledValidators()); setEnabledBuildValidators(getBuildEnabledValidators()); setCanProjectsOverride(getCanProjectsOverrideDefault()); setSaveAutomatically(getSaveAutomaticallyDefault()); setDefaultDelegates(getValidators()); }