Skip to content
Snippets Groups Projects
Commit bc286c5d authored by Stracke, N.O. (Nick)'s avatar Stracke, N.O. (Nick) Committed by Löwe, J. (Johannes)
Browse files

preferences add java doc

parent 8dcde677
No related branches found
No related tags found
1 merge request!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