2010-07-12 Francois Chouinard <fchouinar@gmail.com> Contribution for Bug319428...
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / TmfUiPreferenceInitializer.java
CommitLineData
abfad0aa
FC
1/*******************************************************************************\r
2 * Copyright (c) 2010 Ericsson\r
3 * \r
4 * All rights reserved. This program and the accompanying materials are\r
5 * made available under the terms of the Eclipse Public License v1.0 which\r
6 * accompanies this distribution, and is available at\r
7 * http://www.eclipse.org/legal/epl-v10.html\r
8 * \r
9 * Contributors:\r
10 * Patrick Tasse - Initial API and implementation\r
11 *******************************************************************************/\r
12\r
13package org.eclipse.linuxtools.tmf.ui;\r
14\r
15import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;\r
16import org.eclipse.core.runtime.preferences.IEclipsePreferences;\r
17import org.eclipse.core.runtime.preferences.InstanceScope;\r
18\r
19public class TmfUiPreferenceInitializer extends AbstractPreferenceInitializer {\r
20\r
21 public static final String ACTIVE_PROJECT_PREFERENCE = "ACTIVE_PROJECT";\r
22 public static final String ACTIVE_PROJECT_DEFAULT = "";\r
23 \r
24 public TmfUiPreferenceInitializer() {\r
25 super();\r
26 }\r
27\r
28 @Override\r
29 public void initializeDefaultPreferences() {\r
30 IEclipsePreferences node = new InstanceScope().getNode(TmfUiPlugin.PLUGIN_ID);\r
31 node.put(ACTIVE_PROJECT_PREFERENCE, ACTIVE_PROJECT_DEFAULT);\r
32 }\r
33\r
34}\r
This page took 0.024793 seconds and 5 git commands to generate.