Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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
parent0924348790cef34199b4e15638d5932a0eec0da7 (diff)
downloadorg.eclipse.mylyn.tasks-6691e7f132193ac291940f274344c649ac5cfc5f.tar.gz
org.eclipse.mylyn.tasks-6691e7f132193ac291940f274344c649ac5cfc5f.tar.xz
org.eclipse.mylyn.tasks-6691e7f132193ac291940f274344c649ac5cfc5f.zip
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: https://bugs.eclipse.org/bugs/show_bug.cgi?id=326005 Signed-off-by: Jaxsun McCarthy Huggan <jaxsun.mccarthy@tasktop.com>
Diffstat (limited to 'org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal')
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/ITasksCoreConstants.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/ITasksCoreConstants.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/ITasksCoreConstants.java
index 1682e2cd4..7a045a591 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/ITasksCoreConstants.java
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/ITasksCoreConstants.java
@@ -13,6 +13,7 @@ package org.eclipse.mylyn.internal.tasks.core;
import org.eclipse.core.runtime.Assert;
import org.eclipse.core.runtime.jobs.ISchedulingRule;
+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 = "org.eclipse.mylyn.tasks.ui.new.unsaved.task"; //$NON-NLS-1$
+
}

Back to the top