diff options
Diffstat (limited to 'bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/registry/SynchronizeWizardRegistry.java')
-rw-r--r-- | bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/registry/SynchronizeWizardRegistry.java | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/registry/SynchronizeWizardRegistry.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/registry/SynchronizeWizardRegistry.java deleted file mode 100644 index 1caf7c75d..000000000 --- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/registry/SynchronizeWizardRegistry.java +++ /dev/null @@ -1,51 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.team.internal.ui.registry; - -import java.util.HashMap; -import java.util.Map; - -import org.eclipse.core.runtime.CoreException; -import org.eclipse.core.runtime.IConfigurationElement; -import org.eclipse.team.internal.ui.TeamUIPlugin; - -public class SynchronizeWizardRegistry extends RegistryReader { - - private static final String TAG_SYNCHRONIZE_WIZARD = "wizard"; //$NON-NLS-1$ - private Map wizards = new HashMap(); - - /* (non-Javadoc) - * @see org.eclipse.team.internal.ui.registry.RegistryReader#readElement(org.eclipse.core.runtime.IConfigurationElement) - */ - protected boolean readElement(IConfigurationElement element) { - if (element.getName().equals(TAG_SYNCHRONIZE_WIZARD)) { - String descText = getDescription(element); - SynchronizeWizardDescription desc; - try { - desc = new SynchronizeWizardDescription(element, descText); - wizards.put(desc.getId(), desc); - } catch (CoreException e) { - TeamUIPlugin.log(e); - } - return true; - } - return false; - } - - public SynchronizeWizardDescription[] getSynchronizeWizards() { - return (SynchronizeWizardDescription[])wizards.values().toArray(new SynchronizeWizardDescription[wizards.size()]); - } - - public SynchronizeWizardDescription find(String id) { - return (SynchronizeWizardDescription)wizards.get(id); - } - -} |