Skip to main content
diff options
authorJaxsun McCarthy Huggan2016-10-03 17:23:41 -0400
committerGerrit Code Review @ Eclipse.org2017-01-26 19:09:41 -0500
commit6691e7f132193ac291940f274344c649ac5cfc5f (patch)
tree9e0cbdff06b75642be51ee0705ee334f182deb3d /org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks
parent0924348790cef34199b4e15638d5932a0eec0da7 (diff)
326005: Task Editor asks to save or delete newly created tasks on close
* The Task Editor is marked as dirty initially when editing newly created tasks ** In this state when the editor is closed it asks if the user wants to save or delete the new task ** If the editor is saved or the task is submitted this state is cleared * Introduced TasksUiUtil API for task deletion from relevant stores * Removed remaining uses of WorkbenchUtil.SHOW_IN_TASKBAR_ICON_PROPERTY * Fixed workspace warnings and did code cleanup in altered classes Change-Id: Icb06522aac407cbc877b1643d58c4ff4bb9dcd64 Task-Url: Signed-off-by: Jaxsun McCarthy Huggan <>
Diffstat (limited to 'org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks')
1 files changed, 6 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/
index 1682e2cd4..7a045a591 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/
@@ -13,6 +13,7 @@ package org.eclipse.mylyn.internal.tasks.core;
import org.eclipse.core.runtime.Assert;
+import org.eclipse.mylyn.tasks.core.ITask;
* @author Rob Elves
@@ -161,4 +162,9 @@ public interface ITasksCoreConstants {
public static final Object JOB_FAMILY_SYNCHRONIZATION = new Object();
+ /**
+ * A property to mark an {@link ITask} as having been newly created and not yet saved or submitted.
+ */
+ public static final String PROPERTY_NEW_UNSAVED_TASK = ""; //$NON-NLS-1$

Back to the top