EMMA Coverage Report (generated Mon Sep 29 15:05:28 EDT 2008)
[all classes][org.eclipse.ui.preferences]

COVERAGE SUMMARY FOR SOURCE FILE [SettingsTransfer.java]

nameclass, %method, %block, %line, %
SettingsTransfer.java0%   (0/1)0%   (0/2)0%   (0/8)0%   (0/2)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class SettingsTransfer0%   (0/1)0%   (0/2)0%   (0/8)0%   (0/2)
SettingsTransfer (): void 0%   (0/1)0%   (0/3)0%   (0/1)
getSettingsTransfers (): IConfigurationElement [] 0%   (0/1)0%   (0/5)0%   (0/1)

1/*******************************************************************************
2 * Copyright (c) 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 
12package org.eclipse.ui.preferences;
13 
14import org.eclipse.core.runtime.IConfigurationElement;
15import org.eclipse.core.runtime.IPath;
16import org.eclipse.core.runtime.IStatus;
17import org.eclipse.ui.internal.preferences.SettingsTransferRegistryReader;
18 
19/**
20 * The SettingsTransfer is the abstract superclass of settings transfers
21 * used when switching workspaces.
22 * @since 3.3
23 *
24 */
25public abstract class SettingsTransfer {
26        
27        /**
28         * Return the configuration elements for all of the settings 
29         * transfers.
30         * @return IConfigurationElement[]
31         */
32        public static IConfigurationElement[] getSettingsTransfers(){
33                return (new SettingsTransferRegistryReader()).getSettingTransfers();
34        }
35        
36        /**
37         * Transfer the settings to a workspace rooted at newWorkspacwe
38         * @param newWorkspaceRoot
39         * @return {@link IStatus} the status of the transfer.
40         */
41        public abstract IStatus transferSettings(IPath newWorkspaceRoot);
42 
43        /**
44         * Return the name for the receiver.
45         * @return String
46         */
47        public abstract String getName() ;
48 
49}

[all classes][org.eclipse.ui.preferences]
EMMA 2.0.5312 EclEmma Fix 1 (C) Vladimir Roubtsov