Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2003-06-18 12:01:38 -0400
committerMichael Valenta2003-06-18 12:01:38 -0400
commite6dbde13281b75c3c608366d025dca3565063c81 (patch)
tree50f828a1b2f8ffbaab6d3876fadb53d5211347a5
parent596a58de14a7f0b1800093ed0a1b6a6d39311b38 (diff)
downloadeclipse.platform.team-e6dbde13281b75c3c608366d025dca3565063c81.tar.gz
eclipse.platform.team-e6dbde13281b75c3c608366d025dca3565063c81.tar.xz
eclipse.platform.team-e6dbde13281b75c3c608366d025dca3565063c81.zip
*** empty log message ***
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/actions/CheckoutAsAction.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/actions/CheckoutAsAction.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/actions/CheckoutAsAction.java
index 2d237abcb..36a37932a 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/actions/CheckoutAsAction.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/actions/CheckoutAsAction.java
@@ -13,7 +13,6 @@ package org.eclipse.team.internal.ccvs.ui.actions;
import java.lang.reflect.InvocationTargetException;
import org.eclipse.jface.action.IAction;
-import org.eclipse.jface.dialogs.ProgressMonitorDialog;
import org.eclipse.jface.wizard.WizardDialog;
import org.eclipse.team.core.TeamException;
import org.eclipse.team.internal.ccvs.core.CVSException;
@@ -21,6 +20,7 @@ import org.eclipse.team.internal.ccvs.core.ICVSRemoteFolder;
import org.eclipse.team.internal.ccvs.ui.Policy;
import org.eclipse.team.internal.ccvs.ui.operations.HasProjectMetaFileOperation;
import org.eclipse.team.internal.ccvs.ui.wizards.CheckoutAsWizard;
+import org.eclipse.ui.PlatformUI;
/**
* Add a remote resource to the workspace. Current implementation:
@@ -45,7 +45,7 @@ public class CheckoutAsAction extends AddToWorkspaceAction {
protected boolean allowProjectConfiguration(ICVSRemoteFolder[] folders) throws CVSException, InterruptedException {
if (folders.length != 1) return false;
- return !HasProjectMetaFileOperation.hasMetaFile(getShell(), folders[0], new ProgressMonitorDialog(shell));
+ return !HasProjectMetaFileOperation.hasMetaFile(getShell(), folders[0], PlatformUI.getWorkbench().getActiveWorkbenchWindow());
}
/*

Back to the top