org.eclipse.xtext.preferences.IPreferenceValuesProvider.SingletonPreferenceValuesProvider Java Examples

The following examples show how to use org.eclipse.xtext.preferences.IPreferenceValuesProvider.SingletonPreferenceValuesProvider. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: EqualsWithNullTest.java    From xtext-extras with Eclipse Public License 2.0 4 votes vote down vote up
@Inject
public void setPreferences(SingletonPreferenceValuesProvider prefProvider) {
	preferences = prefProvider.getPreferenceValues(null);
}
 
Example #2
Source File: CheckedExceptionTest.java    From xtext-extras with Eclipse Public License 2.0 4 votes vote down vote up
@Inject
public void setPreferences(SingletonPreferenceValuesProvider prefProvider) {
	preferences = prefProvider.getPreferenceValues(null);
}
 
Example #3
Source File: XbaseInjectorProvider.java    From xtext-extras with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IPreferenceValuesProvider> bindIPreferenceValuesProvider() {
	return SingletonPreferenceValuesProvider.class;
}
 
Example #4
Source File: XbaseInjectorProvider.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IPreferenceValuesProvider> bindIPreferenceValuesProvider() {
	return SingletonPreferenceValuesProvider.class;
}
 
Example #5
Source File: RuntimeTestSetup.java    From xtext-xtend with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IPreferenceValuesProvider> bindIPreferenceValuesProvider() {
	return SingletonPreferenceValuesProvider.class;
}
 
Example #6
Source File: XtendValidationTest.java    From xtext-xtend with Eclipse Public License 2.0 4 votes vote down vote up
@Inject
public void setPreferences(SingletonPreferenceValuesProvider prefProvider) {
	preferences = prefProvider.getPreferenceValues(null);
}
 
Example #7
Source File: CodeStyleValidationTest.java    From xtext-xtend with Eclipse Public License 2.0 4 votes vote down vote up
@Inject
public void setPreferences(SingletonPreferenceValuesProvider prefProvider) {
	preferences = prefProvider.getPreferenceValues(null);
}
 
Example #8
Source File: CheckedExceptionTest.java    From xtext-xtend with Eclipse Public License 2.0 4 votes vote down vote up
@Inject
public void setPreferences(SingletonPreferenceValuesProvider prefProvider) {
	preferences = prefProvider.getPreferenceValues(null);
}
 
Example #9
Source File: RuntimeTestSetup.java    From xtext-xtend with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IPreferenceValuesProvider> bindIPreferenceValuesProvider() {
	return SingletonPreferenceValuesProvider.class;
}