Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2006-09-15 16:32:40 -0400
committerrelves2006-09-15 16:32:40 -0400
commite18c75178950c307fa10d35f4cc10371f28d3682 (patch)
tree895a757b0a9502349619e046430fea3de3d3cf72 /org.eclipse.mylyn.trac.core/src
parent11afd842fa87007e1a2d1885310f97e57db2a4ac (diff)
downloadorg.eclipse.mylyn.tasks-e18c75178950c307fa10d35f4cc10371f28d3682.tar.gz
org.eclipse.mylyn.tasks-e18c75178950c307fa10d35f4cc10371f28d3682.tar.xz
org.eclipse.mylyn.tasks-e18c75178950c307fa10d35f4cc10371f28d3682.zip
Progress on: 153788: Add API for operations on repository attachments
https://bugs.eclipse.org/bugs/show_bug.cgi?id=153788
Diffstat (limited to 'org.eclipse.mylyn.trac.core/src')
-rw-r--r--org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracAttachmentHandler.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracAttachmentHandler.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracAttachmentHandler.java
index 895d2c5db..3584a92ac 100644
--- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracAttachmentHandler.java
+++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracAttachmentHandler.java
@@ -106,5 +106,13 @@ public class TracAttachmentHandler implements IAttachmentHandler {
public boolean canUploadAttachment(TaskRepository repository, AbstractRepositoryTask task) {
return connector.hasAttachmentSupport(repository, task);
}
+
+ public boolean canDeprecate(TaskRepository repository, RepositoryAttachment attachment) {
+ return false;
+ }
+
+ public void updateAttachment(TaskRepository repository, RepositoryAttachment attachment) throws CoreException {
+ // ignore
+ }
}

Back to the top