|
Lines 1-5
Link Here
|
| 1 |
/******************************************************************************* |
1 |
/******************************************************************************* |
| 2 |
* Copyright (c) 2001, 2008 IBM Corporation and others. |
2 |
* Copyright (c) 2001, 2010 IBM Corporation and others. |
| 3 |
* All rights reserved. This program and the accompanying materials |
3 |
* All rights reserved. This program and the accompanying materials |
| 4 |
* are made available under the terms of the Eclipse Public License v1.0 |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
| 5 |
* which accompanies this distribution, and is available at |
5 |
* which accompanies this distribution, and is available at |
|
Lines 78-90
Link Here
|
| 78 |
private final Map<IValidatorJob, IWorkbenchContext> _helpers = |
78 |
private final Map<IValidatorJob, IWorkbenchContext> _helpers = |
| 79 |
Collections.synchronizedMap( new HashMap<IValidatorJob, IWorkbenchContext>() ); |
79 |
Collections.synchronizedMap( new HashMap<IValidatorJob, IWorkbenchContext>() ); |
| 80 |
private final Expression _enablementExpression; |
80 |
private final Expression _enablementExpression; |
|
|
81 |
private boolean _validateByProject = true; |
| 81 |
|
82 |
|
| 82 |
ValidatorMetaData(boolean async, String[] aggregatedValidators, boolean isEnabledByDefault, boolean supportsIncremental, |
83 |
ValidatorMetaData(boolean async, String[] aggregatedValidators, boolean isEnabledByDefault, boolean supportsIncremental, |
| 83 |
boolean supportsFullBuild, IConfigurationElement helperClassElement, String helperClassName, |
84 |
boolean supportsFullBuild, IConfigurationElement helperClassElement, String helperClassName, |
| 84 |
MigrationMetaData migrationMetaData, String pluginId, int ruleGroup, IConfigurationElement validatorClassElement, |
85 |
MigrationMetaData migrationMetaData, String pluginId, int ruleGroup, IConfigurationElement validatorClassElement, |
| 85 |
String validatorDisplayName, String validatorUniqueName, String[] contentTypeIds, boolean dependentValidator, |
86 |
String validatorDisplayName, String validatorUniqueName, String[] contentTypeIds, boolean dependentValidator, |
| 86 |
Expression enablementExpression, String[] facetFilters, ValidatorFilter[] filters, |
87 |
Expression enablementExpression, String[] facetFilters, ValidatorFilter[] filters, |
| 87 |
ValidatorNameFilter[] projectNatureFilters, String[] markerIds) { |
88 |
ValidatorNameFilter[] projectNatureFilters, String[] markerIds, boolean validateByProject) { |
| 88 |
_async = async; |
89 |
_async = async; |
| 89 |
_aggregatedValidators = aggregatedValidators; |
90 |
_aggregatedValidators = aggregatedValidators; |
| 90 |
_isEnabledByDefault = isEnabledByDefault; |
91 |
_isEnabledByDefault = isEnabledByDefault; |
|
Lines 106-111
Link Here
|
| 106 |
_projectNatureFilters = projectNatureFilters; |
107 |
_projectNatureFilters = projectNatureFilters; |
| 107 |
_markerIds = markerIds; |
108 |
_markerIds = markerIds; |
| 108 |
_validatorNames = buildValidatorNames(); |
109 |
_validatorNames = buildValidatorNames(); |
|
|
110 |
_validateByProject = validateByProject; |
| 109 |
} |
111 |
} |
| 110 |
|
112 |
|
| 111 |
protected String[] getFacetFilters() { |
113 |
protected String[] getFacetFilters() { |
|
Lines 544-548
Link Here
|
| 544 |
} |
546 |
} |
| 545 |
return false; |
547 |
return false; |
| 546 |
} |
548 |
} |
|
|
549 |
|
| 550 |
public boolean isValidateByProject() { |
| 551 |
return _validateByProject; |
| 552 |
} |
| 547 |
|
553 |
|
| 548 |
} |
554 |
} |