Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 5d2b1b775fccd788695f5a47b80e078a8bac72d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
 /* Copyright (c) 2006 IBM Corporation.
 * 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:
 *     IBM Corporation - Jeff Briggs, Henry Hughes, Ryan Morse
 *******************************************************************************/

package org.eclipse.linuxtools.systemtap.ui.consolelog.preferences;



import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;
import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.linuxtools.systemtap.ui.consolelog.internal.ConsoleLogPlugin;



public class PreferenceInitializer extends AbstractPreferenceInitializer {
	public void initializeDefaultPreferences() {
		IPreferenceStore store = ConsoleLogPlugin.getDefault().getPreferenceStore();

		//ide
		store.setDefault(ConsoleLogPreferenceConstants.HOST_NAME, "localhost");
		store.setDefault(ConsoleLogPreferenceConstants.PORT_NUMBER, 22462);
		store.setDefault(ConsoleLogPreferenceConstants.DB_COMMIT, false);
		store.setDefault(ConsoleLogPreferenceConstants.SAVE_LENGTH, 5);
		store.setDefault(ConsoleLogPreferenceConstants.REMEMBER_SERVER, false);
		store.setDefault(ConsoleLogPreferenceConstants.SCP_USER, "guest");
		store.setDefault(ConsoleLogPreferenceConstants.SCP_PASSWORD, "welcome");
		store.setDefault(ConsoleLogPreferenceConstants.REMEMBER_SCPUSER, false);
		store.setDefault(ConsoleLogPreferenceConstants.CANCELLED, false);
		
	
		}
}

Back to the top