public ValidatorMetaData[] getEnabledFullBuildValidators(boolean fullBuild) throws InvocationTargetException { if (useGlobalPreference()) { return extractProjectValidators(ConfigurationManager.getManager().getGlobalConfiguration().getEnabledFullBuildValidators(fullBuild), getResource()); } return super.getEnabledFullBuildValidators(fullBuild); }
public ValidatorMetaData[] getManualEnabledValidators() throws InvocationTargetException { if (useGlobalPreference()) { return extractProjectValidators(ConfigurationManager.getManager().getGlobalConfiguration().getManualEnabledValidators(), getResource()); } return super.getManualEnabledValidators(); }
/** * @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(); }
/** * 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(); }
/** * @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(); }
/** * @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 boolean haveDelegatesChanged(Map oldDelegates, boolean allow) throws InvocationTargetException { if (super.haveDelegatesChanged(oldDelegates)) { return true; } if (allow) { Map projDelegates = super.getDelegatingValidators(); GlobalConfiguration gp = ConfigurationManager.getManager().getGlobalConfiguration(); return gp.haveDelegatesChanged(projDelegates); } return false; }
/** * @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#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{
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); }
ValidatorFilter(String mustImplementClass) { this(); _nameFilter = new ValidatorNameFilter(); _typeFilter.setMustImplementClass(mustImplementClass); _actionFilter = new ValidatorActionFilter(); }
ValidatorFilter() { super(); _nameFilter = new ValidatorNameFilter(); _typeFilter = new ValidatorTypeFilter(); _actionFilter = new ValidatorActionFilter(); }
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); }