Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2004, 2006 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.ui;
import  org.eclipse.swt.graphics.RGB;
		super();
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer#initializeDefaultPreferences()
	 */
	public void initializeDefaultPreferences() {
		IPreferenceStore prefs = AntUIPlugin.getDefault().getPreferenceStore();
		prefs.setDefault(."http://ant.apache.org/manual"); //$NON-NLS-1$
        
		EditorsUI.useQuickDiffPreferencePage(prefs);
		if (AntUIPlugin.isMacOS()) {
			//the mac does not have a tools.jar Bug 40778
else {
		}
		// Ant Editor color preferences
		PreferenceConverter.setDefault(prefs.new RGB(255, 0, 0)); // red - exactly the same as debug Console
		PreferenceConverter.setDefault(prefs.new RGB(250, 100, 0)); // orange
		PreferenceConverter.setDefault(prefs.new RGB(0, 0, 255)); // blue
		PreferenceConverter.setDefault(prefs.new RGB(0, 200, 125)); // green
		PreferenceConverter.setDefault(prefs.new RGB(0, 0, 0)); // black
		AntEditorPreferenceConstants.initializeDefaultValues(prefs);
	}
New to GrepCode? Check out our FAQ X