Skip to content
Snippets Groups Projects
Commit 42e97812 authored by Löwe, J. (Johannes)'s avatar Löwe, J. (Johannes)
Browse files

Merge branch 'CLIDE-189' into 'develop'

preferences add java doc

See merge request msdt/team1819-CLIDE!73
parents 8dcde677 bc286c5d
No related branches found
No related tags found
2 merge requests!73preferences add java doc,!81Develop
package preferences;
/**
* Interface for keeping the Preference Constants.
* Should eventually be replaced by final class with static attributes as this is bad style.
*
* @author CLIDE 2018-2019
*/
public interface ClidePreferenceConstants {
String PREFERENCE_ID = "Clide.preferences";
String CPM_LOCATION = "CPM Location";
......
......@@ -4,12 +4,23 @@ import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;
import org.eclipse.core.runtime.preferences.DefaultScope;
import org.eclipse.core.runtime.preferences.IEclipsePreferences;
/**
* Class responsible for initializing the clide preferences.
* Used for setting the default/fallback values.
*
* @author CLIDE 2018-2019
*/
public class PreferenceInitializer extends AbstractPreferenceInitializer {
public PreferenceInitializer() {
super();
}
/**
* @see AbstractPreferenceInitializer#initializeDefaultPreferences()
*/
@Override
public void initializeDefaultPreferences() {
IEclipsePreferences node = DefaultScope.INSTANCE.getNode("clide.preferences");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment