Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 331054

Summary: TaskJobFactory should be in tasks.core
Product: z_Archived Reporter: David Green <greensopinion>
Component: MylynAssignee: David Green <greensopinion>
Status: RESOLVED FIXED QA Contact:
Severity: trivial    
Priority: P3 CC: steffen.pingel
Version: unspecified   
Target Milestone: 3.5   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
patch that moves TaskJobFactory to tasks.core
none
mylyn/context/zip none

Description David Green CLA 2010-11-24 14:05:10 EST
We have a need to run synchronization and submit jobs headless. If possible please refactor TaskJobFactory to tasks.core instead of tasks.ui
Comment 1 David Green CLA 2010-11-24 14:35:34 EST
Created attachment 183794 [details]
patch that moves TaskJobFactory to tasks.core

I've attached a patch that creates a new class TaskJobFactory in tasks.core.  It's essentially a copy of the tasks.ui version of the class, which in this patch now extends the tasks.core class.  Job icon decorations are added to jobs in the tasks.ui version, and messages are moved to tasks.core.

Steffen can you please review this patch?
Comment 2 David Green CLA 2010-11-24 14:35:36 EST
Created attachment 183795 [details]
mylyn/context/zip
Comment 3 Steffen Pingel CLA 2010-11-24 14:50:08 EST
Looks good to me. Please feel free to commit.
Comment 4 David Green CLA 2010-11-24 14:53:01 EST
Patch applied