blob: 41ee166a4f8c0bd456f2c0405d42321232d1e453 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2005, 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.ui.internal.preferences;
import org.eclipse.ui.internal.registry.IWorkbenchRegistryConstants;
import org.eclipse.ui.internal.registry.PreferenceTransferRegistryReader;
/**
* Manages preference transfer support for the workbench
*
* @since 3.1
*/
public class PreferenceTransferManager {
/**
* Return an array of <code>IPreferenceTransfer</code> objects
* @return an array of <code>IPreferenceTransfer</code> objects
*/
public static PreferenceTransferElement[] getPreferenceTransfers() {
return new PreferenceTransferRegistryReader(
IWorkbenchRegistryConstants.PL_PREFERENCE_TRANSFER)
.getPreferenceTransfers();
}
}