Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mylyn-integrators] No externalizer for query - What did I miss?

Dennis Rietmann wrote:
Thanks for your fast reply. In fact I already had a TaskListFactory but did not override getQueryElementName. Now I simply return "<connector name> Query" and the error doesn't appear anymore. I wonder what this element name is used for, seems like it has something to do with xml externalization (unfortunately there is no javadoc at all)?
 Glad to hear you got it resolved.

You are right, the return value of that method is a name of the XML element used to store your query data. For example, in Bugzilla connector there are two query types, one created from URL and the form based one, so those names should be deterministic and unique between connectors. Also note that you need to add it to the set returned by getQueryElementNames() method. All the logic and interaction between these methods reside in the DelegatingTaskExternalizer class.

Regarding javadocs, there is an open enhancement request scheduled for Mylyn 3.0:

195450: improve documentation for APIs and extension point definitions
https://bugs.eclipse.org/bugs/show_bug.cgi?id=195450

I've submitted a patch there that includes javadocs for the AbstractTaskListFactory class.

 regards,
 Eugene




Back to the top