blob: 54d59643436184f5d7042e8324c29b34d505d00e [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2004, 2009 IBM Corporation 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:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.ant.internal.launching;
import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;
import org.eclipse.core.runtime.preferences.DefaultScope;
import org.eclipse.core.runtime.preferences.IEclipsePreferences;
public class AntLaunchingPreferenceInitializer extends
AbstractPreferenceInitializer {
public AntLaunchingPreferenceInitializer() {
super();
}
/*
* (non-Javadoc)
*
* @seeorg.eclipse.core.runtime.preferences.AbstractPreferenceInitializer#
* initializeDefaultPreferences()
*/
public void initializeDefaultPreferences() {
IEclipsePreferences node = new DefaultScope()
.getNode(AntLaunching.getUniqueIdentifier());
node.put(IAntLaunchingPreferenceConstants.ANT_COMMUNICATION_TIMEOUT,
"20000"); //$NON-NLS-1$
}
}