diff options
author | spingel | 2009-06-05 00:59:30 +0000 |
---|---|---|
committer | spingel | 2009-06-05 00:59:30 +0000 |
commit | bd0299676bbba12eefede82eebf3efff9fbc97fa (patch) | |
tree | 5408787fb155040ba378b848a2cf8aec68bf4fb4 /org.eclipse.mylyn.tasks.ui/plugin.xml | |
parent | a161328b25be5450a61e7e364c4acfebd1d524d0 (diff) | |
download | org.eclipse.mylyn.tasks-bd0299676bbba12eefede82eebf3efff9fbc97fa.tar.gz org.eclipse.mylyn.tasks-bd0299676bbba12eefede82eebf3efff9fbc97fa.tar.xz org.eclipse.mylyn.tasks-bd0299676bbba12eefede82eebf3efff9fbc97fa.zip |
RESOLVED - bug 278888: Mark as Menu should not be available on No Active Task link
https://bugs.eclipse.org/bugs/show_bug.cgi?id=278888
Diffstat (limited to 'org.eclipse.mylyn.tasks.ui/plugin.xml')
-rw-r--r-- | org.eclipse.mylyn.tasks.ui/plugin.xml | 81 |
1 files changed, 60 insertions, 21 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/plugin.xml b/org.eclipse.mylyn.tasks.ui/plugin.xml index 6ebe82e56..789d99793 100644 --- a/org.eclipse.mylyn.tasks.ui/plugin.xml +++ b/org.eclipse.mylyn.tasks.ui/plugin.xml @@ -1303,12 +1303,24 @@ sequence="M2+M3+R"> </key> <key + commandId="org.eclipse.mylyn.tasks.ui.command.markTaskRead" + contextId="org.eclipse.mylyn.tasks.ui.editors.task" + schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" + sequence="M2+M3+R"> + </key> + <key commandId="org.eclipse.mylyn.tasks.ui.command.markTaskUnread" contextId="org.eclipse.mylyn.tasks.ui.views.tasks" schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" sequence="M2+M3+U"> </key> <key + commandId="org.eclipse.mylyn.tasks.ui.command.markTaskUnread" + contextId="org.eclipse.mylyn.tasks.ui.editors.task" + schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" + sequence="M2+M3+U"> + </key> + <key commandId="org.eclipse.mylyn.tasks.ui.command.markTaskReadGoToNextUnread" contextId="org.eclipse.mylyn.tasks.ui.views.tasks" schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" @@ -1624,20 +1636,33 @@ label="%menu.task.mark.label"> <visibleWhen checkEnabled="false"> - <with - variable="activeMenuSelection"> - <iterate - ifEmpty="false"> - <or> - <adapt - type="org.eclipse.mylyn.tasks.core.ITask"> - </adapt> - <instanceof - value="org.eclipse.mylyn.internal.tasks.core.AbstractTaskContainer"> - </instanceof> - </or> - </iterate> - </with> + <or> + <with + variable="activeMenuSelection"> + <iterate + ifEmpty="false"> + <or> + <adapt + type="org.eclipse.mylyn.tasks.core.ITask"> + </adapt> + <instanceof + value="org.eclipse.mylyn.internal.tasks.core.AbstractTaskContainer"> + </instanceof> + </or> + </iterate> + </with> + <iterate + ifEmpty="false"> + <or> + <adapt + type="org.eclipse.mylyn.tasks.core.ITask"> + </adapt> + <instanceof + value="org.eclipse.mylyn.internal.tasks.core.AbstractTaskContainer"> + </instanceof> + </or> + </iterate> + </or> </visibleWhen> <separator name="group.taskStatus" @@ -1867,7 +1892,19 @@ point="org.eclipse.core.expressions.definitions"> <definition id="org.eclipse.mylyn.tasks.ui.expressions.repositoryElements"> - <with variable="activeMenuSelection"> + <or> + <with variable="activeMenuSelection"> + <reference + definitionId="org.eclipse.mylyn.tasks.ui.expressions.repositoryElementsIterator"> + </reference> + </with> + <reference + definitionId="org.eclipse.mylyn.tasks.ui.expressions.repositoryElementsIterator"> + </reference> + </or> + </definition> + <definition + id="org.eclipse.mylyn.tasks.ui.expressions.repositoryElementsIterator"> <iterate> <or> <and> @@ -1878,16 +1915,18 @@ <instanceof value="org.eclipse.mylyn.internal.tasks.core.LocalTask"> </instanceof> - </not></and> + </not> + </and> <adapt type="org.eclipse.mylyn.tasks.core.ITask"> - <instanceof - value="org.eclipse.mylyn.internal.tasks.core.LocalTask"> - </instanceof> + <not> + <instanceof + value="org.eclipse.mylyn.internal.tasks.core.LocalTask"> + </instanceof> + </not> </adapt> </or> </iterate> - </with> - </definition> + </definition> </extension> </plugin> |