Line | |
---|
1 | /* |
---|
2 | * Copyright (c) 2008 |
---|
3 | * Embedded Brains GmbH |
---|
4 | * Obere Lagerstr. 30 |
---|
5 | * D-82178 Puchheim |
---|
6 | * Germany |
---|
7 | * rtems@embedded-brains.de |
---|
8 | * |
---|
9 | * The license and distribution terms for this file may be found in the file |
---|
10 | * LICENSE in this distribution or at http://www.rtems.com/license/LICENSE. |
---|
11 | */ |
---|
12 | |
---|
13 | package org.rtems.cdt.preferences; |
---|
14 | |
---|
15 | import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer; |
---|
16 | import org.eclipse.jface.preference.IPreferenceStore; |
---|
17 | import org.rtems.cdt.Activator; |
---|
18 | import org.rtems.cdt.Constants; |
---|
19 | |
---|
20 | public class PreferenceInitializer extends AbstractPreferenceInitializer { |
---|
21 | public void initializeDefaultPreferences() { |
---|
22 | IPreferenceStore store = Activator.getDefault().getPreferenceStore(); |
---|
23 | store.setDefault( Constants.BASE_PATH_KEY, Constants.DEFAULT_BASE_PATH); |
---|
24 | store.setDefault( Constants.VERSION_KEY, Constants.DEFAULT_VERSION); |
---|
25 | store.setDefault( Constants.TARGET_KEY, Constants.DEFAULT_TARGET); |
---|
26 | store.setDefault( Constants.BSP_PATH_KEY, Constants.DEFAULT_BSP_PATH); |
---|
27 | } |
---|
28 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.