1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

changes for eclipse 2.1

This commit is contained in:
David Inglis 2002-12-13 14:55:42 +00:00
parent db9858a832
commit 72e5cc60b6
5 changed files with 43 additions and 0 deletions

View file

@ -1,3 +1,12 @@
2002-12-13 David Inglis
Update cdt to be eclipse 2.1 ready.
* model/.../internal/core/model/Marker.java: added getCreationTime()
* model/.../internal/core/model/Resource.java: added isLinked()
* model/.../internal/core/model/parser/BinaryContainerAdapter.java: added createLink()
* model/.../internal/core/model/parser/BinaryFileAdapter.java: added createLink()
2002-12-10 Alain Magloire
* src/org/eclipse/cdt/core/CCommandLauncher.java (waitAndRead):

View file

@ -122,4 +122,11 @@ public class Marker extends PlatformObject implements IMarker {
id = i;
}
/**
* @see org.eclipse.core.resources.IMarker#getCreationTime()
*/
public long getCreationTime() throws CoreException {
return id;
}
}

View file

@ -500,4 +500,11 @@ public abstract class Resource extends PlatformObject implements IResource {
public abstract String getPersistentProperty(QualifiedName key) throws CoreException;
/**
* @see org.eclipse.core.resources.IResource#isLinked()
*/
public boolean isLinked() {
return false;
}
}

View file

@ -262,4 +262,14 @@ public class BinaryContainerAdapter extends Container implements IFolder {
timestamp = modif;
return changed;
}
/**
* @see org.eclipse.core.resources.IFolder#createLink(org.eclipse.core.runtime.IPath, int, org.eclipse.core.runtime.IProgressMonitor)
*/
public void createLink(
IPath localLocation,
int updateFlags,
IProgressMonitor monitor)
throws CoreException {
}
}

View file

@ -228,4 +228,14 @@ public class BinaryFileAdapter extends Resource implements IFile {
return parent.exists(new Path(getName()));
}
/**
* @see org.eclipse.core.resources.IFile#createLink(org.eclipse.core.runtime.IPath, int, org.eclipse.core.runtime.IProgressMonitor)
*/
public void createLink(
IPath localLocation,
int updateFlags,
IProgressMonitor monitor)
throws CoreException {
}
}