Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjames2002-01-08 21:09:54 +0000
committerjames2002-01-08 21:09:54 +0000
commitd01b9f19f748f0c3d6c381f888da7ea2febed971 (patch)
tree6da87c22b6831ba48014cbdcbcea32d8f0354038 /bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/actions/SyncAction.java
parentb1f69d7234e3cbdd9352819eb44071bd4bede8c9 (diff)
downloadeclipse.platform.team-d01b9f19f748f0c3d6c381f888da7ea2febed971.tar.gz
eclipse.platform.team-d01b9f19f748f0c3d6c381f888da7ea2febed971.tar.xz
eclipse.platform.team-d01b9f19f748f0c3d6c381f888da7ea2febed971.zip
Code cleanup
Diffstat (limited to 'bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/actions/SyncAction.java')
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/actions/SyncAction.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/actions/SyncAction.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/actions/SyncAction.java
index 17d1f7b32..639284af9 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/actions/SyncAction.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/actions/SyncAction.java
@@ -21,6 +21,7 @@ import org.eclipse.team.core.ITeamProvider;
import org.eclipse.team.core.TeamException;
import org.eclipse.team.core.TeamPlugin;
import org.eclipse.team.core.sync.IRemoteSyncElement;
+import org.eclipse.team.internal.ccvs.ui.CVSUIPlugin;
import org.eclipse.team.internal.ccvs.ui.Policy;
import org.eclipse.team.internal.ccvs.ui.sync.CVSSyncCompareInput;
import org.eclipse.team.ui.TeamUIPlugin;
@@ -77,16 +78,15 @@ public class SyncAction implements IObjectActionDelegate {
String title = Policy.bind("SyncAction.sync");
try {
IResource[] resources = getResources(selection);
- SyncView view = (SyncView)TeamUIPlugin.getActivePage().findView(SyncView.VIEW_ID);
+ SyncView view = (SyncView)CVSUIPlugin.getActivePage().findView(SyncView.VIEW_ID);
if (view == null) {
- TeamUIPlugin plugin = TeamUIPlugin.getPlugin();
view = SyncView.findInActivePerspective();
}
if (view != null) {
try {
- TeamUIPlugin.getActivePage().showView(SyncView.VIEW_ID);
+ CVSUIPlugin.getActivePage().showView(SyncView.VIEW_ID);
} catch (PartInitException e) {
- TeamUIPlugin.log(e.getStatus());
+ CVSUIPlugin.log(e.getStatus());
}
// What happens when resources from the same project are selected?
IRemoteSyncElement[] trees = new IRemoteSyncElement[resources.length];

Back to the top