Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Maetzel2003-10-06 18:48:19 +0000
committerKai Maetzel2003-10-06 18:48:19 +0000
commit19e0541cc52593835059b46a6e6f22a8302bd7ef (patch)
tree3f345598209b303be07d0ae364609182d16db710 /org.eclipse.core.filebuffers/src/org/eclipse
parent36759c13f8099ea9980644d88018e409fdbf0c70 (diff)
downloadeclipse.platform.text-19e0541cc52593835059b46a6e6f22a8302bd7ef.tar.gz
eclipse.platform.text-19e0541cc52593835059b46a6e6f22a8302bd7ef.tar.xz
eclipse.platform.text-19e0541cc52593835059b46a6e6f22a8302bd7ef.zip
bug fixing
Diffstat (limited to 'org.eclipse.core.filebuffers/src/org/eclipse')
-rw-r--r--org.eclipse.core.filebuffers/src/org/eclipse/core/internal/filebuffers/ResourceFileBuffer.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/org.eclipse.core.filebuffers/src/org/eclipse/core/internal/filebuffers/ResourceFileBuffer.java b/org.eclipse.core.filebuffers/src/org/eclipse/core/internal/filebuffers/ResourceFileBuffer.java
index bf7ffe1d59e..4c0cf3d3015 100644
--- a/org.eclipse.core.filebuffers/src/org/eclipse/core/internal/filebuffers/ResourceFileBuffer.java
+++ b/org.eclipse.core.filebuffers/src/org/eclipse/core/internal/filebuffers/ResourceFileBuffer.java
@@ -175,6 +175,8 @@ public abstract class ResourceFileBuffer extends AbstractFileBuffer {
+ /** The location */
+ protected IPath fLocation;
/** The element for which the info is stored */
protected IFile fFile;
/** How often the element has been connected */
@@ -217,6 +219,7 @@ public abstract class ResourceFileBuffer extends AbstractFileBuffer {
if (file == null || !file.exists())
throw new CoreException(new Status(IStatus.ERROR, FileBuffersPlugin.PLUGIN_ID, IStatus.OK, "File does not exist", null));
+ fLocation= location;
fFile= file;
fFileSynchronizer= new FileSynchronizer();
@@ -255,7 +258,7 @@ public abstract class ResourceFileBuffer extends AbstractFileBuffer {
* @see org.eclipse.core.filebuffers.IFileBuffer#getLocation()
*/
public IPath getLocation() {
- return fFile.getLocation();
+ return fLocation;
}
/*

Back to the top