Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mylyn-tasks-dev] renaming a connector

There is no API support for changing the connector kind of tasks. One
way to do it is to register a connector for both kinds and then copy
and delete tasks from the old connector to the new one using
internals. If you don't register a connector tasks with the
corresponding kind are not loaded but only kept in a dom.

The org.eclipse.mylyn.internal.tasks.ui.editors.TaskMigrator class is
probably a good starting point for a list of things to consider when
copying tasks.

Steffen


On Thu, Jun 9, 2011 at 6:56 PM, David Green <david.green@xxxxxxxxxxx> wrote:
> We're looking at renaming a connector (and the corresponding connector kind
> as returned by AbstractRepositoryConnector.getConnectorKind).  Is there a
> way to migrate existing task lists to a new connector kind so that contexts,
> queries etc. are not lost?
>
> David
>
> --
> David Green
> VP of Engineering, Tasktop
> Committer, Eclipse Mylyn
> http://tasktop.com
> +1-778-588-6896 ext. 115
>
> _______________________________________________
> mylyn-tasks-dev mailing list
> mylyn-tasks-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/mylyn-tasks-dev
>
>



-- 
Steffen Pingel
Committer, http://eclipse.org/mylyn
Senior Developer, http://tasktop.com


Back to the top