diff options
Diffstat (limited to 'bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/actions/ITeamRunnableContext.java')
-rw-r--r-- | bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/actions/ITeamRunnableContext.java | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/actions/ITeamRunnableContext.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/actions/ITeamRunnableContext.java deleted file mode 100644 index 36218fc9a..000000000 --- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/actions/ITeamRunnableContext.java +++ /dev/null @@ -1,46 +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.actions; - -import java.lang.reflect.InvocationTargetException; - -import org.eclipse.core.runtime.jobs.ISchedulingRule; -import org.eclipse.jface.operation.IRunnableWithProgress; -import org.eclipse.swt.widgets.Shell; - -/** - * An ITeamRunnableContext is used to provide the context for a Team operation. - * The hierarchy of contexts is used to configure the following: - * 1) whether the operation is run in the background as a job - * 2) whether the operation modifies the workspace - * 3) what shell the operation should use to display info to the user - */ -public interface ITeamRunnableContext { - - /** - * Run the given runnable in the context of the receiver. By default, the - * progress is provided by the active workbench windows but subclasses may - * override this to provide progress in some other way (Progress Monitor or - * job). - */ - public abstract void run( - String title, - ISchedulingRule schedulingRule, - boolean postponeBuild, - IRunnableWithProgress runnable) - throws InvocationTargetException, InterruptedException; - - /** - * Get a shell that can be used to prompt the user. - * @return a shell - */ - public abstract Shell getShell(); -}
\ No newline at end of file |