Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2006-01-24 13:16:05 +0000
committerMichael Valenta2006-01-24 13:16:05 +0000
commit09ba5769cacfa884bf3fc632aaf365ade4be47c3 (patch)
treec1f0b328bcd21a6eeb8defdfd958650d43b6c803
parent45837ebaecb5519dffd69db0dc0edcdfeea939fb (diff)
downloadeclipse.platform.team-09ba5769cacfa884bf3fc632aaf365ade4be47c3.tar.gz
eclipse.platform.team-09ba5769cacfa884bf3fc632aaf365ade4be47c3.tar.xz
eclipse.platform.team-09ba5769cacfa884bf3fc632aaf365ade4be47c3.zip
Bug 124994 RemoteFileEditorInput.getAdapter does not query registry
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/RemoteFileEditorInput.java10
1 files changed, 3 insertions, 7 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/RemoteFileEditorInput.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/RemoteFileEditorInput.java
index cd37fa60f..3b9296781 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/RemoteFileEditorInput.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/RemoteFileEditorInput.java
@@ -12,11 +12,7 @@ package org.eclipse.team.internal.ccvs.ui;
import org.eclipse.core.resources.IStorage;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.core.runtime.Path;
+import org.eclipse.core.runtime.*;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.osgi.util.NLS;
import org.eclipse.team.core.TeamException;
@@ -30,7 +26,7 @@ import org.eclipse.ui.model.IWorkbenchAdapter;
/**
* An editor input for a file in a repository.
*/
-public class RemoteFileEditorInput implements IWorkbenchAdapter, IStorageEditorInput {
+public class RemoteFileEditorInput extends PlatformObject implements IWorkbenchAdapter, IStorageEditorInput {
ICVSRemoteFile file;
IStorage storage;
@@ -90,7 +86,7 @@ public class RemoteFileEditorInput implements IWorkbenchAdapter, IStorageEditorI
if (adapter == IWorkbenchAdapter.class) {
return this;
}
- return null;
+ return super.getAdapter(adapter);
}
/**
* Returns the children of this object. When this object

Back to the top