1 /******************************************************************************* 2 * Copyright (c) 2005, 2006 IBM Corporation and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * IBM Corporation - initial API and implementation 10 *******************************************************************************/ 11 package org.eclipse.core.internal.preferences.exchange; 12 13 import java.util.Properties; 14 15 /** 16 * A product can customize preferences by implementing this service. 17 * 18 * This interface is likely going to change as the application model is introduced 19 * in which point it might be kept for backward compatibility or removed entirely. 20 * 21 * @since org.eclipse.equinox.common 3.2 22 */ 23 public interface IProductPreferencesService { 24 25 /** 26 * Returns properties specified in the product customization file. 27 * 28 * @return default preferences specified by the product. 29 */ 30 public Properties getProductCustomization(); 31 32 /** 33 * Returns translations for the customized properties. 34 * 35 * @return translation table for default preferences 36 */ 37 public Properties getProductTranslation(); 38 } 39