Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2014 itemis AG ( and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at /
 package org.eclipse.xtext.ui.validation;
import  org.eclipse.jface.preference.IPreferenceStore;

Miro Spoenemann - Initial contribution and API
	public void initialize(IPreferenceStoreAccess preferenceStoreAccess) {
		IPreferenceStore preferenceStore = preferenceStoreAccess.getWritablePreferenceStore();
			preferenceStore.setDefault(prefKey.getId(), prefKey.getDefaultValue());
New to GrepCode? Check out our FAQ X