public boolean doesProjectOverride() { // If the global preference doesn't allow projects to override, it doesn't matter what the // value of _doesProjectOverride is. return !useGlobalPreference(); }
/** * @see org.eclipse.wst.validation.internal.operations.internal.preference.ValidationConfiguration#numberOfEnabledValidators() */ public int numberOfEnabledValidators() throws InvocationTargetException { if (useGlobalPreference()) { return ConfigurationManager.getManager().getGlobalConfiguration().numberOfEnabledValidators(); } return super.numberOfEnabledValidators(); }
/** * @see org.eclipse.wst.validation.internal.operations.internal.preference.ValidationConfiguration#numberOfIncrementalValidators() */ public int numberOfIncrementalValidators() throws InvocationTargetException { if (useGlobalPreference()) { return ConfigurationManager.getManager().getGlobalConfiguration().numberOfIncrementalValidators(); } return super.numberOfIncrementalValidators(); }
/** * @see org.eclipse.wst.validation.internal.operations.internal.preference.ValidationConfiguration#numberOfValidators() */ public int numberOfValidators() throws InvocationTargetException { if (useGlobalPreference()) { return ConfigurationManager.getManager().getGlobalConfiguration().numberOfValidators(); } return super.numberOfValidators(); }
public Map getDelegatingValidators() throws InvocationTargetException { if (useGlobalPreference()) { return ConfigurationManager.getManager().getGlobalConfiguration().getDelegatingValidators(); } return super.getDelegatingValidators(); }
/** * @see org.eclipse.wst.validation.internal.operations.internal.preference.ValidationConfiguration#isEnabled(ValidatorMetaData) */ public boolean isEnabled(ValidatorMetaData vmd) throws InvocationTargetException { if (useGlobalPreference()) { return ConfigurationManager.getManager().getGlobalConfiguration().isEnabled(vmd); } return super.isEnabled(vmd); }
public boolean isDisableAllValidation() throws InvocationTargetException{ if (useGlobalPreference()) { return ConfigurationManager.getManager().getGlobalConfiguration().isDisableAllValidation(); } return super.isDisableAllValidation(); }
public ValidatorDelegateDescriptor getDelegateDescriptor(ValidatorMetaData vmd) throws InvocationTargetException { if (useGlobalPreference()) { return ConfigurationManager.getManager().getGlobalConfiguration().getDelegateDescriptor(vmd); } return super.getDelegateDescriptor(vmd); }
/** * @see org.eclipse.wst.validation.internal.operations.internal.preference.ValidationConfiguration#numberOfDisabledValidators() */ public int numberOfDisabledValidators() throws InvocationTargetException { if (useGlobalPreference()) { return ConfigurationManager.getManager().getGlobalConfiguration().numberOfDisabledValidators(); } return super.numberOfDisabledValidators(); }
/** * @see org.eclipse.wst.validation.internal.operations.internal.preference.ValidationConfiguration#numberOfEnabledIncrementalValidators() */ public int numberOfEnabledIncrementalValidators() throws InvocationTargetException { if (useGlobalPreference()) { return ConfigurationManager.getManager().getGlobalConfiguration().numberOfEnabledIncrementalValidators(); } return super.numberOfEnabledIncrementalValidators(); }
public int numberOfManualValidators() throws InvocationTargetException { if (useGlobalPreference()) { return ConfigurationManager.getManager().getGlobalConfiguration().numberOfManualEnabledValidators(); } return super.numberOfManualEnabledValidators(); } public boolean isDisableAllValidation() throws InvocationTargetException{
/** * If the preferences should be used then the preference settings are returned; otherwise return * the project settings. */ public ValidatorMetaData[] getEnabledValidators() throws InvocationTargetException { if (useGlobalPreference()) { return extractProjectValidators(ConfigurationManager.getManager().getGlobalConfiguration().getEnabledValidators(), getResource()); } return super.getEnabledValidators(); }
public ValidatorMetaData[] getManualEnabledValidators() throws InvocationTargetException { if (useGlobalPreference()) { return extractProjectValidators(ConfigurationManager.getManager().getGlobalConfiguration().getManualEnabledValidators(), getResource()); } return super.getManualEnabledValidators(); }
public ValidatorMetaData[] getEnabledFullBuildValidators(boolean fullBuild) throws InvocationTargetException { if (useGlobalPreference()) { return extractProjectValidators(ConfigurationManager.getManager().getGlobalConfiguration().getEnabledFullBuildValidators(fullBuild), getResource()); } return super.getEnabledFullBuildValidators(fullBuild); }
public ValidatorMetaData[] getBuildEnabledValidators() throws InvocationTargetException { if (useGlobalPreference()) { return extractProjectValidators(ConfigurationManager.getManager().getGlobalConfiguration().getBuildEnabledValidators(), getResource()); } return super.getBuildEnabledValidators(); }
/** * @see org.eclipse.wst.validation.internal.operations.internal.preference.ValidationConfiguration#getDisabledValidators() */ public ValidatorMetaData[] getDisabledValidators() throws InvocationTargetException { if (useGlobalPreference()) { return extractProjectValidators(ConfigurationManager.getManager().getGlobalConfiguration().getDisabledValidators(), getResource()); } return super.getDisabledValidators(); }
public ValidatorMetaData[] getEnabledFullBuildValidators(boolean fullBuild, boolean onlyReferenced) throws InvocationTargetException { if (useGlobalPreference()) { return extractProjectValidators(ConfigurationManager.getManager().getGlobalConfiguration().getEnabledFullBuildValidators(fullBuild), getResource(), onlyReferenced); } return super.getEnabledFullBuildValidators(fullBuild, onlyReferenced); }
/** * @see org.eclipse.wst.validation.internal.operations.internal.preference.ValidationConfiguration#getValidators() */ public ValidatorMetaData[] getValidators() throws InvocationTargetException { if (useGlobalPreference()) { return extractProjectValidators(ConfigurationManager.getManager().getGlobalConfiguration().getValidators(), getResource()); } return super.getValidators(); }
/** * @see org.eclipse.wst.validation.internal.operations.internal.attribute.ValidationConfiguration#getEnabledIncrementalValidators(boolean) */ public ValidatorMetaData[] getEnabledIncrementalValidators(boolean incremental) throws InvocationTargetException { if (useGlobalPreference()) { return extractProjectValidators(ConfigurationManager.getManager().getGlobalConfiguration().getEnabledIncrementalValidators(incremental), getResource()); } return super.getEnabledIncrementalValidators(incremental); }
public ValidatorMetaData[] getIncrementalValidators() throws InvocationTargetException { if (useGlobalPreference()) { return extractProjectValidators(ConfigurationManager.getManager().getGlobalConfiguration().getIncrementalValidators(), getResource()); } return super.getIncrementalValidators(); }