Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2009-10-13 00:19:06 +0000
committerspingel2009-10-13 00:19:06 +0000
commit61d31b0b52b39a5de067b0ec6a855207aa17e5fc (patch)
treecf033f11fb78317087b4ebe566b815e2d142041a /org.eclipse.mylyn.tasks.ui/plugin.xml
parent0951c2145dbd907adf0e87a32d9bc5aa345d33c1 (diff)
downloadorg.eclipse.mylyn.tasks-61d31b0b52b39a5de067b0ec6a855207aa17e5fc.tar.gz
org.eclipse.mylyn.tasks-61d31b0b52b39a5de067b0ec6a855207aa17e5fc.tar.xz
org.eclipse.mylyn.tasks-61d31b0b52b39a5de067b0ec6a855207aa17e5fc.zip
REOPENED - bug 280564: make section header sizes and icons consistent with each other and with Workbench
https://bugs.eclipse.org/bugs/show_bug.cgi?id=280564
Diffstat (limited to 'org.eclipse.mylyn.tasks.ui/plugin.xml')
-rw-r--r--org.eclipse.mylyn.tasks.ui/plugin.xml37
1 files changed, 36 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/plugin.xml b/org.eclipse.mylyn.tasks.ui/plugin.xml
index bf2cafae2..b5b588c8f 100644
--- a/org.eclipse.mylyn.tasks.ui/plugin.xml
+++ b/org.eclipse.mylyn.tasks.ui/plugin.xml
@@ -1251,6 +1251,11 @@
</command>
<command
categoryId="org.eclipse.mylyn.tasks.ui.commands"
+ id="org.eclipse.mylyn.tasks.ui.command.task.clearActiveTime"
+ name="Clear Active Time">
+ </command>
+ <command
+ categoryId="org.eclipse.mylyn.tasks.ui.commands"
defaultHandler="org.eclipse.mylyn.internal.tasks.ui.commands.NewSubTaskHandler"
id="org.eclipse.mylyn.tasks.ui.command.new.subtask"
name="%command.new.subtask.name">
@@ -1592,6 +1597,24 @@
</iterate>
</enabledWhen>
</handler>
+ <handler
+ class="org.eclipse.mylyn.internal.tasks.ui.commands.MarkTaskHandler$ClearActiveTimeHandler"
+ commandId="org.eclipse.mylyn.tasks.ui.command.task.clearActiveTime">
+ <enabledWhen>
+ <iterate
+ operator="or">
+ <and>
+ <adapt
+ type="org.eclipse.mylyn.tasks.core.ITask">
+ <test
+ property="org.eclipse.mylyn.task.hasActiveTime"
+ value="true">
+ </test>
+ </adapt>
+ </and>
+ </iterate>
+ </enabledWhen>
+ </handler>
</extension>
<extension
point="org.eclipse.ui.menus">
@@ -1722,6 +1745,18 @@
</iterate>
</visibleWhen>
</command>
+ <separator
+ name="group.timeTracking"
+ visible="true">
+ </separator>
+ <command
+ commandId="org.eclipse.mylyn.tasks.ui.command.task.clearActiveTime"
+ label="Clear Active Time..."
+ mnemonic="T"
+ style="push">
+ <visibleWhen
+ checkEnabled="true"/>
+ </command>
<separator
name="additions">
</separator>
@@ -1824,7 +1859,7 @@
class="org.eclipse.mylyn.internal.tasks.ui.util.TaskPropertyTester"
id="org.eclipse.mylyn.tasks.ui.propertyTester.task"
namespace="org.eclipse.mylyn.task"
- properties="canGetAttachment,canPostAttachment,connectorKind,hasEdits,hasLocalContext,hasLocalCompletionState,hasRepositoryContext,isCompleted,isLocal,"
+ properties="canGetAttachment,canPostAttachment,connectorKind,hasActiveTime,hasEdits,hasLocalContext,hasLocalCompletionState,hasRepositoryContext,isCompleted,isLocal,"
type="org.eclipse.mylyn.tasks.core.ITask">
</propertyTester>
<propertyTester

Back to the top