How can I get the list of the columns of a query using Plain API?
Hi, I've a shared query (an IQueryDescriptor) that I've obtained and used to get the result list (which is the list of work items returned by the query). I would like to know which are the field used in the query as output (the column list to be clear).
How can I obtain them?
Thanks,
Michele.
How can I obtain them?
Thanks,
Michele.
2 answers
In the Eclipse client, the com.ibm.team.workitem.ide.ui.internal.queryeditor.QueryEditorInput has a getConfiguration() method to return com.ibm.team.workitem.ide.ui.internal.queryeditor.QueryEditorConfiguration which has methods like getColumnAttributes(), getDefaultColumns(), getDefaultSortOrder(). Maybe it could help you...
Cheers.
Comments
sam detweiler
May 20 '16, 7:56 a.m.Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER May 20 '16, 8:49 a.m.Michele Pegoraro
May 20 '16, 8:57 a.m.sam detweiler
May 20 '16, 9:14 a.m.