diff options
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.dawn/src/org/eclipse/emf/cdo/dawn/preferences/PreferenceInitializer.java')
-rw-r--r-- | plugins/org.eclipse.emf.cdo.dawn/src/org/eclipse/emf/cdo/dawn/preferences/PreferenceInitializer.java | 80 |
1 files changed, 40 insertions, 40 deletions
diff --git a/plugins/org.eclipse.emf.cdo.dawn/src/org/eclipse/emf/cdo/dawn/preferences/PreferenceInitializer.java b/plugins/org.eclipse.emf.cdo.dawn/src/org/eclipse/emf/cdo/dawn/preferences/PreferenceInitializer.java index 3cd61a41cd..91badbc40e 100644 --- a/plugins/org.eclipse.emf.cdo.dawn/src/org/eclipse/emf/cdo/dawn/preferences/PreferenceInitializer.java +++ b/plugins/org.eclipse.emf.cdo.dawn/src/org/eclipse/emf/cdo/dawn/preferences/PreferenceInitializer.java @@ -1,40 +1,40 @@ -/*
- * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Martin Fluegge - initial API and implementation
- */
-package org.eclipse.emf.cdo.dawn.preferences;
-
-import org.eclipse.emf.cdo.dawn.DawnRuntimePlugin;
-
-import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;
-import org.eclipse.jface.preference.IPreferenceStore;
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-
-/**
- * @author Martin Fluegge
- */
-public class PreferenceInitializer extends AbstractPreferenceInitializer
-{
-
- public PreferenceInitializer()
- {
- }
-
- @Override
- public void initializeDefaultPreferences()
- {
- AbstractUIPlugin pluginInstance = DawnRuntimePlugin.getDefault();
-
- IPreferenceStore store = pluginInstance.getPreferenceStore();
- store.setDefault(PreferenceConstants.P_SERVER_NAME, "localhost");
- store.setDefault(PreferenceConstants.P_SERVER_PORT, 2036);
- store.setDefault(PreferenceConstants.P_PROTOCOL, "tcp");
- store.setDefault(PreferenceConstants.P_REPOSITORY_NAME, "repo1");
- }
-}
+/* + * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) 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 + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Martin Fluegge - initial API and implementation + */ +package org.eclipse.emf.cdo.dawn.preferences; + +import org.eclipse.emf.cdo.dawn.DawnRuntimePlugin; + +import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer; +import org.eclipse.jface.preference.IPreferenceStore; +import org.eclipse.ui.plugin.AbstractUIPlugin; + +/** + * @author Martin Fluegge + */ +public class PreferenceInitializer extends AbstractPreferenceInitializer +{ + + public PreferenceInitializer() + { + } + + @Override + public void initializeDefaultPreferences() + { + AbstractUIPlugin pluginInstance = DawnRuntimePlugin.getDefault(); + + IPreferenceStore store = pluginInstance.getPreferenceStore(); + store.setDefault(PreferenceConstants.P_SERVER_NAME, "localhost"); + store.setDefault(PreferenceConstants.P_SERVER_PORT, 2036); + store.setDefault(PreferenceConstants.P_PROTOCOL, "tcp"); + store.setDefault(PreferenceConstants.P_REPOSITORY_NAME, "repo1"); + } +} |