Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2008-01-22 21:20:34 +0000
committerrelves2008-01-22 21:20:34 +0000
commit1557d27e163053726795e6adec081cddae86f45c (patch)
treebac2492563a4a2cc9e72c9dda016dcbab05210da /org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AbstractTaskContainer.java
parent04a86a5bea0a3233e3f9729b892a04bcf4406986 (diff)
downloadorg.eclipse.mylyn.tasks-1557d27e163053726795e6adec081cddae86f45c.tar.gz
org.eclipse.mylyn.tasks-1557d27e163053726795e6adec081cddae86f45c.tar.xz
org.eclipse.mylyn.tasks-1557d27e163053726795e6adec081cddae86f45c.zip
NEW - bug 210801: [api] provide access to parent queries from AbststractTask via AbstractTaskContainer.getParentContainers()
https://bugs.eclipse.org/bugs/show_bug.cgi?id=210801
Diffstat (limited to 'org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AbstractTaskContainer.java')
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AbstractTaskContainer.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AbstractTaskContainer.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AbstractTaskContainer.java
index 11ab0ca10..91ab5e19c 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AbstractTaskContainer.java
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AbstractTaskContainer.java
@@ -53,6 +53,7 @@ public abstract class AbstractTaskContainer extends PlatformObject implements Co
}
/**
+ * Remove all children held by this container
* Does not delete tasks from TaskList
*/
public void clear() {
@@ -179,4 +180,13 @@ public abstract class AbstractTaskContainer extends PlatformObject implements Co
public int compareTo(AbstractTaskContainer taskListElement) {
return getHandleIdentifier().compareTo(taskListElement.getHandleIdentifier());
}
+
+ /**
+ * If false, user is unable to manipulate (i.e. rename/delete), no preferences are available.
+ * @since 2.3
+ */
+ public boolean isUserManaged() {
+ return true;
+ }
+
}

Back to the top