| Summary: | make task deactivation use a command | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Sam Davis <sam.davis> | ||||||||
| Component: | Mylyn | Assignee: | Steffen Pingel <steffen.pingel> | ||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||
| Severity: | minor | ||||||||||
| Priority: | P3 | CC: | shawn.minto | ||||||||
| Version: | unspecified | ||||||||||
| Target Milestone: | 3.4.2 | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows 7 | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Sam Davis
Created attachment 178443 [details]
mylyn/context/zip
Does this only happen when the task is deactivated from the task list? Can you be more specific, Sam? The plugin.xml of o.e.m.tasks.ui specifies a command for deactivating the active task. The id is org.eclipse.mylyn.tasks.ui.command.deactivateSelectedTask . The command is not used when deactivating the task by clicking the icon in the task list, nor when deactivating a task using the task editor. Right, can you provide a patch that makes the appropriate changes to ToggleTaskActivationAction etc.? TasksUiInternal.activateTaskThroughCommand() has an example how to programatically invoke a command. I'll look into it when I get a chance. Created attachment 178575 [details]
fix
Created attachment 178576 [details]
mylyn/context/zip
Fixed in e_3_4_m_3_x and head. Task deactivation from the editor and task list should now be facilitated through the org.eclipse.mylyn.tasks.ui.command.deactivateSelectedTask command. Shawn, it woulc be nice if you could do a quick review when you get a chance. |