Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mylyn-integrators] Mylyn task-view

> >You can also set a breakpoint in
> >SynchronizeQueriesJob to trace the synchronization.
>
> Well.. I don't have the source code for SynchronizeQueriesJob. Or am I
> suppose to implement/override this class?

No, you are not expected to override this class. It is an internal class in 
the org.eclipse.mylyn.tasks.core plug-in that performs the query 
synchronization. 

An easy way to get the source code is to install the "Mylyn SDK" feature from 
the update site (only available for Eclipse 3.4 though).

> >> Instead setAdditionalAttributes() in the TaskListFactory
> >>
> >> class that is invoked. However, the Element parameter does not contain
> >> real info. Should I be filling the Element with the task-info in this
> >> mathod? Where exactly the syncronize()-method is? Shouldn't I override
> >>it?
> >
> >TaskListFactory is invoked when the task list is externalized to disk.
> >This is
> >not related to synchronizing the query (except that the synchronization
> > >may trigger saving of the task list).
>
> Do you mean that synchronizing the query updates the data in both the
> server and the connector's task list?

No, synchronizing will only update the task list and not change data on the 
server (the terminology is slightly misleading). The tasks framework only has 
one instance of the task list that is shared by all connectors.

> Maybe I should have mentioned that I am working on the latest versions of
> both MyLyn 3.0 and Eclipse 3.3.2.

If you are using Mylyn 3.0 you should not extend the deprecated internal class 
AbstractTaskListFactory.

Steffen

-- 
Steffen Pingel - steffenp@xxxxxx - http://steffenpingel.de


Back to the top