Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » Task Synchronization
Task Synchronization [message #40266] Thu, 03 January 2008 10:38 Go to next message
Christian Stellwag is currently offline Christian StellwagFriend
Messages: 48
Registered: July 2009
Location: Munich
Member
Hi,

using Mylyn for my tasks in a DB-based application, I wrote my own
connector and TaskEditor for it following the instructions on Mylyn
Integrator Reference and looking at TracConnector. I tried to avoid
TaskData (and -Handler) because I always have DB-connection open.

Now I'm stuck with the following problems (I will describe only briefly
the cirumstances in order to keep it short):

1) Calling TaskList.notifyTaskChanged(), some attribute changes in
TaskEditor are not reflected in TaskList (Summary is, Priority-! is not).
? How can I asure/force these changes to be shown in TaskList, do I have
to set some dirty-attribute?

2) When changing task attributes in TaskListView with context menue (e.g.
Schedule->...) these changes are kept local but not forwarded/stored into
Database. When opening TaskEditor, task is read from DB again and changes
get lost.
? Is Synchronization only one-way DB->local?
Do I have to store these changes manually?
Where do I best hook my code (e.g. as ChangeListener in TaskList?)
Or do I get this automatically if I implement TaskDataHandler and use
TaskData?

btw: updateOfflineState (AbstractRepositoryConnector) mentioned in
Mylyn_Integrator_Reference section Implementing core extension points
doesn't exist (anymore).

I would be very thankful for any Tipp that improves my understanding of
Mylyn and helps me solving these issues.

Chris
Re: Task Synchronization [message #41038 is a reply to message #40266] Sat, 12 January 2008 00:21 Go to previous message
Eclipse UserFriend
Originally posted by: beatmik.acm.org

Hi Chris,

Please send this question to the mylyn-integrators list.

http://www.eclipse.org/mylyn/community/

Mik

Chris wrote:
> Hi,
>
> using Mylyn for my tasks in a DB-based application, I wrote my own
> connector and TaskEditor for it following the instructions on Mylyn
> Integrator Reference and looking at TracConnector. I tried to avoid
> TaskData (and -Handler) because I always have DB-connection open.
>
> Now I'm stuck with the following problems (I will describe only briefly
> the cirumstances in order to keep it short):
>
> 1) Calling TaskList.notifyTaskChanged(), some attribute changes in
> TaskEditor are not reflected in TaskList (Summary is, Priority-! is not).
> ? How can I asure/force these changes to be shown in TaskList, do I have
> to set some dirty-attribute?
>
> 2) When changing task attributes in TaskListView with context menue
> (e.g. Schedule->...) these changes are kept local but not
> forwarded/stored into Database. When opening TaskEditor, task is read
> from DB again and changes get lost. ? Is Synchronization only one-way
> DB->local?
> Do I have to store these changes manually? Where do I best hook my code
> (e.g. as ChangeListener in TaskList?)
> Or do I get this automatically if I implement TaskDataHandler and use
> TaskData?
>
> btw: updateOfflineState (AbstractRepositoryConnector) mentioned in
> Mylyn_Integrator_Reference section Implementing core extension points
> doesn't exist (anymore).
>
> I would be very thankful for any Tipp that improves my understanding of
> Mylyn and helps me solving these issues.
>
> Chris
>
Re: Task Synchronization [message #586947 is a reply to message #40266] Sat, 12 January 2008 00:21 Go to previous message
Mik Kersten is currently offline Mik KerstenFriend
Messages: 287
Registered: July 2009
Senior Member
Hi Chris,

Please send this question to the mylyn-integrators list.

http://www.eclipse.org/mylyn/community/

Mik

Chris wrote:
> Hi,
>
> using Mylyn for my tasks in a DB-based application, I wrote my own
> connector and TaskEditor for it following the instructions on Mylyn
> Integrator Reference and looking at TracConnector. I tried to avoid
> TaskData (and -Handler) because I always have DB-connection open.
>
> Now I'm stuck with the following problems (I will describe only briefly
> the cirumstances in order to keep it short):
>
> 1) Calling TaskList.notifyTaskChanged(), some attribute changes in
> TaskEditor are not reflected in TaskList (Summary is, Priority-! is not).
> ? How can I asure/force these changes to be shown in TaskList, do I have
> to set some dirty-attribute?
>
> 2) When changing task attributes in TaskListView with context menue
> (e.g. Schedule->...) these changes are kept local but not
> forwarded/stored into Database. When opening TaskEditor, task is read
> from DB again and changes get lost. ? Is Synchronization only one-way
> DB->local?
> Do I have to store these changes manually? Where do I best hook my code
> (e.g. as ChangeListener in TaskList?)
> Or do I get this automatically if I implement TaskDataHandler and use
> TaskData?
>
> btw: updateOfflineState (AbstractRepositoryConnector) mentioned in
> Mylyn_Integrator_Reference section Implementing core extension points
> doesn't exist (anymore).
>
> I would be very thankful for any Tipp that improves my understanding of
> Mylyn and helps me solving these issues.
>
> Chris
>
Previous Topic:Problems updating from Mylyn 2.1 to 2.2 using Update Manager
Next Topic:Internationalization of Labels, Messages etc.
Goto Forum:
  


Current Time: Fri Apr 19 14:16:21 GMT 2024

Powered by FUDForum. Page generated in 0.01821 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top