diff options
Diffstat (limited to 'bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/sync/actions/SyncViewerShowPreferencesAction.java')
-rw-r--r-- | bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/sync/actions/SyncViewerShowPreferencesAction.java | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/sync/actions/SyncViewerShowPreferencesAction.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/sync/actions/SyncViewerShowPreferencesAction.java deleted file mode 100644 index b7aa99a9c..000000000 --- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/sync/actions/SyncViewerShowPreferencesAction.java +++ /dev/null @@ -1,35 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2003 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.sync.actions; - -import org.eclipse.jface.action.Action; -import org.eclipse.jface.dialogs.Dialog; -import org.eclipse.jface.preference.PreferencePage; -import org.eclipse.swt.widgets.Shell; -import org.eclipse.team.internal.ui.Utils; -import org.eclipse.team.internal.ui.dialogs.PreferencePageContainerDialog; -import org.eclipse.team.internal.ui.preferences.SyncViewerPreferencePage; - -public class SyncViewerShowPreferencesAction extends Action { - private final Shell shell; - - public SyncViewerShowPreferencesAction(Shell shell) { - this.shell = shell; - Utils.initAction(this, "action.syncViewPreferences."); //$NON-NLS-1$ - } - - public void run() { - PreferencePage page = new SyncViewerPreferencePage(); - Dialog dialog = new PreferencePageContainerDialog(shell, page); - dialog.setBlockOnOpen(true); - dialog.open(); - } -} |