org.eclipse.xtext.ui.editor.preferences.PreferenceStoreAccessImpl Java Examples

The following examples show how to use org.eclipse.xtext.ui.editor.preferences.PreferenceStoreAccessImpl. 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: N4JSPreferenceStoreAccessor.java    From n4js with Eclipse Public License 1.0 4 votes vote down vote up
/**
 * @param scopedAccessor
 *            the class to use to access the preference store
 */
@Inject
public N4JSPreferenceStoreAccessor(PreferenceStoreAccessImpl scopedAccessor) {
	super(scopedAccessor);
}
 
Example #2
Source File: AbstractN4JSPreferenceStoreAccessor.java    From n4js with Eclipse Public License 1.0 4 votes vote down vote up
/**
 * Creates this preference store accessor.
 */
public AbstractN4JSPreferenceStoreAccessor(PreferenceStoreAccessImpl scopedAccessor) {
	this.scopedAccessor = scopedAccessor;
}
 
Example #3
Source File: ExtraLanguagePreferenceAccess.java    From sarl with Apache License 2.0 2 votes vote down vote up
/** Change the preference accessor.
 *
 * <p>The parameter is a preference store implementation in order to have access to the correct preference set.
 * It is an implementation choice from {@link OptionsConfigurationBlock}.
 *
 * @param preferenceStoreAccess the accessor.
 */
@Inject
public void setPreferenceStoreAccess(PreferenceStoreAccessImpl preferenceStoreAccess) {
	this.preferenceStoreAccess = preferenceStoreAccess;
}